Nexus

Nexus APIs

GET /v1/subscriptions/{subscriptionId}/logs

Gets a list of subscription logs

Requires the subscription.read permission

Parameters
Name In Required Description
subscriptionId path Yes —
select query No One or more comma separated fields to select.
orderby query No One or more fields to sort by, with optional ascending/descending indicator. (e.g. name DESC)
filter query No An OData filter expression. e.g. field_name eq 123
top query No The maximum number of rows to return in the response.
count query No Indicates if the response should contain a field with the total count of records.
expand query No Indicates if the response should expand nested objects.
skip query No Indicates the number of records to skip. Combine with $top for paging operations.
Responses
200
Example
{
  "value": [
    {
      "id": 0,
      "created": "string",
      "modified": "string",
      "severity": "string",
      "createdBy": "string",
      "logMessage": "string",
      "modifiedBy": "string",
      "subscription": {
        "id": 0,
        "logs": [],
        "type": "string",
        "status": null,
        "created": "string",
        "details": "string",
        "expires": "string",
        "product": null,
        "modified": "string",
        "createdBy": "string",
        "isEnabled": false,
        "productId": 0,
        "modifiedBy": "string",
        "statusText": "string",
        "description": "string",
        "organization": null,
        "customMetadata": null,
        "organizationId": 0,
        "readonlyMetadata": null,
        "applicationDeployments": []
      },
      "subscriptionId": 0
    }
  ],
  "@odata.count": 0,
  "@odata.context": "string"
}
Schema
Name Type Attributes Description Extensions
@odata.context string nullable — —
@odata.count number nullable — —
value — — —
Example
{
  "value": [
    {
      "id": 0,
      "created": "string",
      "modified": "string",
      "severity": "string",
      "createdBy": "string",
      "logMessage": "string",
      "modifiedBy": "string",
      "subscription": {
        "id": 0,
        "logs": [],
        "type": "string",
        "status": null,
        "created": "string",
        "details": "string",
        "expires": "string",
        "product": null,
        "modified": "string",
        "createdBy": "string",
        "isEnabled": false,
        "productId": 0,
        "modifiedBy": "string",
        "statusText": "string",
        "description": "string",
        "organization": null,
        "customMetadata": null,
        "organizationId": 0,
        "readonlyMetadata": null,
        "applicationDeployments": []
      },
      "subscriptionId": 0
    }
  ],
  "@odata.count": 0,
  "@odata.context": "string"
}
Schema
Name Type Attributes Description Extensions
@odata.context string nullable — —
@odata.count number nullable — —
value — — —
Example
{
  "value": [
    {
      "id": 0,
      "created": "string",
      "modified": "string",
      "severity": "string",
      "createdBy": "string",
      "logMessage": "string",
      "modifiedBy": "string",
      "subscription": {
        "id": 0,
        "logs": [],
        "type": "string",
        "status": null,
        "created": "string",
        "details": "string",
        "expires": "string",
        "product": null,
        "modified": "string",
        "createdBy": "string",
        "isEnabled": false,
        "productId": 0,
        "modifiedBy": "string",
        "statusText": "string",
        "description": "string",
        "organization": null,
        "customMetadata": null,
        "organizationId": 0,
        "readonlyMetadata": null,
        "applicationDeployments": []
      },
      "subscriptionId": 0
    }
  ],
  "@odata.count": 0,
  "@odata.context": "string"
}
Schema
Name Type Attributes Description Extensions
@odata.context string nullable — —
@odata.count number nullable — —
value — — —
Security

Authentication is required for this operation.

Source: default

Requirements (any one option may satisfy)

  • Bearer and ApplicationToken
  • Basic

Try it