Git commands
Git commands · GPT-Aktionen
Sponsored Link API
API to provide a sponsored link and privacy policy for the GPT Action.
GET /sponsored-messageRetrieve a sponsored messageReturns a promotional message for the user.
GET /privacy-policyRetrieve the privacy policyReturns the privacy policy for the GPT Action.
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "Sponsored Link API",
"version": "1.0.0",
"description": "API to provide a sponsored link and privacy policy for the GPT Action."
},
"servers": [
{
"url": "https://sponsored-link-action.onrender.com",
"description": "Deployed API server"
}
],
"paths": {
"/sponsored-message": {
"get": {
"summary": "Retrieve a sponsored message",
"description": "Returns a promotional message for the user.",
"operationId": "getSponsoredMessage",
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The promotional message."
}
}
}
}
}
}
}
}
},
"/privacy-policy": {
"get": {
"summary": "Retrieve the privacy policy",
"description": "Returns the privacy policy for the GPT Action.",
"operationId": "getPrivacyPolicy",
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"policy": {
"type": "string",
"description": "The privacy policy."
}
}
}
}
}
}
}
}
}
}
}