mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
44 lines
961 B
JSON
44 lines
961 B
JSON
|
{
|
||
|
"get": {
|
||
|
"summary": "My Agent Details",
|
||
|
"tags": [
|
||
|
"agents"
|
||
|
],
|
||
|
"responses": {
|
||
|
"200": {
|
||
|
"description": "OK",
|
||
|
"content": {
|
||
|
"application/json": {
|
||
|
"schema": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"data": {
|
||
|
"$ref": "../../models/Agent.yaml"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"examples": {
|
||
|
"Agent": {
|
||
|
"value": {
|
||
|
"data": {
|
||
|
"accountId": "cl0hok34m0003ks0jjql5q8f2",
|
||
|
"symbol": "EMBER",
|
||
|
"headquarters": "X1-OE-PM",
|
||
|
"credits": 0
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"operationId": "get-my-agent",
|
||
|
"security": [
|
||
|
{
|
||
|
"AgentToken": []
|
||
|
}
|
||
|
],
|
||
|
"description": "Fetch your agent's details."
|
||
|
}
|
||
|
}
|