Badge

Update Badge Criteria

Changed on

Update a specific badge criteria

put/v1/badge/criteria/{criteria_id}

Request

  • Base URL
    https://api.navigatr.app (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL/v1/token

Path parameters

criteria_idinteger required

Headers

X-Access-Tokenstring nullable

Request body

external_idstring nullable
descriptionstring nullable
type'Application' | 'Assessment' | 'Award' | 'Badge' | 'Course' | 'Credential' | 'Education_Experience' | 'Leadership' | 'Member' | 'Participant' | 'Pathway' | 'Payment' | 'Portfolio' | 'Presenter' | 'Project' | 'Professional_Experience' | 'Schedule_Registration' | 'Volunteer' | 'Other'
external_urlstring nullable
badge_idinteger nullable

Example request

{
  "external_id": "ABCD-EFG-HIJK-LMNOPQRS",
  "description": "Earners must have completed a three stage interview process before they can earn this badge.",
  "external_url": "https://apply.org"
}

Response

Successful Response

external_idstring nullable
descriptionstring nullable
type'Application' | 'Assessment' | 'Award' | 'Badge' | 'Course' | 'Credential' | 'Education_Experience' | 'Leadership' | 'Member' | 'Participant' | 'Pathway' | 'Payment' | 'Portfolio' | 'Presenter' | 'Project' | 'Professional_Experience' | 'Schedule_Registration' | 'Volunteer' | 'Other'
external_urlstring nullable
badge_idinteger nullable
idinteger nullable

Example response

{
  "external_id": "ABCD-EFG-HIJK-LMNOPQRS",
  "description": "Earners must have completed a three stage interview process before they can earn this badge.",
  "external_url": "https://apply.org"
}

Changes

    • warning

      added the new Pathway enum value to the / response property for the response status

    • info

      api operation id update_badge_criteria_v1_badge_criteria__criteria_id__put removed and replaced with badge_update_badge_criteria

    • info

      added the new optional header request parameter X-Access-Token

    • info

      added the new Pathway enum value to the request property /

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      the response's property default value changed from Unauthorized access to Insufficient permissions for the status

    • breaking

      removed the enum value Application of the request property

    • breaking

      removed the enum value Assessment of the request property

    • breaking

      removed the enum value Award of the request property

    • breaking

      removed the enum value Badge of the request property

    • breaking

      removed the enum value Course of the request property

    • breaking

      removed the enum value Credential of the request property

    • breaking

      removed the enum value Education_Experience of the request property

    • breaking

      removed the enum value Leadership of the request property

    • breaking

      removed the enum value Member of the request property

    • breaking

      removed the enum value Other of the request property

    • breaking

      removed the enum value Participant of the request property

    • breaking

      removed the enum value Payment of the request property

    • breaking

      removed the enum value Portfolio of the request property

    • breaking

      removed the enum value Presenter of the request property

    • breaking

      removed the enum value Professional_Experience of the request property

    • breaking

      removed the enum value Project of the request property

    • breaking

      removed the enum value Schedule_Registration of the request property

    • breaking

      removed the enum value Volunteer of the request property

    • breaking

      the request property type changed from string to no type

    • breaking

      response property badge_id list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property description list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property external_id list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property external_url list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property id list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      the response's property type changed from string to no type for status

    • info

      added subschema #2 to the request property anyOf list

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      the request property's minLength was decreased from 1 to 0

    • info

      added subschema #2 to the response property anyOf list for the response status

    • info

      removed the Application enum value from the response property for the response status

    • info

      removed the Assessment enum value from the response property for the response status

    • info

      removed the Award enum value from the response property for the response status

    • info

      removed the Badge enum value from the response property for the response status

    • info

      removed the Course enum value from the response property for the response status

    • info

      removed the Credential enum value from the response property for the response status

    • info

      removed the Education_Experience enum value from the response property for the response status

    • info

      removed the Leadership enum value from the response property for the response status

    • info

      removed the Member enum value from the response property for the response status

    • info

      removed the Other enum value from the response property for the response status

    • info

      removed the Participant enum value from the response property for the response status

    • info

      removed the Payment enum value from the response property for the response status

    • info

      removed the Portfolio enum value from the response property for the response status

    • info

      removed the Presenter enum value from the response property for the response status

    • info

      removed the Professional_Experience enum value from the response property for the response status

    • info

      removed the Project enum value from the response property for the response status

    • info

      removed the Schedule_Registration enum value from the response property for the response status

    • info

      removed the Volunteer enum value from the response property for the response status