Validate action name
GET/actions/validate
Confirms the validity of the given action name. Append ?name=<your_action_name>
.
Request
Query Parameters
workspaceId int64
Workspace numeric identifier
name string
Action name to validate
Responses
- 204
- 400
- 403
- 409
OK - No content
Bad request
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
{
"message": "string"
}
Operation not allowed
Duplicate element
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
{
"message": "string"
}
Authorization: http
name: BearerAuthtype: httpscheme: bearerbearerFormat: jwt
- python
- curl
- java
- r
- javascript
- go
- powershell
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("docs.seqera.io")
payload = ''
headers = {
'Authorization': 'Bearer <token>'
}
conn.request("GET", "/actions/validate", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))