Skip to content

Commit 5be4d6a

Browse files
rebuild clients
1 parent d8330c0 commit 5be4d6a

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

doc/compiled.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28541,6 +28541,67 @@
2854128541
}
2854228542
]
2854328543
},
28544+
"post": {
28545+
"summary": "Trigger an automation",
28546+
"description": "Trigger an automation.\n",
28547+
"operationId": "automation/trigger",
28548+
"tags": [
28549+
"Automations"
28550+
],
28551+
"parameters": [
28552+
{
28553+
"$ref": "#/components/parameters/X-PhraseApp-OTP"
28554+
},
28555+
{
28556+
"$ref": "#/components/parameters/account_id"
28557+
},
28558+
{
28559+
"$ref": "#/components/parameters/id"
28560+
}
28561+
],
28562+
"responses": {
28563+
"200": {
28564+
"description": "OK",
28565+
"content": {
28566+
"application/json": {
28567+
"schema": {
28568+
"$ref": "#/components/schemas/automation"
28569+
}
28570+
}
28571+
},
28572+
"headers": {
28573+
"X-Rate-Limit-Limit": {
28574+
"$ref": "#/components/headers/X-Rate-Limit-Limit"
28575+
},
28576+
"X-Rate-Limit-Remaining": {
28577+
"$ref": "#/components/headers/X-Rate-Limit-Remaining"
28578+
},
28579+
"X-Rate-Limit-Reset": {
28580+
"$ref": "#/components/headers/X-Rate-Limit-Reset"
28581+
}
28582+
}
28583+
},
28584+
"400": {
28585+
"$ref": "#/components/responses/400"
28586+
},
28587+
"404": {
28588+
"$ref": "#/components/responses/404"
28589+
},
28590+
"429": {
28591+
"$ref": "#/components/responses/429"
28592+
}
28593+
},
28594+
"x-code-samples": [
28595+
{
28596+
"lang": "Curl",
28597+
"source": "curl \"https://api.phrase.com/v2/accounts/:account_id/automations/:id/trigger\" \\\n -u USERNAME_OR_ACCESS_TOKEN\n -X POST\n -H 'Content-Type: application/json'"
28598+
},
28599+
{
28600+
"lang": "CLI v2",
28601+
"source": "phrase automations trigger \\\n--account_id <account_id> \\\n--id <id> \\\n--access_token <token>"
28602+
}
28603+
]
28604+
},
2854428605
"patch": {
2854528606
"summary": "Update an automation",
2854628607
"description": "Update an existing automation.\n\nFor feature availability, see [Jobs (Strings)](https://support.phrase.com/hc/en-us/articles/5784100517788-Jobs-Strings).\n",

0 commit comments

Comments
 (0)