url_slugs
Creates, updates, deletes, gets or lists a url_slugs
resource.
Overview
Name | url_slugs |
Type | Resource |
Id | pagerduty.status_dashboards.url_slugs |
Fields
The following fields are returned by SELECT
queries:
- get_status_dashboard_by_url_slug
Name | Datatype | Description |
---|---|---|
id | string | |
name | string | |
url_slug | string |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_status_dashboard_by_url_slug | select | url_slug , X-EARLY-ACCESS | Accept | Get a Status Dashboard by its PagerDuty url_slug . A url_slug is a human-readable referencefor a custom Status Dashboard that may be created or changed in the UI. It will generally be a dash-separated-string-like-this .<!-- theme: warning --> > ### Early Access > This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it. |
_get_status_dashboard_by_url_slug | exec | url_slug , X-EARLY-ACCESS | Accept | Get a Status Dashboard by its PagerDuty url_slug . A url_slug is a human-readable referencefor a custom Status Dashboard that may be created or changed in the UI. It will generally be a dash-separated-string-like-this .<!-- theme: warning --> > ### Early Access > This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
X-EARLY-ACCESS | string | This header indicates that this API endpoint is UNDER CONSTRUCTION and may change at any time. You MUST pass in this header with the value status-dashboards . Do not use this endpoint in production, as it may change! |
url_slug | string | The url_slug for a status dashboard |
Accept | string | The Accept header is used as a versioning header. |
SELECT
examples
- get_status_dashboard_by_url_slug
Get a Status Dashboard by its PagerDuty url_slug
. A url_slug
is a human-readable reference
for a custom Status Dashboard that may be created or changed in the UI. It will generally be a dash-separated-string-like-this
.
<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.
SELECT
id,
name,
url_slug
FROM pagerduty.status_dashboards.url_slugs
WHERE url_slug = '{{ url_slug }}' -- required
AND X-EARLY-ACCESS = '{{ X-EARLY-ACCESS }}' -- required
AND Accept = '{{ Accept }}'
;
Lifecycle Methods
- _get_status_dashboard_by_url_slug
Get a Status Dashboard by its PagerDuty url_slug
. A url_slug
is a human-readable reference
for a custom Status Dashboard that may be created or changed in the UI. It will generally be a dash-separated-string-like-this
.
<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.
EXEC pagerduty.status_dashboards.url_slugs._get_status_dashboard_by_url_slug
@url_slug='{{ url_slug }}' --required,
@X-EARLY-ACCESS='{{ X-EARLY-ACCESS }}' --required,
@Accept='{{ Accept }}'
;