그래프 API 버전

Application Uploads

읽기

이 엔드포인트에서 수행할 수 없는 작업입니다.

만들기

Create an upload session.

Upload session IDs returned by this endpoint can be used to upload large files, get the status of an upload session, or resume an interrupted session. See the Resumable Upload API document for complete usage instructions.

Requirements

TypeDescription

Access Tokens

User or System User. The app user who granted the token must have an Administrator or Developer role on the app.

Permissions

None.

다음 경로에서 uploads 에지에 POST 요청을 만들 수 있습니다:
When posting to this edge, no Graph object will be created.

매개변수

매개변수설명
file_length
int64

The file length in bytes

file_name
RegexParam

The name of the file to be uploaded

file_type
RegexParam

The MIME type of the file to be uploaded

session_type
enum {attachment}
기본 값: attachment

The type of upload session that is being requested by the app

반환 유형

Struct {
id: string,
}

오류 코드

오류설명
104Incorrect signature
100Invalid parameter
368The action attempted has been deemed abusive or is otherwise disallowed

업데이트 중

이 엔드포인트에서 수행할 수 없는 작업입니다.

삭제 중

이 엔드포인트에서 수행할 수 없는 작업입니다.