Skip to content

파일 목록 Tier 2

GET/api/projects/:id/filesCopied!

프로젝트의 파일을 반환합니다. 제한된 리뷰어에게는 제한 접근이 명시적으로 허용된 파일만 반환됩니다.

요청

경로

idstringrequired
프로젝트 ID

응답

200 OK를 반환합니다.

dataarray
파일
data[].idstring
파일 ID

Example: 8fe89e5a-1d8f-4302-8437-fb0390ecf8eb

data[].namestring
파일 이름

Example: launch-cut.mp4

data[].descriptionstring?
파일 설명

Example: Final review upload

data[].modestring
파일 소스 모드

Possible values: LOCALYOUTUBE

Example: LOCAL

data[].mimeTypestring?
MIME 타입

Example: video/mp4

data[].statusstring
업로드 상태

Possible values: UPLOADINGUPLOADEDFAILED

Example: UPLOADED

data[].tagstring
리뷰 태그

Possible values: IN_PROGRESSNEED_REVIEWNEED_EDITON_HOLDAPPROVEDREJECTEDCLOSED

Example: NEED_REVIEW

data[].sizenumber
파일 크기(bytes)

Example: 82415032

data[].allowRestrictedboolean
제한된 리뷰어가 이 파일에 접근할 수 있는지 여부

Example: true

data[].ordernumber
표시 순서

Example: 1

data[].folderobject?
상위 폴더. 파일이 프로젝트 루트에 있으면 `null`
data[].folder.idstring
상위 폴더 ID

Example: 4da45fd7-207c-47e7-b7d0-d711a565a901

예시

bash
curl 'https://api.youvico.com/api/projects/bdbff5de-96d7-468f-9db0-85fe28bd6b62/files' \
  -H 'Authorization: Bearer YOUR_API_KEY'
json
{
  "data": [
    {
      "id": "8fe89e5a-1d8f-4302-8437-fb0390ecf8eb",
      "name": "launch-cut.mp4",
      "description": "Final review upload",
      "mode": "LOCAL",
      "mimeType": "video/mp4",
      "status": "UPLOADED",
      "tag": "NEED_REVIEW",
      "size": 82415032,
      "allowRestricted": true,
      "order": 1,
      "folder": {
        "id": "4da45fd7-207c-47e7-b7d0-d711a565a901"
      }
    }
  ]
}