Skip to main content

url_slugs

Creates, updates, deletes, gets or lists a url_slugs resource.

Overview

Nameurl_slugs
TypeResource
Idpagerduty.status_dashboards.url_slugs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
namestring
url_slugstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_status_dashboard_by_url_slugselecturl_slug, X-EARLY-ACCESSAcceptGet 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.
_get_status_dashboard_by_url_slugexecurl_slug, X-EARLY-ACCESSAcceptGet 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.

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.

NameDatatypeDescription
X-EARLY-ACCESSstringThis 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_slugstringThe url_slug for a status dashboard
AcceptstringThe Accept header is used as a versioning header.

SELECT examples

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 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 }}'
;