File Baby
File Baby · Ações GPT
C2PA API
This is the API for managing C2PA manifests.
POST /api/manifestRetrieve ManifestThis endpoint is used for retrieving a manifest.
Esquema API original
{
"openapi": "3.0.3",
"info": {
"title": "C2PA API",
"description": "This is the API for managing C2PA manifests.",
"version": "1.0.0",
"contact": {
"name": "File Baby Support",
"url": "https://file.baby/support",
"email": "support@file.baby"
},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
}
},
"servers": [
{
"url": "https://paybots-claim-engine.azurewebsites.net",
"description": "Production server"
}
],
"paths": {
"/api/manifest": {
"post": {
"summary": "Retrieve Manifest",
"description": "This endpoint is used for retrieving a manifest.",
"operationId": "addManifest",
"tags": [
"Manifest"
],
"requestBody": {
"description": "A file to retrieve the manifest from.",
"required": true,
"content": {
"multipart/form-data": {
"schema": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Manifest successfully retrieved",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ManifestResponse"
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"ManifestResponse": {
"type": "object",
"properties": {
"message": {
"type": "string",
"example": "Manifest retrieved successfully."
}
}
},
"Error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
}
}
}
}
}
}