summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/agent_token.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/agent_token.json')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/agent_token.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/agent_token.json b/spec/fixtures/api/schemas/public_api/v4/agent_token.json
new file mode 100644
index 00000000000..8251ddd4de1
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/agent_token.json
@@ -0,0 +1,24 @@
+{
+ "type": "object",
+ "required": [
+ "id",
+ "name",
+ "description",
+ "agent_id",
+ "status",
+ "created_at",
+ "created_by_user_id",
+ "last_used_at"
+ ],
+ "properties": {
+ "id": { "type": "integer" },
+ "name": { "type": "string" },
+ "description": { "type": ["string", "null"] },
+ "agent_id": { "type": "integer" },
+ "status": { "type": "string" },
+ "created_at": { "type": "string", "format": "date-time" },
+ "created_by_user_id": { "type": "integer" },
+ "last_used_at": { "type": ["string", "null"], "format": "date-time" }
+ },
+ "additionalProperties": false
+}