{ "opencollection": "1.0.0", "info": { "name": "VTex Anti-fraud Provider Account Versions API", "version": "1.0" }, "items": [ { "info": { "name": "Versions", "type": "folder" }, "items": [ { "info": { "name": "VTex List versions", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/dataentities/:dataEntityName/documents/:id/versions", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "dataEntityName", "value": "", "type": "path", "description": "Name of the data entity." }, { "name": "id", "value": "", "type": "path", "description": "ID of the Document." }, { "name": "load", "value": "", "type": "query", "description": "If true, return all the fields in each version of the document." }, { "name": "fields", "value": "", "type": "query", "description": "If `load` is true, the response will return only these specific fields." } ] }, "docs": "Lists the versions of a document. \r\n\r\n>ℹ Master Data documents are versioned. This means that, for each change, a new version is generated. \r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will recei" }, { "info": { "name": "VTex Get version", "type": "http" }, "http": { "method": "GET", "url": "https://{providerApiEndpoint}/api/dataentities/:dataEntityName/documents/:id/versions/:versionId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "dataEntityName", "value": "", "type": "path", "description": "Name of the data entity." }, { "name": "id", "value": "", "type": "path", "description": "ID of the Document." }, { "name": "versionId", "value": "", "type": "path", "description": "ID of the version to update." } ] }, "docs": "Returns the version of a document. \r\n\r\n>ℹ Master Data documents are versioned. This means that, for each change, a new version is generated. \r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will rece" }, { "info": { "name": "VTex Update version", "type": "http" }, "http": { "method": "PUT", "url": "https://{providerApiEndpoint}/api/dataentities/:dataEntityName/documents/:id/versions/:versionId", "headers": [ { "name": "Content-Type", "value": "" }, { "name": "Accept", "value": "" } ], "params": [ { "name": "dataEntityName", "value": "", "type": "path", "description": "Name of the data entity." }, { "name": "id", "value": "", "type": "path", "description": "ID of the Document." }, { "name": "versionId", "value": "", "type": "path", "description": "ID of the version to update" } ] }, "docs": "Updates the document's version value.\r\n\r\n>ℹ Master Data documents are versioned. This means that, for each change, a new version is generated. \r\n\r\n## Permissions\r\n\r\nAny user or [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will re" } ] } ], "bundled": true }