메인 콘텐츠로 건너뛰기
GET
/
v2
/
{entity}
/
{project}
/
ops
/
{object_id}
/
versions
/
{digest}
Op 읽기
curl --request GET \
  --url https://api.example.com/v2/{entity}/{project}/ops/{object_id}/versions/{digest} \
  --header 'Authorization: Basic <encoded-value>'
{
  "object_id": "<string>",
  "digest": "<string>",
  "version_index": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "code": "<string>"
}

인증

Authorization
string
header
필수

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

경로 매개변수

entity
string
필수
project
string
필수
object_id
string
필수
digest
string
필수

쿼리 매개변수

eager
boolean
기본값:false

op 코드를 즉시 로드할지 여부

응답

성공적인 응답

Op 객체를 조회할 때 사용하는 응답 모델입니다.

code 필드에는 op의 실제 소스 코드가 포함됩니다.

object_id
string
필수

op ID

digest
string
필수

op의 다이제스트

version_index
integer
필수

이 op의 버전 인덱스

created_at
string<date-time>
필수

이 op가 생성된 시각

code
string
필수

실제 op 소스 코드