Upload file πŸ“₯

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api-doc.ppe-analytics.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Deck API MCP server": {
  "url": "https://api-doc.ppe-analytics.com/mcp"
}
Close
POST /upload/{container_uuid}

Use this endpoint to upload a file to secured Deck container. The container must exist in order to upload the file. Note that this endpoint does not provide any read access to prior file versions.

Path parameters

  • container_uuid Required

    The uuid of the container as provided in Deck administration interface

multipart/form-data

Body

  • file string(binary)

Responses

  • 200 application/json

    Valid upload

    Hide response attributes Show response attributes object
    • status string
    • message string
  • 404 application/json

    Invalid upload

    Hide response attributes Show response attributes object
    • status string
    • message string
POST /upload/{container_uuid}
curl \
 --request POST 'https://api.ppe-analytics.com/api/v1/upload/{container_uuid}' \
 --header "PPEApiKey: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --form "file=@file"
Response examples (200)
{
  "status": "OK",
  "message": "File correctly uploaded to container 'a73ba5b9-498a-4b96-a766-5588d16ada3e' as version 4"
}
Response examples (404)
{
  "status": "ERROR",
  "message": "Unknown container id 'plop'"
}