TINA - Time Interface Navigational AI
TINA - Time Interface Navigational AI · Acciones GPT
timesplit multiverse - OpenAPI 3.0.1
PUT /agentUpdate an existing agentUpdate an existing agent by Id
POST /agentAdd a new agent to the timelineAdd a new agent to the timeline
GET /agent/findByStatusFinds agents by statusMultiple status values can be provided with comma separated strings
GET /agent/findByTagsFinds agents by tagsMultiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
GET /agent/{agentId}Find agent by IDReturns a single agent
POST /agent/{agentId}Updates an agent with form dataPOST /agent/{agentId}/uploadImageuploads an imagePUT /timelineUpdate an existing timelineUpdate an existing timeline by Id
POST /timelineAdd a new timeline to the multiverseAdd a new timeline to the multiverse
GET /timeline/{timelineId}Find timeline by IDReturns a single timeline
PUT /timeline/{timelineId}Update a timelineUpdate an existing timeline
DELETE /timeline/{timelineId}Deletes a timelineDelete a timeline
GET /xyzteventList all xyzteventsReturns a list of all xyztevents
POST /xyzteventAdd a new xyzteventAdd a new event to the xyztevent list
GET /xyztevent/{xyzteventId}Find xyztevent by IDReturns a single xyztevent
PUT /xyztevent/{xyzteventId}Update an existing xyzteventUpdate an existing xyztevent by Id
DELETE /xyztevent/{xyzteventId}Deletes a xyzteventDelete a xyztevent
POST /admin/initializeInitialize the multiverse stateInitialize the multiverse state from a provided YAML or JSON file
GET /admin/timelineGraph/{timelineId}Get the graph of a timelineReturns an ASCII representation of the timeline graph
Esquema original API
{
"openapi": "3.0.1",
"info": {
"title": "timesplit multiverse - OpenAPI 3.0.1",
"description": "",
"termsOfService": "https://leetme.in/terms/",
"contact": {
"email": "apiteam@leetme.in"
},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.0.11"
},
"externalDocs": {
"description": "Find out more about Swagger",
"url": "https://leetme.in"
},
"servers": [
{
"url": "https://leetme.in/api/v3"
}
],
"tags": [
{
"name": "agent",
"description": "Everything about your agents",
"externalDocs": {
"description": "Find out more",
"url": "https://leetme.in"
}
},
{
"name": "timeline",
"description": "Access to multiverse timelocs",
"externalDocs": {
"description": "Find out more about our timeline",
"url": "https://leetme.in"
}
},
{
"name": "xyztevent",
"description": "Operations about xyztevent"
},
{
"name": "admin",
"description": "Administrative operations"
}
],
"paths": {
"/agent": {
"put": {
"tags": [
"agent"
],
"summary": "Update an existing agent",
"description": "Update an existing agent by Id",
"operationId": "updateagent",
"requestBody": {
"description": "Update an existent agent in the timeline",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/agent"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/agent"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/agent"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/agent"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/agent"
}
}
}
},
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Agent not found"
},
"405": {
"description": "Validation exception"
}
},
"x-swagger-router-controller": "Agent"
},
"post": {
"tags": [
"agent"
],
"summary": "Add a new agent to the timeline",
"description": "Add a new agent to the timeline",
"operationId": "addagent",
"requestBody": {
"description": "Create a new agent in the timeline",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/agent"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/agent"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/agent"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/agent"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/agent"
}
}
}
},
"405": {
"description": "Invalid input"
}
},
"x-swagger-router-controller": "Agent"
}
},
"/agent/findByStatus": {
"get": {
"tags": [
"agent"
],
"summary": "Finds agents by status",
"description": "Multiple status values can be provided with comma separated strings",
"operationId": "findagentsByStatus",
"parameters": [
{
"name": "status",
"in": "query",
"description": "Status values that need to be considered for filter",
"required": false,
"style": "form",
"explode": true,
"schema": {
"type": "string",
"default": "available",
"enum": [
"available",
"pending",
"sold"
]
}
}
],
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/agent"
},
"x-content-type": "application/json"
}
},
"application/xml": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/agent"
}
}
}
}
},
"400": {
"description": "Invalid status value"
}
},
"security": [
{
"multiverse_auth": [
"write:agents",
"read:agents"
]
}
],
"x-swagger-router-controller": "Agent"
}
},
"/agent/findByTags": {
"get": {
"tags": [
"agent"
],
"summary": "Finds agents by tags",
"description": "Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
"operationId": "findagentsByTags",
"parameters": [
{
"name": "tags",
"in": "query",
"description": "Tags to filter by",
"required": false,
"style": "form",
"explode": true,
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
],
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/agent"
},
"x-content-type": "application/json"
}
},
"application/xml": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/agent"
}
}
}
}
},
"400": {
"description": "Invalid tag value"
}
},
"security": [
{
"multiverse_auth": [
"write:agents",
"read:agents"
]
}
],
"x-swagger-router-controller": "Agent"
}
},
"/agent/{agentId}": {
"get": {
"tags": [
"agent"
],
"summary": "Find agent by ID",
"description": "Returns a single agent",
"operationId": "getagentById",
"parameters": [
{
"name": "agentId",
"in": "path",
"description": "ID of agent to return",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/agent"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/agent"
}
}
}
},
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Agent not found"
}
},
"security": [
{
"multiverse_auth": [
"write:agents",
"read:agents"
]
}
],
"x-swagger-router-controller": "Agent"
},
"post": {
"tags": [
"agent"
],
"summary": "Updates an agent with form data",
"description": "",
"operationId": "updateagentWithForm",
"parameters": [
{
"name": "agentId",
"in": "path",
"description": "ID of agent that needs to be updated",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/agent_agentId_body"
}
}
},
"required": true
},
"responses": {
"405": {
"description": "Invalid input"
}
},
"security": [
{
"multiverse_auth": [
"write:agents"
]
}
],
"x-swagger-router-controller": "Agent"
}
},
"/agent/{agentId}/uploadImage": {
"post": {
"tags": [
"agent"
],
"summary": "uploads an image",
"description": "",
"operationId": "uploadFile",
"parameters": [
{
"name": "agentId",
"in": "path",
"description": "ID of agent to update",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/agentId_uploadImage_body"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "successful operation"
}
},
"security": [
{
"multiverse_auth": [
"write:agents"
]
}
],
"x-swagger-router-controller": "Agent"
}
},
"/timeline": {
"put": {
"tags": [
"timeline"
],
"summary": "Update an existing timeline",
"description": "Update an existing timeline by Id",
"operationId": "updatetimeline",
"requestBody": {
"description": "Update an existent timeline in the multiverse",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
}
}
},
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Timeline not found"
},
"405": {
"description": "Validation exception"
}
},
"security": [
{
"multiverse_auth": [
"write:timelines",
"read:timelines"
]
}
],
"x-swagger-router-controller": "Timeline"
},
"post": {
"tags": [
"timeline"
],
"summary": "Add a new timeline to the multiverse",
"description": "Add a new timeline to the multiverse",
"operationId": "addtimeline",
"requestBody": {
"description": "Create a new timeline in the multiverse",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
}
}
},
"405": {
"description": "Invalid input"
}
},
"security": [
{
"multiverse_auth": [
"write:timelines"
]
}
],
"x-swagger-router-controller": "Timeline"
}
},
"/timeline/{timelineId}": {
"get": {
"tags": [
"timeline"
],
"summary": "Find timeline by ID",
"description": "Returns a single timeline",
"operationId": "gettimelineById",
"parameters": [
{
"name": "timelineId",
"in": "path",
"description": "ID of timeline to return",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
}
}
},
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Timeline not found"
}
},
"security": [
{
"multiverse_auth": [
"write:timelines",
"read:timelines"
]
}
],
"x-swagger-router-controller": "Timeline"
},
"put": {
"tags": [
"timeline"
],
"summary": "Update a timeline",
"description": "Update an existing timeline",
"operationId": "updatetimelineById",
"parameters": [
{
"name": "timelineId",
"in": "path",
"description": "ID of timeline that needs to be updated",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"requestBody": {
"description": "Updated timeline object",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/timeline"
}
}
},
"required": true
},
"responses": {
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Timeline not found"
},
"405": {
"description": "Validation exception"
}
},
"security": [
{
"multiverse_auth": [
"write:timelines"
]
}
],
"x-swagger-router-controller": "Timeline"
},
"delete": {
"tags": [
"timeline"
],
"summary": "Deletes a timeline",
"description": "Delete a timeline",
"operationId": "deletetimeline",
"parameters": [
{
"name": "timelineId",
"in": "path",
"description": "Timeline id to delete",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Timeline not found"
}
},
"security": [
{
"multiverse_auth": [
"write:timelines"
]
}
],
"x-swagger-router-controller": "Timeline"
}
},
"/xyztevent": {
"get": {
"tags": [
"xyztevent"
],
"summary": "List all xyztevents",
"description": "Returns a list of all xyztevents",
"operationId": "listxyztevents",
"responses": {
"200": {
"description": "A list of xyztevents.",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/xyztevent"
},
"x-content-type": "application/json"
}
}
}
}
},
"security": [
{
"multiverse_auth": [
"read:xyztevents"
]
}
],
"x-swagger-router-controller": "Xyztevent"
},
"post": {
"tags": [
"xyztevent"
],
"summary": "Add a new xyztevent",
"description": "Add a new event to the xyztevent list",
"operationId": "addxyztevent",
"requestBody": {
"description": "xyztevent to add",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/xyztevent"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "xyztevent created"
}
},
"security": [
{
"multiverse_auth": [
"write:xyztevents"
]
}
],
"x-swagger-router-controller": "Xyztevent"
}
},
"/xyztevent/{xyzteventId}": {
"get": {
"tags": [
"xyztevent"
],
"summary": "Find xyztevent by ID",
"description": "Returns a single xyztevent",
"operationId": "getxyzteventById",
"parameters": [
{
"name": "xyzteventId",
"in": "path",
"description": "ID of xyztevent to return",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/xyztevent"
}
}
}
},
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "xyztevent not found"
}
},
"security": [
{
"multiverse_auth": [
"write:xyztevents",
"read:xyztevents"
]
}
],
"x-swagger-router-controller": "Xyztevent"
},
"put": {
"tags": [
"xyztevent"
],
"summary": "Update an existing xyztevent",
"description": "Update an existing xyztevent by Id",
"operationId": "updatexyztevent",
"parameters": [
{
"name": "xyzteventId",
"in": "path",
"description": "ID of xyztevent that needs to be updated",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"requestBody": {
"description": "Updated xyztevent object",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/xyztevent"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/xyztevent"
}
}
},
"required": true
},
"responses": {
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "xyztevent not found"
},
"405": {
"description": "Validation exception"
}
},
"security": [
{
"multiverse_auth": [
"write:xyztevents"
]
}
],
"x-swagger-router-controller": "Xyztevent"
},
"delete": {
"tags": [
"xyztevent"
],
"summary": "Deletes a xyztevent",
"description": "Delete a xyztevent",
"operationId": "deletexyztevent",
"parameters": [
{
"name": "xyzteventId",
"in": "path",
"description": "xyztevent id to delete",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "xyztevent not found"
}
},
"security": [
{
"multiverse_auth": [
"write:xyztevents"
]
}
],
"x-swagger-router-controller": "Xyztevent"
}
},
"/admin/initialize": {
"post": {
"tags": [
"admin"
],
"summary": "Initialize the multiverse state",
"description": "Initialize the multiverse state from a provided YAML or JSON file",
"operationId": "initializeMultiverse",
"requestBody": {
"description": "YAML or JSON file containing the initial state of the multiverse",
"content": {
"application/json": {
"schema": {
"type": "object"
}
},
"application/x-yaml": {
"schema": {
"type": "object"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Multiverse initialized successfully"
},
"400": {
"description": "Invalid file format or content"
}
},
"security": [
{
"multiverse_auth": [
"write:admin"
]
}
],
"x-swagger-router-controller": "Admin"
}
},
"/admin/timelineGraph/{timelineId}": {
"get": {
"tags": [
"admin"
],
"summary": "Get the graph of a timeline",
"description": "Returns an ASCII representation of the timeline graph",
"operationId": "getTimelineGraph",
"parameters": [
{
"name": "timelineId",
"in": "path",
"description": "ID of the timeline to generate graph for",
"required": true,
"style": "simple",
"explode": false,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "Graph generated successfully",
"content": {
"text/plain": {
"schema": {
"type": "string",
"x-content-type": "text/plain"
}
}
}
},
"404": {
"description": "Timeline not found"
}
},
"security": [
{
"multiverse_auth": [
"read:admin"
]
}
],
"x-swagger-router-controller": "Admin"
}
}
},
"components": {
"schemas": {
"agent": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"status": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
},
"example": {
"name": "name",
"id": 0,
"status": "status",
"tags": [
"tags",
"tags"
]
}
},
"timeline": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
}
},
"example": {
"name": "name",
"id": 0,
"state": "state"
}
},
"xyztevent": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"date": {
"type": "string",
"format": "date-time"
}
},
"example": {
"date": "2000-01-23T04:56:07.000Z",
"name": "name",
"description": "description",
"id": 0
}
},
"agent_agentId_body": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"status": {
"type": "string"
}
}
},
"agentId_uploadImage_body": {
"type": "object",
"properties": {
"additionalMetadata": {
"type": "string"
},
"file": {
"type": "string",
"format": "binary"
}
}
}
}
}
}