Web Methods Documents API
The Documents API from Web Methods — 2 operation(s) for documents.
The Documents API from Web Methods — 2 operation(s) for documents.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/web-methods:web-methods-documents-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Web Methods Documents API
version: '11.0'
description: 'Operations tagged Documents across 2 of this provider''s published API definitions: apigateway-DocumentManagement.json, web-methods-api-gateway-documentmanagement-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
tags:
- name: Documents
paths:
/documents:
post:
operationId: storeDocument
responses:
'200':
description: This status code indicates that the given document has been stored successfully in API Gateway.
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentResponse'
example: "{\n\t\"id\": \"be9147a8-6e53-4472-b1bd-16337a84d314\"\n}"
'400':
description: This status code indicates invalid request or bad input.
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
'404':
description: This status code indicates that the requested resource is not found.
'405':
description: This status code indicates that the requested HTTP method is not supported for the resource.
'500':
description: This status code indicates an error occurred while storing the given document in API Gateway.
security:
- Basic: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Document'
description: The request payload to store the document in API Gateway.
required: true
tags:
- Documents
summary: Store document
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/documents/{documentId}:
get:
description: Retrieves the requested document from API Gateway
operationId: getDocument
parameters:
- name: documentId
in: path
description: The unique identifier of the document for retrieving from API Gateway.
required: true
x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
schema:
type: string
responses:
'200':
description: This status code indicates that the given document has been retrieved successfully from API Gateway.
content:
application/json:
schema:
$ref: '#/components/schemas/Document'
example: "{\n\t\"documents\": [{\n\t\t\"id\": \"c98c7290-bc68-4da3-a39e-545c714e75bc\",\n\t\t\"fileName\": \"SamplePowerpoint.pptx\",\n\t\t\"displayName\": \"How to upload documents to the store?\",\n\t\t\"fileContent\": \"data:application/vnd.openxmlformats-officedocument.presentationml.presentation;base64,UEsDBBQABgAIAAAAIQD93q/s6gEAAFIPAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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S54bWwucmVsc4SPwQrCMBBE74L/EPZuUj2ISFMvIgieRDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALyVz06EMBDG7ya+A+ldCuw/NVv2Ykz2YGJ0fYAKAzSWtmnrKm9vw67Ibjb10nAhmaH95pePmWG9+W55tAdtmBQEpXGCIhCFLJmoCXrbPd7coshYKkrKpQKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooo\"\n\t}]\n}"
'400':
description: This status code indicates invalid request or bad input.
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
'404':
description: This status code indicates that the requested resource is not found.
'405':
description: This status code indicates that the requested HTTP method is not supported for the resource.
'500':
description: This status code indicates an error occurred while retrieving the given document from API Gateway.
security:
- Basic: []
tags:
- Documents
summary: Get document
x-summary-source: derived
put:
operationId: updateDocumentContent
parameters:
- name: documentId
in: path
description: The unique identifier of the document to update
required: true
x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
schema:
type: string
responses:
'200':
description: This status code indicates that the given document has been updated successfully in API Gateway.
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentResponse'
example: "{\n\t\"id\": \"be9147a8-6e53-4472-b1bd-16337a84d314\"\n}"
'400':
description: This status code indicates invalid request or bad input.
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
'404':
description: This status code indicates that the requested resource is not found.
'405':
description: This status code indicates that the requested HTTP method is not supported for the resource.
'500':
description: This status code indicates an error occurred while updating the given document in API Gateway.
security:
- Basic: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Document'
description: The request payload to update the document in API Gateway.
required: true
tags:
- Documents
summary: Update document content
x-summary-source: derived
delete:
description: Deletes the stored document from API Gateway
operationId: deleteDocument
parameters:
- name: documentId
in: path
description: Id of the document for deletion
required: true
x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
schema:
type: string
responses:
'200':
description: This status code indicates that the given document has been deleted successfully from API Gateway.
'400':
description: This status code indicates invalid request or bad input.
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
'404':
description: This status code indicates that the requested resource is not found.
'405':
description: This status code indicates that the requested HTTP method is not supported for the resource.
'500':
description: This status code indicates an error occurred while deleting the given document from API Gateway.
security:
- Basic: []
tags:
- Documents
summary: Delete document
x-summary-source: derived
patch:
operationId: patchDocument
parameters:
- name: documentId
in: path
description: The unique identifier of the document to be patched.
required: true
x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
schema:
type: string
responses:
'200':
description: This status code indicates that the given document has been patched successfully in API Gateway.
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentResponse'
example: "{\n\t\"id\": \"be9147a8-6e53-4472-b1bd-16337a84d314\"\n}"
'400':
description: This status code indicates invalid request or bad input.
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
'404':
description: This status code indicates that the requested resource is not found.
'405':
description: This status code indicates that the requested HTTP method is not supported for the resource.
'500':
description: This status code indicates an error occurred while patching the given document in API Gateway.
security:
- Basic: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Document'
description: The request payload to patch the document in API Gateway.
required: true
tags:
- Documents
summary: Patch document
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
components:
schemas:
Document:
type: object
properties:
displayName:
type: string
description: The display name of the attached document.
fileContent:
type: string
description: The complete file content in data URL format.
fileName:
type: string
description: The original name of the file uploaded to API Gateway.
id:
type: string
description: The unique identifier of the document as stored in API Gateway.
readOnly: true
description: This model is used to store any document in API Gateway.
DocumentResponse:
type: object
properties:
id:
type: string
description: The unique identifier of the document as stored in API Gateway.
readOnly: true
description: This defines the response for documents.
securitySchemes:
Basic:
type: http
scheme: basic
description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-DocumentManagement.json
- web-methods-api-gateway-documentmanagement-openapi.yml