環境一覧取得
- Print
- PDF
環境一覧取得
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Get
/api/environments
Security
API Key: ApiKeyAuth
Header parameter nameAuthorization
認証キーとなるAPI KEYをAuthorization: Token {{API KEY}}の形式でヘッダーにセットします。
API KEYがabc123の場合は、Authorization: Token abc123とします。
API KEYの作成方法は、trocco APIについてを参照ください。
Query parameters
limit
integer (int64)
取得する環境の最大件数
Maximum200
Default50
cursor
string
取得する環境一覧の最初のレコードを示すページネーションカーソル
レスポンスに含まれるnext_cursorをセットすると、後続の環境一覧を取得できます。
ExampleeyJpZCI6MjF9
environment_group_id
integer (int64)
環境グループIDで絞り込み
Example1
Responses
200
環境一覧を返します。
object
items
Array of object
object
id
integer (int64)
環境ID
Example1
environment_group_id
integer (int64)
環境グループID
Example1
name
string
環境名
Example本番環境
created_at
string
環境の作成日時
Example2023-08-23T03:00:00.000+09:00
updated_at
string
環境の更新日時
Example2023-08-23T03:00:00.000+09:00
next_cursor
string
後続のページネーションリクエストの取得開始レコードを示すカーソル値です。
401
Not authenticated.
認証エラーです。API KEYをご確認ください。
Was this article helpful?