Saltar al contenido principal

Train document

POST 

/api/collections/:collectionIdOrPersonalIdentityName/documents/:documentId/snapshots/:snapshotId/train

Trains the specific snapshot of the document based on its id or collection name, ocument id, and snapshot id. You need to be a Contributor to call this api.

Request

Path Parameters

    collectionIdOrPersonalIdentityName stringrequired
    documentId uuidrequired
    snapshotId uuidrequired

Query Parameters

    publish boolean

Responses

Success

curl -L -X POST 'http://docs.ainhoa.io/api/collections/:collectionIdOrPersonalIdentityName/documents/:documentId/snapshots/:snapshotId/train'
Request Collapse all
Parameters
— pathrequired
— pathrequired
— pathrequired
— query