"Fossies" - the Fresh Open Source Software Archive

Member "monasca-events-api-2.0.0/api-ref/source/http_codes.yaml" (14 Oct 2020, 1098 Bytes) of package /linux/misc/openstack/monasca-events-api-2.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Copyright 2017 Fujitsu LIMITED
    2 
    3 200:
    4   ea_up: |
    5     API is up and running. All peripherial components are accesible.
    6 204:
    7   default: |
    8     Normal response code, the request was successfully processed.
    9   ea_up: |
   10     API is up and running.
   11 
   12 400:
   13   default: |
   14     Bad request.
   15 401:
   16   default: |
   17     Unauthorized. User must authenticate before making a request.
   18 403:
   19   default: |
   20     Policy does not allow current user to do this operation.
   21 411:
   22   default: |
   23     Content-Length header was not found in request.
   24 413:
   25   default: |
   26     Sent body is too large to be processed.
   27 422:
   28   default: |
   29     Sent data could not be processed properly.
   30   event_no_project:
   31     Event property must have project_id field.
   32   event_no_event: |
   33     Event property must have event payload object.
   34   bad_envelope: |
   35     Failed to create an envelope.
   36 
   37 503:
   38   default: |
   39     The server is currently unable to handle the request due to a
   40     temporary overload or scheduled maintenance. This will likely be
   41     alleviated after some delay.
   42   no_health: |
   43     API is running but there are problems with peripheral components.