ServerlessV1Log

Retrieve a list of all logs.

Retrieve a list of all logs.

get/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Logs

Path parameters

ServiceSidstring required

The SID of the Service to read the Log resource from.

EnvironmentSidstring required

The SID of the environment with the Log resources to read.

Query parameters

FunctionSidstring

The SID of the function whose invocation produced the Log resources to read.

StartDatestring date-time

The date/time (in GMT, ISO 8601) after which the Log resources must have been created. Defaults to 1 day prior to current date/time.

EndDatestring date-time

The date/time (in GMT, ISO 8601) before which the Log resources must have been created. Defaults to current date/time.

PageSizeinteger

How many resources to return in each list page. The default is 50, and the maximum is 1000.

Pageinteger

The page index. This value is simply for client state.

PageTokenstring

The page token. This is provided by the API.

Response

OK

Changes

Changed in 5 of the 51 revisions of this API.46

  • v1ab2588f4f60713See the full diff
    • the response property logs/items/level became nullable for the status 200

      response-property-became-nullable

    • removed the error enum value from the logs/items/level response property for the response status 200

      response-property-enum-value-removed

    • removed the info enum value from the logs/items/level response property for the response status 200

      response-property-enum-value-removed

    • removed the warn enum value from the logs/items/level response property for the response status 200

      response-property-enum-value-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • for the query request parameter PageSize, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • api tag ServerlessV1Log added

      api-tag-added

    • added the new optional query request parameter Page

      new-optional-request-parameter

    • added the new optional query request parameter PageToken

      new-optional-request-parameter

    • the response property meta/next_page_url became nullable for the status 200

      response-property-became-nullable

    • the response property meta/previous_page_url became nullable for the status 200

      response-property-became-nullable