@wevion/cli 1.0.3966 → 1.0.3967
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.json +120 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -408900,6 +408900,126 @@
|
|
|
408900
408900
|
}
|
|
408901
408901
|
}
|
|
408902
408902
|
},
|
|
408903
|
+
"/api/v1/tiktok/accounts/sync": {
|
|
408904
|
+
"post": {
|
|
408905
|
+
"operationId": "syncTikTokAdAccounts",
|
|
408906
|
+
"summary": "Sync the TikTok advertiser accounts of the caller",
|
|
408907
|
+
"tags": [
|
|
408908
|
+
"tiktok"
|
|
408909
|
+
],
|
|
408910
|
+
"description": "Enqueues a SYNC_TIKTOK_AD_ACCOUNTS run for the caller session: re-reads the advertiser list live from TikTok and refreshes the ad accounts. The same job the connection callback and the 2-hourly cron run.",
|
|
408911
|
+
"security": [
|
|
408912
|
+
{
|
|
408913
|
+
"bearerAuth": []
|
|
408914
|
+
},
|
|
408915
|
+
{
|
|
408916
|
+
"apiKeyAuth": []
|
|
408917
|
+
}
|
|
408918
|
+
],
|
|
408919
|
+
"responses": {
|
|
408920
|
+
"200": {
|
|
408921
|
+
"description": "Successful response",
|
|
408922
|
+
"content": {
|
|
408923
|
+
"application/json": {
|
|
408924
|
+
"schema": {
|
|
408925
|
+
"additionalProperties": false,
|
|
408926
|
+
"type": "object",
|
|
408927
|
+
"required": [
|
|
408928
|
+
"success",
|
|
408929
|
+
"worker_run_id"
|
|
408930
|
+
],
|
|
408931
|
+
"properties": {
|
|
408932
|
+
"success": {
|
|
408933
|
+
"type": "boolean"
|
|
408934
|
+
},
|
|
408935
|
+
"worker_run_id": {
|
|
408936
|
+
"description": "Id of the enqueued SYNC_TIKTOK_AD_ACCOUNTS run.",
|
|
408937
|
+
"type": "string"
|
|
408938
|
+
}
|
|
408939
|
+
}
|
|
408940
|
+
}
|
|
408941
|
+
}
|
|
408942
|
+
}
|
|
408943
|
+
},
|
|
408944
|
+
"400": {
|
|
408945
|
+
"description": "Invalid request - schema validation failed",
|
|
408946
|
+
"content": {
|
|
408947
|
+
"application/json": {
|
|
408948
|
+
"schema": {
|
|
408949
|
+
"additionalProperties": false,
|
|
408950
|
+
"type": "object",
|
|
408951
|
+
"required": [
|
|
408952
|
+
"error"
|
|
408953
|
+
],
|
|
408954
|
+
"properties": {
|
|
408955
|
+
"error": {
|
|
408956
|
+
"type": "string"
|
|
408957
|
+
}
|
|
408958
|
+
}
|
|
408959
|
+
}
|
|
408960
|
+
}
|
|
408961
|
+
}
|
|
408962
|
+
},
|
|
408963
|
+
"401": {
|
|
408964
|
+
"description": "Unauthorized - missing or invalid bearer token",
|
|
408965
|
+
"content": {
|
|
408966
|
+
"application/json": {
|
|
408967
|
+
"schema": {
|
|
408968
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
408969
|
+
}
|
|
408970
|
+
}
|
|
408971
|
+
}
|
|
408972
|
+
},
|
|
408973
|
+
"429": {
|
|
408974
|
+
"description": "Too many requests - rate limit exceeded. Reachable on every API-key operation: the per-key cap sold with the plan answers `code: API_KEY_RATE_LIMITED` with `retry_after_seconds` and the `Retry-After` header. The global per-IP limiter can answer here too, with the same status and only `statusCode`, `error` and `message`.",
|
|
408975
|
+
"content": {
|
|
408976
|
+
"application/json": {
|
|
408977
|
+
"schema": {
|
|
408978
|
+
"$ref": "#/components/schemas/RateLimitedResponse"
|
|
408979
|
+
}
|
|
408980
|
+
}
|
|
408981
|
+
}
|
|
408982
|
+
},
|
|
408983
|
+
"500": {
|
|
408984
|
+
"description": "Internal server error",
|
|
408985
|
+
"content": {
|
|
408986
|
+
"application/json": {
|
|
408987
|
+
"schema": {
|
|
408988
|
+
"additionalProperties": false,
|
|
408989
|
+
"type": "object",
|
|
408990
|
+
"required": [
|
|
408991
|
+
"error"
|
|
408992
|
+
],
|
|
408993
|
+
"properties": {
|
|
408994
|
+
"error": {
|
|
408995
|
+
"type": "string"
|
|
408996
|
+
}
|
|
408997
|
+
}
|
|
408998
|
+
}
|
|
408999
|
+
}
|
|
409000
|
+
}
|
|
409001
|
+
},
|
|
409002
|
+
"503": {
|
|
409003
|
+
"description": "Session revocation check unavailable (Redis): retry after the Retry-After header.",
|
|
409004
|
+
"headers": {
|
|
409005
|
+
"Retry-After": {
|
|
409006
|
+
"description": "Seconds to wait before retrying the identical request.",
|
|
409007
|
+
"schema": {
|
|
409008
|
+
"type": "integer"
|
|
409009
|
+
}
|
|
409010
|
+
}
|
|
409011
|
+
},
|
|
409012
|
+
"content": {
|
|
409013
|
+
"application/json": {
|
|
409014
|
+
"schema": {
|
|
409015
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
409016
|
+
}
|
|
409017
|
+
}
|
|
409018
|
+
}
|
|
409019
|
+
}
|
|
409020
|
+
}
|
|
409021
|
+
}
|
|
409022
|
+
},
|
|
408903
409023
|
"/api/v1/tiktok/pixels/sync": {
|
|
408904
409024
|
"post": {
|
|
408905
409025
|
"operationId": "syncAllTikTokPixels",
|