edge_jobs

Create an EdgeJob from a text

Access policy: administrator

post/edge_jobs/create/string

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/edge_jobs/create/string
  • Auth
    • API key in header X-API-KEY
    • or API key in header Authorization

Request body

CronExpressionstring
EdgeGroupsinteger[]
Endpointsinteger[]
FileContentstring
Namestring
Recurringboolean

Response

OK

Dynamicboolean
EndpointIdsRoarRoarPortainerEndpointID
Endpointsinteger[]

Deprecated: only used for API responses

Idinteger

EdgeGroup Identifier

Namestring
PartialMatchboolean
TagIdsinteger[]

Example response

{
  "Id": 1
}

Changes

No recorded changes to this operation across all 21 revisions of this API.