{ "opencollection": "1.0.0", "info": { "name": "Flowable REST Access Tokens Content item metadata API", "version": "v1" }, "items": [ { "info": { "name": "Content item metadata", "type": "folder" }, "items": [ { "info": { "name": "List metadata for a content item instance", "type": "http" }, "http": { "method": "GET", "url": "/flowable-rest/service/content-service/content-items/:contentItemId/metadata", "params": [ { "name": "contentItemId", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "List metadata for a content item instance" }, { "info": { "name": "Create variables or new binary variable on a content item", "type": "http" }, "http": { "method": "POST", "url": "/flowable-rest/service/content-service/content-items/:contentItemId/metadata", "params": [ { "name": "contentItemId", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "name", "type": "text", "value": "" }, { "name": "type", "type": "text", "value": "" } ] }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "This endpoint can be used in 2 ways: By passing a JSON Body (RestVariable or an array of RestVariable) or by passing a multipart/form-data Object.\nNonexistent metadata are created on the content item and existing ones are overridden without any error.\nAny number of variables can be passed into the request body array.\nNote that scope is ignored, only local variables can be set in a case instance.\nNB: Swagger V2 specification doesn't support this use case that's why this endpoint might be buggy/in" }, { "info": { "name": "Update a multiple/single (non)binary variable on a content item", "type": "http" }, "http": { "method": "PUT", "url": "/flowable-rest/service/content-service/content-items/:contentItemId/metadata", "params": [ { "name": "contentItemId", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "name", "type": "text", "value": "" }, { "name": "type", "type": "text", "value": "" } ] }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "This endpoint can be used in 2 ways: By passing a JSON Body (RestVariable or an array of RestVariable) or by passing a multipart/form-data Object.\nNonexistent variables are created on the content item and existing ones are overridden without any error.\nAny number of variables can be passed into the request body array.\nNote that scope is ignored, only local variables can be set in a case instance.\nNB: Swagger V2 specification doesn't support this use case that's why this endpoint might be buggy/i" }, { "info": { "name": "Delete all content item metadata", "type": "http" }, "http": { "method": "DELETE", "url": "/flowable-rest/service/content-service/content-items/:contentItemId/metadata", "params": [ { "name": "contentItemId", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Delete all content item metadata" }, { "info": { "name": "Get a metadata value for a content item", "type": "http" }, "http": { "method": "GET", "url": "/flowable-rest/service/content-service/content-items/:contentItemId/metadata/:metadataName", "params": [ { "name": "contentItemId", "value": "", "type": "path" }, { "name": "metadataName", "value": "", "type": "path" }, { "name": "scope", "value": "", "type": "query" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Get a metadata value for a content item" }, { "info": { "name": "Update a single metadata value on a content item", "type": "http" }, "http": { "method": "PUT", "url": "/flowable-rest/service/content-service/content-items/:contentItemId/metadata/:metadataName", "params": [ { "name": "contentItemId", "value": "", "type": "path" }, { "name": "metadataName", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "name", "type": "text", "value": "" }, { "name": "type", "type": "text", "value": "" } ] }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "This endpoint can be used in 2 ways: By passing a JSON Body (RestVariable) or by passing a multipart/form-data Object.\nNonexistent variables are created on the case instance and existing ones are overridden without any error.\nNote that scope is ignored, only local variables can be set in a process instance.\nNB: Swagger V2 specification doesn't support this use case that's why this endpoint might be buggy/incomplete if used with other tools." }, { "info": { "name": "Delete a metadata value", "type": "http" }, "http": { "method": "DELETE", "url": "/flowable-rest/service/content-service/content-items/:contentItemId/metadata/:metadataName", "params": [ { "name": "contentItemId", "value": "", "type": "path" }, { "name": "metadataName", "value": "", "type": "path" }, { "name": "scope", "value": "", "type": "query" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Delete a metadata value" } ] } ], "bundled": true }