メインコンテンツへスキップ
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 の実際のソースコード