Apps

Creates an app job

Changed on
post/apps/{appId}/jobs

Request

  • Base URL
    https://api.securityscorecard.io
  • URL
    https://api.securityscorecard.io/apps/{appId}/jobs
  • Auth
    API key in header Authorization

Path parameters

appIdstring uuid required

application id

Request body

max_concurrencynumber required

how many jobs can be running same time

hours_since_last_completionnumber required

how many hours since last job completion must occur to get a new job

Example request

{
  "max_concurrency": 1,
  "hours_since_last_completion": 23
}

Response

job created

idstring uuid required

unique identifier for the object

created_bystring required

user who create the job

started_atstring date-time required

job start date

statusstring required

job status

Example response

{
  "started_at": "2020-01-01T00:00:00.000Z"
}

Changes

    • breaking

      added the pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ to the path request parameter appId

    • info

      media type application/json; charset=utf-8 was changed to application/json for the response status

    • info

      the response's property pattern ^[\da-z-]{16,}$ was added for the status

    • info

      the response's property pattern ^\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}:\d{2}\.{0,1}[0-9]*Z$ was added for the status