curl --request PATCH \
--url https://api.example.com/registry/actions/{action_name} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"name": "<string>",
"description": "<string>",
"secrets": [
{
"name": "<string>",
"keys": [
"<string>"
],
"optional_keys": [
"<string>"
],
"optional": false
}
],
"interface": {
"expects": {},
"returns": "<unknown>"
},
"implementation": {
"template_action": {
"definition": {
"name": "<string>",
"namespace": "<string>",
"title": "<string>",
"display_group": "<string>",
"expects": {},
"steps": [
{
"ref": "<string>",
"action": "<string>",
"args": {}
}
],
"returns": "<string>",
"description": "",
"doc_url": "<string>",
"author": "<string>",
"deprecated": "<string>",
"secrets": [
{
"name": "<string>",
"keys": [
"<string>"
],
"optional_keys": [
"<string>"
],
"optional": false
}
]
},
"type": "action"
},
"type": "template"
},
"default_title": "<string>",
"display_group": "<string>",
"doc_url": "<string>",
"author": "<string>",
"deprecated": "<string>",
"options": {
"include_in_schema": true
}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Update a custom registry action.
curl --request PATCH \
--url https://api.example.com/registry/actions/{action_name} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"name": "<string>",
"description": "<string>",
"secrets": [
{
"name": "<string>",
"keys": [
"<string>"
],
"optional_keys": [
"<string>"
],
"optional": false
}
],
"interface": {
"expects": {},
"returns": "<unknown>"
},
"implementation": {
"template_action": {
"definition": {
"name": "<string>",
"namespace": "<string>",
"title": "<string>",
"display_group": "<string>",
"expects": {},
"steps": [
{
"ref": "<string>",
"action": "<string>",
"args": {}
}
],
"returns": "<string>",
"description": "",
"doc_url": "<string>",
"author": "<string>",
"deprecated": "<string>",
"secrets": [
{
"name": "<string>",
"keys": [
"<string>"
],
"optional_keys": [
"<string>"
],
"optional": false
}
]
},
"type": "action"
},
"type": "template"
},
"default_title": "<string>",
"display_group": "<string>",
"doc_url": "<string>",
"author": "<string>",
"deprecated": "<string>",
"options": {
"include_in_schema": true
}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API update model for a registered action.
Update the name of the action
1 - 100Update the description of the action
1000Update the secrets of the action
Show child attributes
Update the interface of the action
Show child attributes
Update the implementation of the action
Show child attributes
Update the default title of the action
1 - 100Update the display group of the action
1 - 100Update the doc url of the action
1 - 1000Update the author of the action
1 - 100Update the deprecation message of the action
1 - 1000Update the options of the action
Show child attributes
Successful Response
Was this page helpful?