Skip to main content

Get all behaviors

GET 

/api/v1/services/:service_id/behaviors/

Returns the list of behaviors of a service.

Request

Path Parameters

    service_id uuidrequired

Responses

Schema

  • Array [

  • behavior_actions

    object[]

    required

  • Array [

  • allowed_methods string
    auto_minify stringnullable

    Possible values: <= 1024 characters

    cache_behavior_value stringnullable

    Possible values: <= 255 characters

    cache_key stringnullable
    cached_methods string
    cookie stringnullable

    Possible values: <= 255 characters

    cors_allow_origin_domain boolean
    enabled booleannullable
    host_header stringnullable

    Possible values: <= 255 characters

    id uuidrequired
    max_ttl integernullable

    Possible values: >= -2147483648 and <= 2147483647

    origin uuidnullable
    origin_cache_control_enabled booleannullable
    pattern stringnullable

    Possible values: <= 1024 characters

    redirect_url urinullable

    Possible values: <= 200 characters

    request_header_name stringnullable

    Possible values: <= 255 characters

    request_header_value stringnullable

    Possible values: <= 255 characters

    response_header_name stringnullable

    Possible values: <= 255 characters

    response_header_value stringnullable

    Possible values: <= 255 characters

    response_page_path stringnullable
    status_code integernullable

    Possible values: >= -2147483648 and <= 2147483647

    type stringrequired

    Possible values: <= 255 characters

    unified_log_destination uuidnullable
    unified_log_sampling_rate integernullable

    Possible values: >= -2147483648 and <= 2147483647

    use_domain_origin booleannullable

    viewer_protocol

    object

    nullable

    oneOf

    • HTTP_AND_HTTPS - Http And Https

    • HTTPS_ONLY - Https Only

    • REDIRECT_HTTP_TO_HTTPS - Redirect Http To Https

    string

    Possible values: [HTTP_AND_HTTPS, HTTPS_ONLY, REDIRECT_HTTP_TO_HTTPS]

  • ]

  • id uuidrequired
    is_default boolean
    is_partially_contained boolean
    name stringrequired

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

    path_pattern stringrequired

    Possible values: <= 1024 characters

    service uuidrequired
  • ]

Loading...