Metadata
Store metadata in a process
Create, Update
curl http://127.0.0.1:8080/api/v3/process/test/metadata/desc \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-X POST \
-d '{
"title": "My title",
"description": "My description."
}'from core_client import Client
client = Client(
base_url="http://127.0.0.1:8080"
)
client.login()
client.v3_process_put_metadata(
id="test",
key="desc",
data={
"title": "My title",
"description": "My description."
}
)Add arbitrary JSON metadata under the given key. If the key exists, all already stored metadata with this key will be overwritten. If the key doesn't exist, it will be created.
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired
Process ID
keystringRequired
Key for data store
Body
anyOptional
Responses
200
OK
application/json
Responseany
400
Bad Request
application/json
404
Not Found
application/json
put
/api/v3/process/{id}/metadata/{key}No content
Read
Retrieve the previously stored JSON metadata under the given key. If the key is empty, all metadata will be returned.
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired
Process ID
keystringRequired
Key for data store
Responses
200
OK
application/json
Responseany
400
Bad Request
application/json
404
Not Found
application/json
get
/api/v3/process/{id}/metadata/{key}No content
Last updated
Was this helpful?
