Skip to main content

Query - 파일 정보 조회

파일 상세 정보를 조회한다.


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
idID파일 고유 아이디
fullPathString조회 파일 경로 (필수)
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
FsEntityDto폴더 / 파일 정보

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

query file($id: ID, $fullPath: String!, $adminPage: Boolean) {
file(id: $id, fullPath: $fullPath, adminPage: $adminPage) {
id
indexDate
deleteKey
storageId
interlockId
realPath
displayPath
storageEntityId
type
realName
displayName
description
tag
size
createdDate
createdUserId
createdUserName
modifiedDate
modifiedUserId
modifiedUserName
status
statusReqDate
statusResDate
fileInfo {
type
hash
contents
revision
revisionWeight
encrypted
thumbs
extractionStatus
extractionMsg
extractionReqDate
extractionResDate
__typename
}
acl {
id
targetType
targetId
authFlag
order
refernceId
__typename
}
favorited
subscribed
accessDate
__typename
}
}

Sample

VARIABLES

{
"fullPath": "/folder/NAS/[한국정보인증] OTP 사용자 매뉴얼_GT4.1_v1.3.pptx",
"adminPage": false
}

RESPONSE

{
"data": {
"file": {
"id": "aa289990446011ed8963ced1badd708e",
"indexDate": 1676276831831,
"deleteKey": "",
"storageId": "NAS",
"interlockId": "M_NAS_a4739022d7d711ecb289c25abb0846ce",
"realPath": "/shieldrive_folder/e0/aa0077e0446011ed894d835201275b98",
"displayPath": "/folder/NAS",
"storageEntityId": null,
"type": 1,
"realName": "aa0077e0446011ed894d835201275b98.pptx",
"displayName": "[한국정보인증] OTP 사용자 매뉴얼_GT4.1_v1.3.pptx",
"description": "",
"tag": "",
"size": 4819093,
"createdDate": 1664941748069,
"createdUserId": "fec15f44ed1e11eca2d0222882d38687",
"createdUserName": "user1",
"modifiedDate": 1664941748069,
"modifiedUserId": "fec15f44ed1e11eca2d0222882d38687",
"modifiedUserName": "user1",
"status": 1,
"statusReqDate": 1664941748069,
"statusResDate": 1664941753122,
"fileInfo": {
"type": "slide",
"hash": "2d6313f54d19e34e132abb8b7b7e63ce8add8651ee5165f434b2121114813a6b",
"contents": "",
"revision": "1.0.0",
"revisionWeight": 100000000,
"encrypted": false,
"thumbs": [
"https://devwebdav.softcamp.co.kr/sd_thumb/3CJ55MSE-xLO7Sxt4-qUBKzbcs-XP2cgGEq/aa289990446011ed8963ced1badd708e/1.0.0/1.jpg"
],
"extractionStatus": 1,
"extractionMsg": "extraction success",
"extractionReqDate": 1676276807518,
"extractionResDate": 1676276831785,
"__typename": "FsEntityFileInfoDto"
},
"acl": {
"id": "aa764465446011ed8963ced1badd708e",
"targetType": 2,
"targetId": "wEtnSvSC-4LfiPOBO-p1U9SafN-oMWNA33V",
"authFlag": 15,
"order": 2,
"refernceId": "3a0ad94c2da011edb82afa7c5f9e51c1",
"__typename": "FsEntityAclDto"
},
"favorited": false,
"subscribed": false,
"accessDate": 1670828415761,
"__typename": "FsEntityDto"
}
}
}