AI Playlist Maker by Soundiiz
AI Playlist Maker by Soundiiz · GPT アクション
Soundiiz Tracklist Import API
Creates a temporary Soundiiz page for reviewing and transferring a generated tracklist.
POST /go/import-playlistCreate a temporary Soundiiz import linkSends a playlist and its tracks to Soundiiz. Returns a temporary shareUrl that the user can open to review and transfer the playlist.
元の API スキーマ
{
"openapi": "3.1.0",
"info": {
"title": "Soundiiz Tracklist Import API",
"description": "Creates a temporary Soundiiz page for reviewing and transferring a generated tracklist.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://soundiiz.com"
}
],
"paths": {
"/go/import-playlist": {
"post": {
"operationId": "createSoundiizImportLink",
"summary": "Create a temporary Soundiiz import link",
"description": "Sends a playlist and its tracks to Soundiiz. Returns a temporary shareUrl that the user can open to review and transfer the playlist.\n",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": false,
"required": [
"title",
"tracklist"
],
"properties": {
"title": {
"type": "string",
"minLength": 1,
"description": "Name of the playlist.",
"example": "Wedding Party Playlist"
},
"sourceName": {
"type": "string",
"description": "Name of the GPT or service generating the playlist.",
"example": "Soundiiz Playlist Generator"
},
"sourceLogo": {
"type": "string",
"format": "uri",
"description": "Optional HTTPS URL of the service logo."
},
"description": {
"type": "string",
"description": "Short description of the generated playlist."
},
"tracklist": {
"type": "array",
"minItems": 1,
"maxItems": 200,
"description": "Tracks to import into Soundiiz.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"title"
],
"properties": {
"title": {
"type": "string",
"minLength": 1,
"description": "Exact track title.",
"example": "Get Lucky"
},
"artists": {
"type": "array",
"description": "Names of the track artists.",
"items": {
"type": "string",
"minLength": 1
},
"example": [
"Daft Punk",
"Pharrell Williams"
]
}
}
}
}
}
}
}
}
},
"responses": {
"200": {
"description": "Import link created or validation error returned.",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"enum": [
"success",
"error"
]
},
"nbTracks": {
"type": "integer",
"description": "Number of accepted tracks."
},
"shareUrl": {
"type": "string",
"format": "uri",
"description": "Temporary Soundiiz import URL."
},
"expiresAt": {
"type": "integer",
"format": "int64",
"description": "Expiration time as a Unix timestamp."
},
"message": {
"type": "string",
"description": "Error message when the request fails."
}
}
}
}
}
},
"400": {
"description": "Invalid request.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string",
"example": "error"
},
"message": {
"type": "string",
"example": "Invalid JSON body."
}
}
}
}
}
}
}
}
}
}
}