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
}
}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
}
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Successful Response
Show child attributes
Was this page helpful?