메인 콘텐츠로 건너뛰기
POST
/
obj
/
read
객체 조회
curl --request POST \
  --url https://api.example.com/obj/read \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "object_id": "<string>",
  "digest": "<string>",
  "metadata_only": false
}
'
{
  "obj": {
    "project_id": "<string>",
    "object_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "digest": "<string>",
    "version_index": 123,
    "is_latest": 123,
    "kind": "<string>",
    "base_object_class": "<string>",
    "val": "<unknown>",
    "deleted_at": "2023-11-07T05:31:56Z",
    "leaf_object_class": "<string>",
    "wb_user_id": "<string>",
    "size_bytes": 123
  }
}

인증

Authorization
string
header
필수

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

본문

application/json
project_id
string
필수
object_id
string
필수
digest
string
필수
metadata_only
boolean | null
기본값:false

true인 경우 데이터베이스에서 val 컬럼을 읽지 않아 비어 있게 됩니다. 나머지 모든 필드는 반환됩니다.

응답

성공 응답

obj
ObjSchema · object
필수