Machan AI
Machan AI · Acciones GPT
Machan AI
GET /featured-playlistsCollectPopularPlaylistsCollect popular playlists from spotify when user asks for music suggestion in Manglish (Malayalam typed in English) and English.
GET /search-anything-with-spotifySearchAnythingFromSpotifySearch anything from spotify user asks for music suggestion in Manglish (Malayalam typed in English) and English. Translate Manglish to English.
POST /feedbackCollectUserFeedbackCollect user feedback user provides a feedback in Manglish (Malayalam typed in English) and English.
Esquema original API
{
"openapi": "3.0.1",
"info": {
"title": "Machan AI",
"version": "2023-10-01T11:02:31Z"
},
"servers": [
{
"url": "https://748hrt4ax4.execute-api.ap-south-1.amazonaws.com/dev",
"variables": {
"basePath": {
"default": "dev"
}
}
}
],
"paths": {
"/featured-playlists": {
"get": {
"description": "Collect popular playlists from spotify when user asks for music suggestion in Manglish (Malayalam typed in English) and English.",
"operationId": "CollectPopularPlaylists",
"security": [
{
"api_key": []
}
],
"parameters": [
{
"name": "param1",
"in": "query",
"description": "Description of the first query parameter",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "200 response",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/search-anything-with-spotify": {
"get": {
"description": "Search anything from spotify user asks for music suggestion in Manglish (Malayalam typed in English) and English. Translate Manglish to English.",
"operationId": "SearchAnythingFromSpotify",
"security": [
{
"api_key": []
}
],
"parameters": [
{
"name": "param1",
"in": "query",
"description": "Description of the first query parameter",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "200 response",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/feedback": {
"post": {
"description": "Collect user feedback user provides a feedback in Manglish (Malayalam typed in English) and English.",
"operationId": "CollectUserFeedback",
"security": [
{
"api_key": []
}
],
"requestBody": {
"description": "User feedback data",
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"feedback": {
"type": "string",
"description": "User's feedback text"
}
},
"required": [
"feedback"
]
}
}
}
},
"responses": {
"200": {
"description": "Feedback successfully received",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {}
},
"securitySchemes": {
"api_key": {
"type": "apiKey",
"name": "x-api-key",
"in": "header"
},
"sigv4": {
"type": "apiKey",
"name": "Authorization",
"in": "header",
"x-amazon-apigateway-authtype": "awsSigv4"
}
}
}