mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
70 lines
1.6 KiB
JSON
70 lines
1.6 KiB
JSON
{
|
|
"get": {
|
|
"tags": ["Releases"],
|
|
"description": "List a project release's commits.",
|
|
"operationId": "List a Project Release's Commits",
|
|
"parameters": [
|
|
{
|
|
"name": "organization_slug",
|
|
"in": "path",
|
|
"description": "The slug of the organization the release belongs to.",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "project_slug",
|
|
"in": "path",
|
|
"description": "The slug of the project the release belongs to.",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "version",
|
|
"in": "path",
|
|
"description": "The version identifier of the release.",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "../../components/schemas/releases/commit.json#/MinimalCommit"
|
|
}
|
|
},
|
|
"example": [
|
|
{
|
|
"dateCreated": "2018-11-06T21:19:58.536Z",
|
|
"id": "acbafc639127fd89d10f474520104517ff1d709e",
|
|
"message": "Initial commit from Create Next App"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"403": {
|
|
"description": "Forbidden"
|
|
},
|
|
"404": {
|
|
"description": "Not Found"
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"auth_token": ["project:releases"]
|
|
}
|
|
]
|
|
}
|
|
}
|