NodeRingsDocs

Update Schedule

Update Schedule on the NodeRings client API (POST /v1/game-servers/{id}/schedules/{scheduleId}).

POST
/v1/game-servers/{id}/schedules/{scheduleId}
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Path Parameters

idstring
scheduleIdstring
name?string
minute?string
hour?string
dayOfMonth?string
month?string
dayOfWeek?string
onlyWhenOnline?boolean
isActive?boolean

Response Body

application/json

curl -X POST "https://api.noderings.com/v1/game-servers/{id}/schedules/{scheduleId}" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}" \  -H "Content-Type: application/json" \  -d '{  "name": "string",  "minute": "string",  "hour": "string",  "dayOfMonth": "string",  "month": "string",  "dayOfWeek": "string",  "onlyWhenOnline": false,  "isActive": false}'
{
  "id": "string",
  "name": "string",
  "minute": "string",
  "hour": "string",
  "dayOfMonth": "string",
  "month": "string",
  "dayOfWeek": "string",
  "isActive": true,
  "onlyWhenOnline": true,
  "tasks": [
    {
      "id": "string",
      "sequenceId": 0,
      "action": "string",
      "payload": "string",
      "timeOffset": 0,
      "continueOnFailure": true
    }
  ],
  "lastRunAt": "string",
  "nextRunAt": "string",
  "isProcessing": true
}