Comic Banter Artist
Comic Banter Artist · Acciones GPT
AdLinks API
API for interacting with advertisement links based on user queries and demographics.
POST /Ad_linksPosts data to retrieve advertisement links based on query, user info, and chatbot ID.
Esquema original API
{
"openapi": "3.0.0",
"info": {
"title": "AdLinks API",
"description": "API for interacting with advertisement links based on user queries and demographics.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://links.superu.ai",
"description": "Main API server"
}
],
"paths": {
"/Ad_links": {
"post": {
"operationId": "postAdLinks",
"summary": "Posts data to retrieve advertisement links based on query, user info, and chatbot ID.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"query",
"chatbot_id"
],
"properties": {
"query": {
"type": "string",
"description": "The search query to find relevant ad links."
},
"user_info": {
"type": "object",
"properties": {
"gender": {
"type": "string",
"description": "The gender of the user to tailor ad links."
},
"Age": {
"type": "string",
"description": "The age of the user, as a string."
},
"City": {
"type": "string",
"description": "The city of the user to provide location-specific ad links."
}
}
},
"chatbot_id": {
"type": "string",
"description": "Unique identifier for the chatbot initiating the request. This is a constant value.",
"enum": [
"ED764CB1D2"
],
"default": "ED764CB1D2"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"ad_links": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of ad links relevant to the query, user info, and chatbot ID."
}
}
}
}
}
},
"400": {
"description": "Bad Request"
},
"500": {
"description": "Internal Server Error"
}
}
}
}
}
}