Skip to main content

Get all origin-sets

GET 

/api/v1/services/:service_id/origin-sets/

Returns the list of origin-sets of a service.

Request

Path Parameters

    service_id uuidrequired

Responses

Schema

  • Array [

  • id uuidrequired
    name stringrequired

    Possible values: <= 255 characters, Value must match regular expression ^[a-zA-Z0-9_\-\s]*$

    origins

    object[]

    required

  • Array [

  • host stringrequired

    Possible values: <= 255 characters, Value must match regular expression (^(?=.{1,253}\.)[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*\.[a-zA-Z]{2,}$)|(^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$)|(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))

    port integerrequired

    Possible values: <= 65535

    protocol ProtocolEnum (string)
    • HTTP - Http
    • HTTPS - Https
    • HTTP & HTTPS - Both

    Possible values: [HTTP, HTTPS, HTTP & HTTPS]

    weight integerrequired

    Possible values: <= 255

  • ]

  • service uuidrequired
  • ]

Loading...