Live dinos
Species, growth, vitals, diet and mutations.
POST/api/v1/actions/dino.body_drop
Drop a body next to a player (as if they asked for one)
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
body_id | string | |
species | string | |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.body_drop",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.body_drop" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","body_id":"string","species":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.despawn
Despawn corpses, bones or both everywhere (the staff despawn)
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
mode | any | |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.despawn",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.despawn" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"mode":"corpses","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.fill_diet
Fill carbs, protein and lipids
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.fill_diet",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.fill_diet" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.growth
Set growth (5-100 %)
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
growth * | integer | |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.growth",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.growth" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","growth":0,"reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.growth_freeze
Freeze growth
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.growth_freeze",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.growth_freeze" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.growth_unfreeze
Unfreeze growth
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.growth_unfreeze",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.growth_unfreeze" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.heal
Heal
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.heal",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.heal" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.mutations
Set mutations (own 4, parent 4, elder 8; null keeps a slot)
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
own | any[] | |
parent | any[] | |
elder | any[] | |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.mutations",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.mutations" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","own":[null],"parent":[null],"elder":[null],"reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.nutrients
Set carbs, protein, lipids (0-100)
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
carbs | number | |
protein | number | |
lipids | number | |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.nutrients",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.nutrients" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","carbs":0,"protein":0,"lipids":0,"reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.power
Fun powers: god, stamina, fly, size, mixed_group
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
power * | any | |
value * | any | |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.power",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.power" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","power":"god","value":null,"reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.prime
Make prime / elder
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.prime",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.prime" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.sex
Set sex
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
sex * | any | |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.sex",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.sex" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","sex":"male","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.slay
Slay
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.slay",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.slay" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/dino.vitals
Set health, stamina, blood, hunger, thirst (0-100)
dino:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
health | number | |
stamina | number | |
blood | number | |
hunger | number | |
thirst | number | |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "dino.vitals",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/dino.vitals" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","health":0,"stamina":0,"blood":0,"hunger":0,"thirst":0,"reason":"string"}'
Try it
Add your site and key at the top.
GET/api/v1/dino/{steam_id}
A player's live dinosaur: species, growth, vitals, diet, mutations, prime/elder, sex
dino:read
Position is never here: GET /api/v1/dino/{steam_id}/position needs location:read.
Parameters
steam_id * | path · string | Full Steam ID (17 digits) |
Answers
200OK
{
"in_game": true,
"dino": {
"species": "Tyrannosaurus",
"growth_percent": 75,
"sex": "female"
}
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl "https://your-site.com/api/v1/dino/{steam_id}" \
-H "Authorization: Bearer $SEQUENCE_KEY"
Try it
GET/api/v1/dino/{steam_id}/position
A player's live position (needs location:read)
dino:readlocation:read
Parameters
steam_id * | path · string | Full Steam ID (17 digits) |
Answers
200OK
{
"in_game": true,
"x": 12345.6,
"y": -9876.5,
"yaw": 90,
"species": "Rex",
"at": 1761955200
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl "https://your-site.com/api/v1/dino/{steam_id}/position" \
-H "Authorization: Bearer $SEQUENCE_KEY"
Try it