Skip to main content

Query - 최근 사용 파일 조회

최근 사용한 파일을 조회한다.


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
typeString파일 타입
sizeInt조회할 수
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
UserAccessDto사용 정보

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

query recentFiles($type: String, $size: Int, $adminPage: Boolean) {
recentFiles(type: $type, size: $size, adminPage: $adminPage) {
id
indexDate
accessDate
userId
entityId
entityType
fileType
entityName
entityDisplayPath
__typename
}
}

Sample

VARIABLES

{
"type": "",
"size": 2,
"adminPage": false
}

RESPONSE

{
"data": {
"recentFiles": [
{
"id": "0c96cbd7a8fb11ed8363a27f12cdf977",
"indexDate": 1676003171982,
"accessDate": 1676003171982,
"userId": "1342ce6d6aea11ed8a7ebea82d4a5658",
"entityId": "0cfb1cfc0ee011ed9bafea52a378a89a",
"entityType": 1,
"fileType": "cell",
"entityName": "열람테스트.xlsx",
"entityDisplayPath": "/folder/SHAREPOINT/TEST",
"__typename": "UserAccessDto"
},
{
"id": "c3b3bd10a8fa11ed8363a27f12cdf977",
"indexDate": 1676003049698,
"accessDate": 1676003049698,
"userId": "1342ce6d6aea11ed8a7ebea82d4a5658",
"entityId": "4f72a360fb6e11ec89f7520b07042491",
"entityType": 1,
"fileType": "slide",
"entityName": "TEST000.pptx",
"entityDisplayPath": "/folder/SHAREPOINT/TEST",
"__typename": "UserAccessDto"
}
]
}
}