콘텐츠로 이동

Read your Patch Notes chain and direct children

GET
/api/runs/{id}/patch-notes
curl --request GET \
--url https://coggs.ai/api/runs/example/patch-notes \
--header 'Authorization: Bearer <token>'
id
required
string

Read your Patch Notes chain and direct children

Media typeapplication/json
object
notes
required
Array<object>
object
run
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
parentRun
required
Any of:
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
parentSide
required
Any of:
string
Allowed values: left right
prompt
required
string
state
required
string
Allowed values: queued booting running done cancelled failed
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
systemsAdded
required

Game Systems this Patch added to its parent run.

Array<string>
unique items
Allowed values: settings achievements local-high-scores health save-game leveling currency inventory equipment loot-tables wave-spawner quests bestiary pets platformer-controller turn-manager base-building crafting
systemsRemoved
required

Game Systems this Patch removed from its parent run.

Array<string>
unique items
Allowed values: settings achievements local-high-scores health save-game leveling currency inventory equipment loot-tables wave-spawner quests bestiary pets platformer-controller turn-manager base-building crafting

Example

{
"notes": [
{
"parentSide": "left",
"state": "queued",
"systemsAdded": [
"settings"
],
"systemsRemoved": [
"settings"
]
}
]
}

Invalid request.

Sign-in required.

The resource is unavailable to this caller.