curl --request POST \
--url https://apigcp.trynia.ai/v2/dependencies/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form include_dev_dependencies=false \
--form max_new_indexes=150{
"manifest_type": "<string>",
"total_dependencies": 123,
"results": {
"instant_access": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"wait_for_indexing": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"started_indexing": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"not_found": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"errors": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"skipped": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
]
},
"summary": {
"instant_access": 123,
"wait_for_indexing": 123,
"started_indexing": 123,
"not_found": 123,
"errors": 123,
"skipped": 123
}
}Upload a package manifest file and subscribe to documentation for all dependencies. Accepts multipart form data with the manifest file.
curl --request POST \
--url https://apigcp.trynia.ai/v2/dependencies/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file' \
--form include_dev_dependencies=false \
--form max_new_indexes=150{
"manifest_type": "<string>",
"total_dependencies": 123,
"results": {
"instant_access": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"wait_for_indexing": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"started_indexing": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"not_found": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"errors": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
],
"skipped": [
{
"name": "<string>",
"action": "<string>",
"docs_url": "<string>",
"global_source_id": "<string>",
"namespace": "<string>",
"message": "<string>"
}
]
},
"summary": {
"instant_access": 123,
"wait_for_indexing": 123,
"started_indexing": 123,
"not_found": 123,
"errors": 123,
"skipped": 123
}
}API key must be provided in the Authorization header
Was this page helpful?