Download OpenAPI specification:Download
Welcome to the Hund REST API v1 documentation! If you would like to send us feedback on this API, send us an email or leave an issue on our api-specification
GitHub repository.
The base URL for the Hund API is of the following form: https://{domain}/api/v1
, where domain
is a status page or global dashboard domain, or the generic api.hund.io
. Accessing the API through any of these domains will only show objects accessible from that domain.
When using the domain of a particular status page, only objects viewable from that status page will be available from the API on that domain. This includes Group
s, Component
s, and their Issue
s, as well as Watchdog
s used by those Component
s.
Only API keys with sufficient permissions for the given status page may use this API.
When using the domain of the global dashboard, all objects across your entire account are visible, up to any Privacy Control the API key's user is subject to.
Note: since a shared Component
will belong to multiple Group
s across your status pages, the group
field of Component
does not exist in this context, and cannot be set. Thus, a specific status page API must be used to change the structure of that status page's Group
s.
Only API keys with sufficient global permissions may use this API.
When using the generic api.hund.io
domain, either of the above described APIs are accessible, depending on the value of the header Hund-Context
. The value of this header should be either be a StatusPage
ObjectId, or the string global
. The API key section of the dashboard will list the valid StatusPage
IDs, in case you would prefer to access the API via the generic domain. By default, the global
context is assumed.
Note: if your account uses a single status page, we recommend using your specific status page domain instead of this generic one for simplicity.
As above, whether a particular context is accessible from this domain depends on the permissions granted to the given API key.
Hund uses API keys to facilitate authentication. These keys can be given in a couple different formats, described below. API keys are created from the dashboard (via the Account section, clicking Manage API Keys on your account page), and each is linked to the specific user that created it. API keys can be given lesser or equivalent permissions to the linked user.
Some fields in this API can be displayed differently on your status page based on the language requested by the user. These fields are marked with type i18n-string
, and as such can be either a string
or object
(with IETF BCP 47 language tag keys and string values; e.g. {"en": "Hello!", "de": "Hallo!", "pt-BR": "Olá!"}
), depending on the value of the Accept-Language
header.
Given an Accept-Language
header value of *
, values of type i18n-string
will be the full object of translations. If a translation does not exist for the requested language, the Status Page Default Language is used as a fallback.
Similarly, when sending values of type i18n-string
in POST
or PUT
requests, the Accept-Language
header will dictate the particular language given strings are in. Again, to set the entire object of translations at once requires setting Accept-Language: *
. Without this header, the Status Page Default Language is assumed to be the language of any given i18n-string
s.
A Status Page's Default Language can be changed at any time from the "Settings > Localization" section of the dashboard.
Our API returns traditional HTTP response codes to describe the status of a response. Thus, 2xx
codes denote success, 4xx
codes denote an error on the part of the user, and 5xx
codes denote a backend server error (these are rare, and monitored internally).
User errors (4xx
) will return a vnd.error
object, which contains a more descriptive error message, as well as the request ID, which should be supplied in any support requests concerning particular requests you have made.
If a resource returns a specific success/error code for some reason, it will be documented within that particular resource. There are some general error codes, however, that you may encounter within any resource:
Code | Description |
---|---|
401 (Unauthorized) | A valid API key was not given. |
403 (Forbidden) | The given API key does not have permission to access the requested resource. |
404 (Not Found) | The requested HTTP verb/path combination does not exist. |
429 (Too Many Requests) | You are making too many requests too quickly. Try using some form of backoff (Fibonacci or exponential are good choices) if you must make large batches of requests. |
5xx (Server Errors) | Hund has encountered some form of backend error. These errors are uncommon, and are automatically reported to our staff. |
Every request made against the Hund API is logged with a unique request ID, which is returned in the response header Request-Id
. When making a support request concerning a specific API request, this ID should be supplied for fastest possible resolution.
Certain ID fields returned in API objects may be expanded to the full referenced object in the response by requesting expansion as part of the request query parameters. These fields are marked in this documentation as "expandable: true
."
To request expansion for an expandable field, a dot-delimited path to that field must be given in the expand
array query parameter (i.e. one or more expand[]
query parameters).
For example, to expand the watchdog
field of GET /components/{id}
would require the query string expand[]=watchdog
. If we wanted to accomplish the same expansion for the GET /components
index, we must use the path data.watchdog
instead, since the index returns a PagedArray, whose data
field contains the actual objects on the given page.
As a more complex example, say we are requesting GET /issues
, the Issue index; and, we want to expand each Watchdog and Group for each Component in each Issue. Respectively, the two paths required are thusly data.components.data.watchdog
and data.components.data.group
, which gives us the query parameter fragment expand[]=data.components.data.watchdog&expand[]=data.components.data.group
.
Note: An expansion path may only have up to four segments, to limit excessive expansion depth.
For cases where only a fraction of the returned fields of a response is desired, the project[]
query parameter may be used. This parameter can greatly speed up response times for large indexes, especially when only a portion of the returned data will be used.
Similar to the expand[]
parameter, each project[]
parameter expects a dot-delimited path describing each field that should be returned in the response. To expand fields contained within a PagedArray, data
must be included in the path to step through each element of the array.
For example, to request only the name
and components.data.name
fields from the GET /groups
index, which will return only Group and Component names, we can add the following project[]
parameters: project[]=data.name&project[]=data.components.data.name
. Again, similar to expand[]
, the Group index returns a PagedArray, and so data
must prefix each parameter, to project over the elements of the data
field for both the groups, and the PagedArrays of Components within each Group.
The resulting response will contain a PagedArray of Groups with only id
, type
, and name
fields, as well as the PagedArray of components
, each also containing only id
, type
, and name
fields.
Note: Certain essential fields, like the properties of PagedArrays (has_more
, total_count
, data
, etc.), and fields like id
and type
, are always projected into responses, and cannot be suppressed.
To facilitate discoverability, as well as compatibility with the existing hypermedia API software ecosystem, the Hund API supports HAL, a hypermedia API standard. Both API and HTML UI links are supplied by the various endpoints of this API.
The root of the API (GET https://{domain}/api/v1
) can be requested to retrieve a HAL directory with links to the various endpoints of the API. The Hund API should work with most HAL-compliant hypermedia clients (e.g. hyperclient for Ruby).
The various links returned by an endpoint are documented under each object's _links
property. The location of this HAL Links object depends on the variant of HAL requested (see HAL Variants below for more details).
The link relations of an endpoint follow a predictable naming scheme as follows:
self
: Reflexive URL pointing to the API resource that will return the exact document containing this URL.create
: Create a new record via POST
. Usually, this is not given, as the URL (as per REST) should be equivalent to POST
on a collection self
.update
: Update a specific item, or all items in a collection (if supported) via PUT
. Usually, this is not given, as the URL (as per REST) should be equivalent to PUT
on an item/collection self
.delete
: Deletes a specific item via DELETE
. Usually, this is not given, as the URL (as per REST) should be equivalent to DELETE
on item self
.search
: Perform a search on a collection.beginning
: The first set of records in a PagedArray
.prev
: The previous set of records in a PagedArray
.next
: The next set of records in a PagedArray
.end
: The last set of records in a PagedArray
.In addition to the above, we use a special prefix described below for "actions" against a resource:
action:*
: A PUT
action that can be taken against the resource (e.g. action:cancel
for a scheduled Issue
).We also use a couple suffixes on link relations, used with the above relations, to denote human-friendly (i.e. HTML) links:
*-form
: A human-friendly form (often for create
/update
) of a link relation (e.g. for Issue
s, create-form
would point to the dashboard form for creating a new Issue
).*-view
: A human-friendly view of a link relation (e.g. for an Issue
, self-view
would point to that Issue
on your status page).The Hund API supports a few (unofficial) variants for rendering HAL links:
standard
: Both _links
and embedded record properties are stored under nested _embedded
keys in the root object. This is "vanilla" HAL, and will have the best support with HAL-compliant hypermedia clients.links-only
: Only _links
from embedded records will appear under nested _embedded
keys in the root object. This leaves data in its usual place as described by this API documentation. For example, for a root Group
object, there exists a components
field, which under this variant would contain the actual Component
objects in a PagedArray
. However, any _links
property associated with each member of components
would be found from the root at _embedded.components._embedded.data._links
instead of within each Component
object. This is the usual location for _links
in HAL, though normally the data would go with it as well. Compatibility with hypermedia clients is not guaranteed.compact
: Objects will not embed data nor _links
under _embedded
in the root object. Instead, _links
is always a direct property of any object, regardless of nesting. For example, for a root Group
object, there exists a components
field, which under this variant, each Component
in components.data
would contain its own _links
property. This is a highly compacted variant of HAL, which is more reminiscent of non-HAL APIs. Compatibility with hypermedia clients is not guaranteed nor expected.The default variant returned by the API is links-only
. To request the API to return HAL in one of these variants, simply supply an Accept
header with value application/hal+json;variant={variant}
, where {variant}
is one of the variants listed above.
standard
{
"id": "5e16ee938fbb652ab878caa9",
"type": "group",
"name": "Regions",
"created_at": 1543958163,
"updated_at": 1543958564,
"description": "My **description**",
"description_html": "<p>My <strong>description</strong></p>",
"collapsed": false,
"position": 3,
"_links": {
"self": { "href": "..." },
"update-form": { "href": "..." }
},
"_embedded": {
"components": {
"type": "paged_array",
"total_count": 2,
"has_more": false,
"_links": {
"self": { "href": "..." },
"create": { "href": "..." },
"next": { "href": "..." },
"prev": { "href": "..." },
"beginning": { "href": "..." },
"end": { "href": "..." }
},
"_embedded": {
"data": [
{
"id": "5e16ee938fbb652ab878cabb",
"type": "component",
"group": "5e16ee938fbb652ab878caa9",
"name": "Singapore",
"created_at": 1543958163,
"updated_at": 1543958164,
"last_event_at": 1580352001,
"exclude_from_global_uptime": false,
"exclude_from_global_history": false,
"description": "My **description**",
"description_html": "<p>My <strong>description</strong></p>",
"percent_uptime": 100,
"watchdog": "5e06ee938fbb652ab878cab9",
"_links": {
"self": { "href": "..." },
"self-view": { "href": "..." },
"update-form": { "href": "..." }
}
},
{
"id": "5e16ee938fbb652ab878cacc",
"type": "component",
"group": "5e16ee938fbb652ab878caa9",
"name": "Amsterdam",
"created_at": 1543958100,
"updated_at": 1543958169,
"last_event_at": 1580353042,
"exclude_from_global_uptime": false,
"exclude_from_global_history": false,
"description": "My **description**",
"description_html": "<p>My <strong>description</strong></p>",
"percent_uptime": 100,
"watchdog": "5e16ee938fbb652ab878cac9",
"_links": {
"self": { "href": "..." },
"self-view": { "href": "..." },
"update-form": { "href": "..." }
}
}
]
}
}
}
}
links-only
{
"id": "5e16ee938fbb652ab878caa9",
"type": "group",
"name": "Regions",
"created_at": 1543958163,
"updated_at": 1543958564,
"description": "My **description**",
"description_html": "<p>My <strong>description</strong></p>",
"collapsed": false,
"position": 3,
"components": {
"type": "paged_array",
"total_count": 2,
"has_more": false,
"data": [
{
"id": "5e16ee938fbb652ab878cabb",
"type": "component",
"group": "5e16ee938fbb652ab878caa9",
"name": "Singapore",
"created_at": 1543958163,
"updated_at": 1543958164,
"last_event_at": 1580352001,
"exclude_from_global_uptime": false,
"exclude_from_global_history": false,
"description": "My **description**",
"description_html": "<p>My <strong>description</strong></p>",
"percent_uptime": 100,
"watchdog": "5e06ee938fbb652ab878cab9"
},
{
"id": "5e16ee938fbb652ab878cacc",
"type": "component",
"group": "5e16ee938fbb652ab878caa9",
"name": "Amsterdam",
"created_at": 1543958100,
"updated_at": 1543958169,
"last_event_at": 1580353042,
"exclude_from_global_uptime": false,
"exclude_from_global_history": false,
"description": "My **description**",
"description_html": "<p>My <strong>description</strong></p>",
"percent_uptime": 100,
"watchdog": "5e16ee938fbb652ab878cac9"
}
]
},
"_links": {
"self": { "href": "..." },
"update-form": { "href": "..." }
},
"_embedded": {
"components": {
"_links": {
"self": { "href": "..." },
"create": { "href": "..." },
"next": { "href": "..." },
"prev": { "href": "..." },
"beginning": { "href": "..." },
"end": { "href": "..." }
},
"_embedded": {
"data": [
{
"_links": {
"self": { "href": "..." },
"self-view": { "href": "..." },
"update-form": { "href": "..." }
}
},
{
"_links": {
"self": { "href": "..." },
"self-view": { "href": "..." },
"update-form": { "href": "..." }
}
}
]
}
}
}
}
compact
{
"id": "5e16ee938fbb652ab878caa9",
"type": "group",
"name": "Regions",
"created_at": 1543958163,
"updated_at": 1543958564,
"description": "My **description**",
"description_html": "<p>My <strong>description</strong></p>",
"collapsed": false,
"position": 3,
"components": {
"type": "paged_array",
"total_count": 2,
"has_more": false,
"data": [
{
"id": "5e16ee938fbb652ab878cabb",
"type": "component",
"group": "5e16ee938fbb652ab878caa9",
"name": "Singapore",
"created_at": 1543958163,
"updated_at": 1543958164,
"last_event_at": 1580352001,
"exclude_from_global_uptime": false,
"exclude_from_global_history": false,
"description": "My **description**",
"description_html": "<p>My <strong>description</strong></p>",
"percent_uptime": 100,
"watchdog": "5e06ee938fbb652ab878cab9",
"_links": {
"self": { "href": "..." },
"self-view": { "href": "..." },
"update-form": { "href": "..." }
}
},
{
"id": "5e16ee938fbb652ab878cacc",
"type": "component",
"group": "5e16ee938fbb652ab878caa9",
"name": "Amsterdam",
"created_at": 1543958100,
"updated_at": 1543958169,
"last_event_at": 1580353042,
"exclude_from_global_uptime": false,
"exclude_from_global_history": false,
"description": "My **description**",
"description_html": "<p>My <strong>description</strong></p>",
"percent_uptime": 100,
"watchdog": "5e16ee938fbb652ab878cac9",
"_links": {
"self": { "href": "..." },
"self-view": { "href": "..." },
"update-form": { "href": "..." }
}
}
],
"_links": {
"self": { "href": "..." },
"create": { "href": "..." },
"next": { "href": "..." },
"prev": { "href": "..." },
"beginning": { "href": "..." },
"end": { "href": "..." }
}
},
"_links": {
"self": { "href": "..." },
"update-form": { "href": "..." }
}
}
Our API supports dated versioning. A dated version is cut whenever backwards incompatible changes are made to the API. This way, usage of the same dated version across time will never break your integrations.
The default API version to use can be configured and upgraded from the dashboard.
To make an API call against a specific version, use the Hund-Version
header like so: Hund-Version: 2021-09-01
.
API request URLs also contain a major version (currently v1
). This major version will ideally never change, but a new version may be cut if it is deemed absolutely necessary.
An object representing a specific part of a service, which is potentially subject to downtime.
Index of Components collection. Returns a PagedArray.
group | string (ObjectId) ^[a-fA-F0-9]{24}$ Return the Components for the provided Group ObjectId. |
issue | string (ObjectId) ^[a-fA-F0-9]{24}$ Return the Components for the provided Issue ObjectId. |
event | string (ObjectId) ^[a-fA-F0-9]{24}$ Return the Components of the provided Event's |
timeline_item | string (UUID) ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Return the Components for the provided TimelineItem UUID. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Components to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Component ObjectId after which the returned array of Components will begin in descending order. Typically, this is used to retrieve the next page of Components in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Component ObjectId before which the returned array of Components will end in descending order. Typically, this is used to retrieve the previous page of Components in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Component-Expansionary) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}, - {
- "id": "5c06ee938fbb652ab878c2aa",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580358022,
- "exclude_from_global_uptime": true,
- "exclude_from_global_history": false,
- "name": "Component 66",
- "description": null,
- "description_html": "",
- "group": "5c06ee938fbb652ab878c2a9",
- "watchdog": "5c06ee938fbb652ab878c212",
- "percent_uptime": 100
}
]
}
Create a new Component. Returns the newly created Component.
group required | string (ObjectId) ^[a-fA-F0-9]{24}$ The Group that this Component belongs to. |
required | i18n-string (string) or i18n (object) (i18n-string) The name of this Component. |
required | object (Watchdog) The Watchdog that supplies the current status and metrics for this Component. |
exclude_from_global_uptime | boolean Default: false Exclude this Component's uptime percentage from being factored into the global percent uptime calculation. |
exclude_from_global_history | boolean Default: false Exclude this Component from appearing in the global history. |
(maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Component, potentially with markdown formatting. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendering of the markdown-formatted |
exclude_from_global_uptime required | boolean Exclude this Component's uptime percentage from being factored into the global percent uptime calculation. |
exclude_from_global_history required | boolean Exclude this Component from appearing in the global history. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Component was created. |
required | i18n-string (string) or i18n (object) (i18n-string) The name of this Component. |
last_event_at required | integer or null <int64> (maybe-timestamp) >= 0 A UNIX timestamp at which the last event for this Component occurred. This includes automated status changes, as well as issue creation and update. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Component. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Component was last updated. |
required | ObjectId (string) or Watchdog (object) expandable: true The Watchdog that supplies the current status and metrics for this Component. |
percent_uptime required | number The rolling 30-day percent uptime of this Component. |
type required | string Value: "component" |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Component, potentially with markdown formatting. |
ObjectId (string) or Group (object) expandable: true The Group that this Component belongs to. | |
object (HAL Links) An object describing the various link relations for this type. |
{- "group": "5c06ee938fbb652ab878c2a1",
- "name": "Filtering Service",
- "watchdog": {
- "service": {
- "type": "updown",
- "monitor_api_key": "AAAAAAAaaaaaaa",
- "monitor_token": "lp341"
}
}
}
{- "id": "5e06ee938fbb652ab878caaa",
- "type": "component",
- "group": "5c06ee938fbb652ab878c2a1",
- "name": "Filtering Service",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": null,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 100,
- "watchdog": {
- "id": "5e06ee938fbb652ab878caa9",
- "type": "watchdog",
- "high_frequency": false,
- "latest_status": null,
- "service": {
- "type": "updown",
- "monitor_token": "lp341"
}
}
}
Update the given Component by ObjectId.
component_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Component. |
exclude_from_global_uptime | boolean Exclude this Component's uptime percentage from being factored into the global percent uptime calculation. |
group | string (ObjectId) ^[a-fA-F0-9]{24}$ The Group that this Component belongs to. |
exclude_from_global_history | boolean Exclude this Component from appearing in the global history. |
i18n-string (string) or i18n (object) (i18n-string) The name of this Component. | |
object (Watchdog) The Watchdog that supplies the current status and metrics for this Component. | |
(maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Component, potentially with markdown formatting. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendering of the markdown-formatted |
exclude_from_global_uptime required | boolean Exclude this Component's uptime percentage from being factored into the global percent uptime calculation. |
exclude_from_global_history required | boolean Exclude this Component from appearing in the global history. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Component was created. |
required | i18n-string (string) or i18n (object) (i18n-string) The name of this Component. |
last_event_at required | integer or null <int64> (maybe-timestamp) >= 0 A UNIX timestamp at which the last event for this Component occurred. This includes automated status changes, as well as issue creation and update. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Component. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Component was last updated. |
required | ObjectId (string) or Watchdog (object) expandable: true The Watchdog that supplies the current status and metrics for this Component. |
percent_uptime required | number The rolling 30-day percent uptime of this Component. |
type required | string Value: "component" |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Component, potentially with markdown formatting. |
ObjectId (string) or Group (object) expandable: true The Group that this Component belongs to. | |
object (HAL Links) An object describing the various link relations for this type. |
{- "description": "A *perhaps* better description."
}
{- "id": "5e06ee938fbb652ab878caaa",
- "type": "component",
- "group": "5c06ee938fbb652ab878c2a1",
- "name": "Filtering Service",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "A *perhaps* better description.",
- "description_html": "<p>A <em>perhaps</em> better description.</p>",
- "percent_uptime": 99.123,
- "watchdog": "5e06ee938fbb652ab878caa9"
}
Delete the given Component by ObjectId.
component_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Component. |
{- "message": "Insufficient API key permissions.",
- "logref": "e23f766b-d576-41ec-a3c4-9263d854dab3"
}
Retrieve the given Component by ObjectId.
component_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Component. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendering of the markdown-formatted |
exclude_from_global_uptime required | boolean Exclude this Component's uptime percentage from being factored into the global percent uptime calculation. |
exclude_from_global_history required | boolean Exclude this Component from appearing in the global history. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Component was created. |
required | i18n-string (string) or i18n (object) (i18n-string) The name of this Component. |
last_event_at required | integer or null <int64> (maybe-timestamp) >= 0 A UNIX timestamp at which the last event for this Component occurred. This includes automated status changes, as well as issue creation and update. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Component. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Component was last updated. |
required | ObjectId (string) or Watchdog (object) expandable: true The Watchdog that supplies the current status and metrics for this Component. |
percent_uptime required | number The rolling 30-day percent uptime of this Component. |
type required | string Value: "component" |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Component, potentially with markdown formatting. |
ObjectId (string) or Group (object) expandable: true The Group that this Component belongs to. | |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5e06ee938fbb652ab878caaa",
- "type": "component",
- "group": "5c06ee938fbb652ab878c2a1",
- "name": "Filtering Service",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 99.123,
- "watchdog": "5e06ee938fbb652ab878caa9"
}
Create a new Group. Returns the newly created Group.
required | i18n-string (string) or i18n (object) (i18n-string) The name of this Group. |
collapsed | boolean Default: false Whether or not this group is displayed collapsed by default on the status page. |
position | integer An integer representing the position of this Group. Groups are displayed on the status page in ascending order according to this value. |
(maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Group, potentially with markdown formatting. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendering of the markdown-formatted |
required | i18n-string (string) or i18n (object) (i18n-string) The name of this Group. |
required | ComponentPagedArray (object) or Array of ObjectId (strings) A PagedArray of the Components contained within this Group. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Group was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Group. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Group was last updated. |
collapsed required | boolean Whether or not this group is displayed collapsed by default on the status page. |
position required | integer An integer representing the position of this Group. Groups are displayed on the status page in ascending order according to this value. |
type required | string Value: "group" |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Component, potentially with markdown formatting. |
object (HAL Links) An object describing the various link relations for this type. |
{- "name": "Offices",
- "description": "Internet availability of our offices."
}
{- "id": "5e16ee938fbb652ab878cbbb",
- "type": "group",
- "name": "Offices",
- "created_at": 1581101541,
- "updated_at": 1581101541,
- "description": "Internet availability of our offices.",
- "description_html": "<p>Internet availability of our offices.</p>",
- "collapsed": false,
- "position": 3,
- "components": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ]
}
}
Index of Groups collection. Returns a PagedArray.
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Groups to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Group ObjectId after which the returned array of Groups will begin in descending order. Typically, this is used to retrieve the next page of Groups in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Group ObjectId before which the returned array of Groups will end in descending order. Typically, this is used to retrieve the previous page of Groups in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Group) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5e16ee938fbb652ab878caa9",
- "type": "group",
- "name": "Regions",
- "created_at": 1543958163,
- "updated_at": 1543958564,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "collapsed": false,
- "position": 3,
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5e16ee938fbb652ab878cabb",
- "type": "component",
- "group": "5e16ee938fbb652ab878caa9",
- "name": "Singapore",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 100,
- "watchdog": "5e06ee938fbb652ab878cab9"
}, - {
- "id": "5e16ee938fbb652ab878cacc",
- "type": "component",
- "group": "5e16ee938fbb652ab878caa9",
- "name": "Amsterdam",
- "created_at": 1543958100,
- "updated_at": 1543958169,
- "last_event_at": 1580353042,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 100,
- "watchdog": "5e16ee938fbb652ab878cac9"
}
]
}
}, - {
- "id": "5e16ff938fbb652ab878c000",
- "type": "group",
- "name": "Services",
- "created_at": 1543954163,
- "updated_at": 1543954564,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "collapsed": false,
- "position": 4,
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5e16ff938fbb652ab878c002",
- "type": "component",
- "group": "5e16ff938fbb652ab878c000",
- "name": "Spam Detection",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1590352001,
- "exclude_from_global_uptime": true,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 99.012,
- "watchdog": "5e16ff938fbb652ab878c003"
}, - {
- "id": "5e16ff938fbb652ab878c001",
- "type": "component",
- "group": "5e16ff938fbb652ab878c000",
- "name": "Routing",
- "created_at": 1543958100,
- "updated_at": 1543958169,
- "last_event_at": 1590353042,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 100,
- "watchdog": "5e16ff938fbb652ab878c004"
}
]
}
}
]
}
Update the given Group by ObjectId.
group_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Group. |
i18n-string (string) or i18n (object) (i18n-string) The name of this Group. | |
collapsed | boolean Whether or not this group is displayed collapsed by default on the status page. |
position | integer An integer representing the position of this Group. Groups are displayed on the status page in ascending order according to this value. |
(maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Group, potentially with markdown formatting. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendering of the markdown-formatted |
required | i18n-string (string) or i18n (object) (i18n-string) The name of this Group. |
required | ComponentPagedArray (object) or Array of ObjectId (strings) A PagedArray of the Components contained within this Group. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Group was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Group. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Group was last updated. |
collapsed required | boolean Whether or not this group is displayed collapsed by default on the status page. |
position required | integer An integer representing the position of this Group. Groups are displayed on the status page in ascending order according to this value. |
type required | string Value: "group" |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Component, potentially with markdown formatting. |
object (HAL Links) An object describing the various link relations for this type. |
{- "collapsed": true,
- "position": 10
}
{- "id": "5e16ee938fbb652ab878cbbb",
- "type": "group",
- "name": "Offices",
- "created_at": 1581101541,
- "updated_at": 1581102010,
- "description": "Internet availability of our offices.",
- "description_html": "<p>Internet availability of our offices.</p>",
- "collapsed": true,
- "position": 10,
- "components": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ]
}
}
Delete the given Group by ObjectId.
group_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Group. |
{- "message": "Group is not empty.",
- "logref": "ffd8da37-81c6-4f08-aa48-ef85c00ca7c9"
}
Retrieve the given Group by ObjectId.
group_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Group. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendering of the markdown-formatted |
required | i18n-string (string) or i18n (object) (i18n-string) The name of this Group. |
required | ComponentPagedArray (object) or Array of ObjectId (strings) A PagedArray of the Components contained within this Group. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Group was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Group. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Group was last updated. |
collapsed required | boolean Whether or not this group is displayed collapsed by default on the status page. |
position required | integer An integer representing the position of this Group. Groups are displayed on the status page in ascending order according to this value. |
type required | string Value: "group" |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Component, potentially with markdown formatting. |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5e16ee938fbb652ab878caa9",
- "type": "group",
- "name": "Regions",
- "created_at": 1543958163,
- "updated_at": 1543958564,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "collapsed": false,
- "position": 3,
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5e16ee938fbb652ab878cabb",
- "type": "component",
- "group": "5e16ee938fbb652ab878caa9",
- "name": "Singapore",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 100,
- "watchdog": "5e06ee938fbb652ab878cab9"
}, - {
- "id": "5e16ee938fbb652ab878cacc",
- "type": "component",
- "group": "5e16ee938fbb652ab878caa9",
- "name": "Amsterdam",
- "created_at": 1543958100,
- "updated_at": 1543958169,
- "last_event_at": 1580353042,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 100,
- "watchdog": "5e16ee938fbb652ab878cac9"
}
]
}
}
Reorder the components of the given group by listing the complete new ordering of component ObjectIds. The listing must not remove nor add components.
group_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Group. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendering of the markdown-formatted |
required | i18n-string (string) or i18n (object) (i18n-string) The name of this Group. |
required | ComponentPagedArray (object) or Array of ObjectId (strings) A PagedArray of the Components contained within this Group. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Group was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Group. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Group was last updated. |
collapsed required | boolean Whether or not this group is displayed collapsed by default on the status page. |
position required | integer An integer representing the position of this Group. Groups are displayed on the status page in ascending order according to this value. |
type required | string Value: "group" |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) A description of this Component, potentially with markdown formatting. |
object (HAL Links) An object describing the various link relations for this type. |
[- "5e16ee938fbb652ab878cacc",
- "5e16ee938fbb652ab878caee",
- "5e16ee938fbb652ab878cabb"
]
{- "id": "5e16ee938fbb652ab878caa9",
- "type": "group",
- "name": "Regions",
- "created_at": 1543958163,
- "updated_at": 1543958564,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "collapsed": false,
- "position": 3,
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5e16ee938fbb652ab878cacc",
- "type": "component",
- "group": "5e16ee938fbb652ab878caa9",
- "name": "Amsterdam",
- "created_at": 1543958100,
- "updated_at": 1543958169,
- "last_event_at": 1580353042,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 100,
- "watchdog": "5e16ee938fbb652ab878cac9"
}, - {
- "id": "5e16ee938fbb652ab878caee",
- "type": "component",
- "group": "5e16ee938fbb652ab878caa9",
- "name": "Rochester, NY",
- "created_at": 1543958200,
- "updated_at": 1543958200,
- "last_event_at": 1580359002,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 100,
- "watchdog": "5e16ee938fbb652ab878cae9"
}, - {
- "id": "5e16ee938fbb652ab878cabb",
- "type": "component",
- "group": "5e16ee938fbb652ab878caa9",
- "name": "Singapore",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "percent_uptime": 100,
- "watchdog": "5e06ee938fbb652ab878cab9"
}
]
}
}
MetricProviders gather metrics from a configured service for viewing on the Status Page.
Index of MetricProviders collection. Returns a PagedArray.
watchdog | string (ObjectId) ^[a-fA-F0-9]{24}$ ObjectId for a particular Watchdog to retrieve MetricProviders on. |
default | boolean Default: false When true, returns only MetricProviders for which When used in conjunction with the |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of MetricProviders to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A MetricProvider ObjectId after which the returned array of MetricProviders will begin in descending order. Typically, this is used to retrieve the next page of MetricProviders in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A MetricProvider ObjectId before which the returned array of MetricProviders will end in descending order. Typically, this is used to retrieve the previous page of MetricProviders in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (MetricProvider) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5e16ee938cca652ab8780000",
- "type": "metric_provider",
- "watchdog": "5a06ee938fbb652ab878c000",
- "default": true,
- "instances": [
- {
- "id": "5e16ee938cca652ab8780001",
- "type": "metric_instance",
- "slug": "apdex@5e16ee938cca652ab8780000",
- "definition_slug": "apdex",
- "enabled": true,
- "top_level_enabled": false,
- "title": "Apdex",
- "x_title": "Apdex",
- "y_title": "Time",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 1,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average"
}
], - "service": {
- "type": "updown",
- "monitor_token": "kn121"
}
}, - {
- "id": "5e16ee938cca652ab8780003",
- "type": "metric_provider",
- "watchdog": "5a06ee938fbb652ab878c000",
- "default": false,
- "instances": [
- {
- "id": "5e16ee938cca652ab8780004",
- "type": "metric_instance",
- "slug": "percent_uptime@5e16ee938cca652ab8780003",
- "definition_slug": "percent_uptime",
- "enabled": true,
- "top_level_enabled": true,
- "title": "Percent Uptime",
- "x_title": "Percent Uptime",
- "y_title": "Time",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average"
}, - {
- "id": "5e16ee938cca652ab8780005",
- "type": "metric_instance",
- "slug": "incidents_reported@5e16ee938cca652ab8780003",
- "definition_slug": "incidents_reported",
- "enabled": true,
- "top_level_enabled": false,
- "title": "Incidents Reported",
- "x_title": "Incidents Reported",
- "y_title": "Time",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 2,
- "plot_type": "bar",
- "interpolation": "linear",
- "aggregation": "sum"
}
], - "service": {
- "type": "builtin"
}
}
]
}
Create a new MetricProvider. Returns the newly created MetricProvider.
required | Array of objects (MetricInstance) An array of MetricInstances, which describe each Metric that the MetricProvider provides. |
watchdog required | string (ObjectId) ^[a-fA-F0-9]{24}$ The Watchdog that owns this MetricProvider. |
required | Builtin (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Form) The service configuration for this MetricProvider, which describes how the
given |
required | Array of objects (MetricInstance) An array of MetricInstances, which describe each Metric that the MetricProvider provides. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this MetricProvider. |
default required | boolean When true, denotes that this MetricProvider is the default MetricProvider of the Watchdog. This means that they share the same service configuration, which the MetricProvider inherits from the Watchdog. This MetricProvider is created automatically depending on the Watchdog, and cannot be deleted without also deleting the Watchdog. |
watchdog required | string (ObjectId) ^[a-fA-F0-9]{24}$ expandable: true The Watchdog that owns this MetricProvider. |
type required | string Value: "metric_provider" |
required | Builtin (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or PingdomLegacyV2 (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Services) The service configuration for this MetricProvider, which describes how the
given |
object (HAL Links) An object describing the various link relations for this type. |
{- "watchdog": "5a06ee938fbb652ab878c000",
- "instances": [
- {
- "definition_slug": "platform_errors",
- "enabled": true,
- "top_level_enabled": true,
- "title": "Platform Errors",
- "y_supremum": 4,
- "plot_type": "bar"
}
], - "service": {
- "type": "webhook"
}
}
{- "id": "5e16ee938cca652ab8780010",
- "type": "metric_provider",
- "watchdog": "5a06ee938fbb652ab878c000",
- "default": true,
- "instances": [
- {
- "id": "5e16ee938cca652ab8780011",
- "type": "metric_instance",
- "slug": "platform_errors@5e16ee938cca652ab8780010",
- "definition_slug": "platform_errors",
- "enabled": true,
- "top_level_enabled": true,
- "title": "Platform Errors",
- "x_title": "Platform Errors",
- "y_title": "Time",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 4,
- "plot_type": "bar",
- "interpolation": "linear",
- "aggregation": "sum"
}
], - "service": {
- "type": "webhook",
- "webhook_key": "AAAAAAAAaaaaaaaa"
}
}
Retrieve the given MetricProvider by ObjectId.
metric_provider_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the MetricProvider. |
required | Array of objects (MetricInstance) An array of MetricInstances, which describe each Metric that the MetricProvider provides. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this MetricProvider. |
default required | boolean When true, denotes that this MetricProvider is the default MetricProvider of the Watchdog. This means that they share the same service configuration, which the MetricProvider inherits from the Watchdog. This MetricProvider is created automatically depending on the Watchdog, and cannot be deleted without also deleting the Watchdog. |
watchdog required | string (ObjectId) ^[a-fA-F0-9]{24}$ expandable: true The Watchdog that owns this MetricProvider. |
type required | string Value: "metric_provider" |
required | Builtin (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or PingdomLegacyV2 (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Services) The service configuration for this MetricProvider, which describes how the
given |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5e16ee938cca652ab8780010",
- "type": "metric_provider",
- "watchdog": "5a06ee938fbb652ab878c000",
- "default": true,
- "instances": [
- {
- "id": "5e16ee938cca652ab8780011",
- "type": "metric_instance",
- "slug": "platform_errors@5e16ee938cca652ab8780010",
- "definition_slug": "platform_errors",
- "enabled": true,
- "top_level_enabled": true,
- "title": "Platform Errors",
- "x_title": "Platform Errors",
- "y_title": "Time",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 4,
- "plot_type": "bar",
- "interpolation": "linear",
- "aggregation": "sum"
}
], - "service": {
- "type": "webhook"
}
}
Update the given MetricProvider by ObjectId.
metric_provider_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the MetricProvider. |
Array of MetricInstance (object) or MetricInstance (object) An array of MetricInstances, which describe each Metric that the MetricProvider provides. | |
Builtin (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) or PingdomLegacyV2 (object) (Form) The service configuration for this MetricProvider, which describes how the
given |
required | Array of objects (MetricInstance) An array of MetricInstances, which describe each Metric that the MetricProvider provides. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this MetricProvider. |
default required | boolean When true, denotes that this MetricProvider is the default MetricProvider of the Watchdog. This means that they share the same service configuration, which the MetricProvider inherits from the Watchdog. This MetricProvider is created automatically depending on the Watchdog, and cannot be deleted without also deleting the Watchdog. |
watchdog required | string (ObjectId) ^[a-fA-F0-9]{24}$ expandable: true The Watchdog that owns this MetricProvider. |
type required | string Value: "metric_provider" |
required | Builtin (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or PingdomLegacyV2 (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Services) The service configuration for this MetricProvider, which describes how the
given |
object (HAL Links) An object describing the various link relations for this type. |
{- "instances": [
- {
- "definition_slug": "platform_errors",
- "deleted": true
}, - {
- "definition_slug": "request_rate",
- "enabled": true,
- "top_level_enabled": false,
- "title": "Request Rate (Hz)",
- "y_supremum": 500
}
]
}
{- "id": "5e16ee938cca652ab8780010",
- "type": "metric_provider",
- "watchdog": "5a06ee938fbb652ab878c000",
- "default": true,
- "instances": [
- {
- "id": "5e16fe938cca652ab8780001",
- "type": "metric_instance",
- "slug": "request_rate@5e16ee938cca652ab8780010",
- "definition_slug": "request_rate",
- "enabled": true,
- "top_level_enabled": false,
- "title": "Request Rate (Hz)",
- "x_title": "Request Rate (Hz)",
- "y_title": "Time",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 500,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average"
}
], - "service": {
- "type": "webhook"
}
}
Delete the given MetricProvider by ObjectId.
metric_provider_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the MetricProvider. |
{- "message": "Cannot delete a Watchdog's default MetricProvider.",
- "logref": "645888fa-1e1b-477a-947a-50fd2bd28249"
}
MetricDefinitions describe the particular structure of metrics that can be instanced as a MetricInstance, provided by a MetricProvider.
The fields of a MetricDefinition serve as the defaults for any MetricInstance
that references the definition. MetricInstances reference definitions by their
slug (via the definition_slug
field).
Index of MetricDefinitions collection. Returns a PagedArray.
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of MetricDefinitions to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A MetricDefinition ObjectId after which the returned array of MetricDefinitions will begin in descending order. Typically, this is used to retrieve the next page of MetricDefinitions in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A MetricDefinition ObjectId before which the returned array of MetricDefinitions will end in descending order. Typically, this is used to retrieve the previous page of MetricDefinitions in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (MetricDefinition) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 10,
- "data": [
- {
- "id": "671af3fb8fbb6584e0190d32",
- "type": "metric_definition",
- "title": "Metric 4",
- "x_title": "Time",
- "y_title": "Metric 4",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "metric4",
- "builtin": false,
- "_links": {
}
}, - {
- "id": "671aec398fbb652804ee8a1a",
- "type": "metric_definition",
- "title": "Metric 3",
- "x_title": "Time",
- "y_title": "Metric 3",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "metric3",
- "builtin": false,
- "_links": {
}
}, - {
- "id": "656f99db8fbb65952a3ff362",
- "type": "metric_definition",
- "title": "Test Metric 0",
- "x_title": "Time",
- "y_title": "Test Metric 0",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "metric0",
- "builtin": false,
- "_links": {
}
}, - {
- "id": "656f99db8fbb65952a3ff361",
- "type": "metric_definition",
- "title": "Test Metric 2",
- "x_title": "Time",
- "y_title": "Test Metric 2",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "metric2",
- "builtin": false,
- "_links": {
}
}, - {
- "id": "656f99db8fbb65952a3ff360",
- "type": "metric_definition",
- "title": "Test Metric 1",
- "x_title": "Time",
- "y_title": "Test Metric 1",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "metric1",
- "builtin": false,
- "_links": {
}
}, - {
- "id": "5c9d08b88fbb65172b45da5d",
- "type": "metric_definition",
- "title": "Rabbits",
- "x_title": "Time",
- "y_title": "Rabbits",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "rabbits",
- "builtin": false,
- "_links": {
}
}, - {
- "id": "5ad4fcb18fbb650f596df4c0",
- "type": "metric_definition",
- "title": "Total Elapsed Time (ms)",
- "x_title": "Time",
- "y_title": "Total Elapsed Time (ms)",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "udp.total_time",
- "builtin": true,
- "_links": {
}
}, - {
- "id": "5ad4fcb18fbb650f596df4bf",
- "type": "metric_definition",
- "title": "Response Transfer Time (ms)",
- "x_title": "Time",
- "y_title": "Response Transfer Time (ms)",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "udp.response_transfer_time",
- "builtin": true,
- "_links": {
}
}, - {
- "id": "5ad4fcb18fbb650f596df4be",
- "type": "metric_definition",
- "title": "Response Time (ms)",
- "x_title": "Time",
- "y_title": "Response Time (ms)",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "udp.response_time",
- "builtin": true,
- "_links": {
}
}, - {
- "id": "5ad4fcb18fbb650f596df4bd",
- "type": "metric_definition",
- "title": "Total Elapsed Time (ms)",
- "x_title": "Time",
- "y_title": "Total Elapsed Time (ms)",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "tcp.total_time",
- "builtin": true,
- "_links": {
}
}
], - "has_more": true
}
Retrieve the given MetricDefinition by ObjectId.
metric_definition_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the MetricDefinition. |
interpolation required | string (METRIC_INTERPOLATION) Enum: "linear" "step" "basis" "bundle" "cardinal" The kind of interpolation to use between points displayed in the graph (line plots only). |
required | i18n-string (string) or i18n (object) (i18n-string) The title of the y-axis of this metric. |
plot_type required | string (METRIC_PLOT_TYPE) Enum: "line" "bar" The kind of visualization to display the metric with. |
slug required | string A string that uniquely identifies this MetricDefinition. This value is referenced
by MetricInstances via their |
aggregation required | string (METRIC_AGGREGATION) Enum: "sum" "average" "first" "last" "max" "min" The kind of aggregation method to use in case multiple displayed data points share the same time-axis value (depending on the axis configured for time, by default x). Note: this field does not have any effect on the underlying data; it is purely cosmetic, and applied only when viewing the data on the status page. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the MetricDefinition. |
required | i18n-string (string) or i18n (object) (i18n-string) The title of the metric, displayed above its graph on the status page. |
x_type required | string (METRIC_AXIS_TYPE) Enum: "time" "measure" The type of quantity represented by the x-axis. |
required | i18n-string (string) or i18n (object) (i18n-string) The title of the x-axis of this metric. |
y_type required | string (METRIC_AXIS_TYPE) Enum: "time" "measure" The type of quantity represented by the y-axis. |
builtin required | boolean Whether this MetricDefinition is built into Hund, and cannot be modified. |
y_supremum required | number (nonnegative-number) >= 0 The least upper bound to display the y-axis on. The metric will always display up to at least this value on the y-axis regardless of the graphed data. If the graph exceeds this value, then the bound will be raised as much as necessary to accommodate the data. |
type required | string Value: "metric_definition" |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "671af3fb8fbb6584e0190d32",
- "type": "metric_definition",
- "title": "Metric 4",
- "x_title": "Time",
- "y_title": "Metric 4",
- "x_type": "time",
- "y_type": "measure",
- "y_supremum": 100,
- "plot_type": "line",
- "interpolation": "linear",
- "aggregation": "average",
- "slug": "metric4",
- "builtin": false,
- "_links": {
}
}
Watchdogs determine the method by which component availability is calculated, and generate statuses at the configured frequency (regular or high).
Index of Watchdogs collection. Returns a PagedArray.
service.type | string Return Watchdogs of the given Note: This field is ignored when |
service.method | string Return Native Monitoring Watchdogs of the given |
high_frequency | boolean When true, returns Watchdogs where |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Watchdogs to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Watchdog ObjectId after which the returned array of Watchdogs will begin in descending order. Typically, this is used to retrieve the next page of Watchdogs in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Watchdog ObjectId before which the returned array of Watchdogs will end in descending order. Typically, this is used to retrieve the previous page of Watchdogs in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Watchdog) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 10,
- "data": [
- {
- "id": "66eb42f68fbb65c6c481e1dc",
- "type": "watchdog",
- "service": {
- "type": "updown",
- "monitor_token": "aaaa"
}, - "latest_status": "66fdbb778fbb6580bab5ff1e",
- "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}, - {
- "id": "656e624f8fbb65049112ea7f",
- "type": "watchdog",
- "service": {
- "type": "webhook",
- "webhook_key": "KEY",
- "deadman": false,
- "reporting_interval": null,
- "consecutive_checks": null,
- "_links": {
}
}, - "latest_status": null,
- "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}, - {
- "id": "656e5d038fbb65049112ea71",
- "type": "watchdog",
- "service": {
- "type": "manual",
- "state": 1,
- "semantic": null
}, - "latest_status": "65c3ebe68fbb65fcef7b1626",
- "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}, - {
- "id": "654e887e8fbb6594c4ccd91b",
- "type": "watchdog",
- "service": {
- "type": "manual",
- "state": 1,
- "semantic": null
}, - "latest_status": "65c3ebdb8fbb6530907b1624",
- "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}, - {
- "id": "654e887d8fbb6594c4ccd914",
- "type": "watchdog",
- "service": {
- "type": "manual",
- "state": 1,
- "semantic": null
}, - "latest_status": "65cbf73e8fbb65e655d506ed",
- "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}, - {
- "id": "654e887d8fbb6594c4ccd910",
- "type": "watchdog",
- "service": {
- "type": "manual",
- "state": 1,
- "semantic": null
}, - "latest_status": "65c3ebf08fbb65a87b7b1628",
- "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}, - {
- "id": "654e887c8fbb6594c4ccd908",
- "type": "watchdog",
- "service": {
- "type": "manual",
- "state": 1,
- "semantic": null
}, - "latest_status": "65c3ebf18fbb6589af7b162a",
- "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}, - {
- "id": "653aed568fbb65f4c9745d8e",
- "type": "watchdog",
- "service": {
- "type": "uptimerobot",
- "unconfirmed_is_down": false
}, - "latest_status": null,
- "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}, - {
- "id": "653aabdc8fbb65f4c9745d3c",
- "type": "watchdog",
- "service": {
- "type": "native",
- "method": "icmp",
- "target": "example.com",
- "regions": [
- "wa-us-1"
], - "frequency": 60000,
- "timeout": 15000,
- "consecutive_check_degraded_threshold": null,
- "consecutive_check_outage_threshold": 1,
- "percentage_regions_failed_threshold": 0.5,
- "percentage_failed_threshold": 0.5,
- "ip_version": "inet"
}, - "latest_status": "65c3ed928fbb658a627b162f",
- "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}, - {
- "id": "64a5cc818fbb6542ed9e9906",
- "type": "watchdog",
- "service": {
- "type": "native",
- "method": "http",
- "regions": [
- "wa-us-1",
- "nj-us-1"
], - "frequency": 30000,
- "timeout": 10000,
- "consecutive_check_degraded_threshold": null,
- "consecutive_check_outage_threshold": 1,
- "percentage_regions_failed_threshold": 0.99,
- "username": "user0",
- "response_body_must_contain": "weather condition(s)?",
- "response_body_must_contain_mode": "regex",
- "response_code_must_be": 200,
- "headers": {
- "X-Value": "hi"
}, - "follow_redirects": true,
- "ssl_verify_peer": true
}, - "latest_status": "66cf892d8fbb65defead73e1",
- "high_frequency": true,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}
], - "has_more": true
}
Preview a new Watchdog. Returns the Watchdog that would be created if the same request is made against the actual collection.
This endpoint does not persist the returned Watchdog.
required | Manual (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or Cloudwatch (object) or Newrelic (object) or Pagerduty (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Form) The service configuration for this Watchdog, which describes how the Watchdog determines current status. |
high_frequency | boolean Default: false When true, this Watchdog will run every 30 seconds, instead of the standard 1 minute. Note: you are billed extra for each high frequency Watchdog. Please see our pricing page for more details. |
object (MetricProvider) MetricProvider creation form. |
high_frequency required | boolean When true, this Watchdog will run every 30 seconds, instead of the standard 1 minute. Note: you are billed extra for each high frequency Watchdog. Please see our pricing page for more details. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Watchdog. |
latest_status required | string or null (Maybe(ObjectId)) ^[a-fA-F0-9]{24}$ The ObjectId of the latest Status object generated by this Watchdog. When |
type required | string Value: "watchdog" |
required | Manual (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or PingdomLegacyV2 (object) or Cloudwatch (object) or Newrelic (object) or Pagerduty (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Services) The service configuration for this Watchdog, which describes how the Watchdog determines current status. |
object (HAL Links) An object describing the various link relations for this type. |
{- "service": {
- "type": "native",
- "method": "icmp",
- "regions": [
- "wa-us-1"
], - "target": "example.com"
}
}
{- "id": "67004b0c8fbb6563652002ec",
- "type": "watchdog",
- "service": {
- "type": "native",
- "method": "icmp",
- "target": "example.com",
- "regions": [
- "wa-us-1"
], - "frequency": 60000,
- "timeout": 10000,
- "consecutive_check_degraded_threshold": null,
- "consecutive_check_outage_threshold": 1,
- "percentage_regions_failed_threshold": 0.25,
- "percentage_failed_threshold": 0.5,
- "ip_version": "inet"
}, - "latest_status": {
- "id": "67004b0c8fbb6563652002f0",
- "type": "status",
- "created_at": null,
- "updated_at": null,
- "watchdog": "67004b0c8fbb6563652002ec",
- "semantic": null,
- "reasons": null,
- "state": 1,
- "duration": 0,
- "began_at": null,
- "ended_at": null,
- "_links": {
}
}, - "high_frequency": false,
- "_links": {
- "metric_providers": {
}, - "statuses": {
}, - "action:convert": {
}
}
}
For supported Watchdog service types, returns a service-specific document enumerating the options available for the service, with respect to the given service credentials.
Service credentials can either be provided directly to this endpoint, or the credentials of an existing Watchdog can be used, by providing the respective ID.
watchdog | string (ObjectId) ^[a-fA-F0-9]{24}$ When given, uses the credentials of this Watchdog to perform service option enumeration, if supported. |
type | string Enum: "pingdom" "pagerduty" "updown" Selects the Watchdog service type to perform service option enumeration. If this field is given, then you should also pass appropriate service credentials. Note: this field is ignored when |
api_token required | string The Pingdom API v3 key. |
type | string Value: "pingdom" |
required | object A Check Id -> Name mapping of the Pingdom TMS checks available via the given credentials. |
required | object A Check Id -> Name mapping of the Pingdom checks available via the given credentials. |
type required | string Value: "pingdom" |
{- "type": "pingdom",
- "api_token": "AAAAAAAAA"
}
{- "type": "pingdom",
- "transactionals": {
- "10000": "example.com TMS"
}, - "checks": {
- "5800000": "Example"
}
}
Retrieve the given Watchdog by ObjectId.
watchdog_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Watchdog. |
high_frequency required | boolean When true, this Watchdog will run every 30 seconds, instead of the standard 1 minute. Note: you are billed extra for each high frequency Watchdog. Please see our pricing page for more details. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Watchdog. |
latest_status required | string or null (Maybe(ObjectId)) ^[a-fA-F0-9]{24}$ The ObjectId of the latest Status object generated by this Watchdog. When |
type required | string Value: "watchdog" |
required | Manual (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or PingdomLegacyV2 (object) or Cloudwatch (object) or Newrelic (object) or Pagerduty (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Services) The service configuration for this Watchdog, which describes how the Watchdog determines current status. |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5a06ee938fbb652ab878c000",
- "type": "watchdog",
- "high_frequency": true,
- "latest_status": "5b0001938fbb652ab878c001",
- "service": {
- "type": "updown",
- "monitor_token": "kn121"
}
}
Update the given Watchdog by ObjectId.
watchdog_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Watchdog. |
required | Manual (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or Cloudwatch (object) or Newrelic (object) or Pagerduty (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) or PingdomLegacyV2 (object) (Form) The service configuration for this Watchdog, which describes how the Watchdog determines current status. |
high_frequency | boolean When true, this Watchdog will run every 30 seconds, instead of the standard 1 minute. Note: you are billed extra for each high frequency Watchdog. Please see our pricing page for more details. |
object (MetricProvider) MetricProvider update form. | |
Array of objects (MetricProvider) |
high_frequency required | boolean When true, this Watchdog will run every 30 seconds, instead of the standard 1 minute. Note: you are billed extra for each high frequency Watchdog. Please see our pricing page for more details. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Watchdog. |
latest_status required | string or null (Maybe(ObjectId)) ^[a-fA-F0-9]{24}$ The ObjectId of the latest Status object generated by this Watchdog. When |
type required | string Value: "watchdog" |
required | Manual (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or PingdomLegacyV2 (object) or Cloudwatch (object) or Newrelic (object) or Pagerduty (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Services) The service configuration for this Watchdog, which describes how the Watchdog determines current status. |
object (HAL Links) An object describing the various link relations for this type. |
{- "high_frequency": false,
- "service": {
- "monitor_token": "ml554"
}
}
{- "id": "5a06ee938fbb652ab878c000",
- "type": "watchdog",
- "high_frequency": false,
- "latest_status": "5b0001938fbb652ab878c001",
- "service": {
- "type": "updown",
- "monitor_token": "ml554"
}
}
Convert the service type of a watchdog to another service type. This operation does not affect the component, nor the watchdog's statuses nor metrics (unless specified). Useful for switching status providers in a single low-friction request.
watchdog_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Watchdog. |
required | Manual (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or Cloudwatch (object) or Newrelic (object) or Pagerduty (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Form) The service configuration for this Watchdog, which describes how the Watchdog determines current status. |
high_frequency | boolean Default: false When true, this Watchdog will run every 30 seconds, instead of the standard 1 minute. Note: you are billed extra for each high frequency Watchdog. Please see our pricing page for more details. |
object (MetricProvider) MetricProvider creation form. | |
keep_original_default_metric_provider | boolean Default: true When true, the default MetricProvider (if one exists) for the Watchdog before conversion will be kept as a normal MetricProvider of the Watchdog after conversion. When false, the default MetricProvider will be deleted after conversion. |
high_frequency required | boolean When true, this Watchdog will run every 30 seconds, instead of the standard 1 minute. Note: you are billed extra for each high frequency Watchdog. Please see our pricing page for more details. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Watchdog. |
latest_status required | string or null (Maybe(ObjectId)) ^[a-fA-F0-9]{24}$ The ObjectId of the latest Status object generated by this Watchdog. When |
type required | string Value: "watchdog" |
required | Manual (object) or Updown (object) or Uptimerobot (object) or Webhook (object) or Pingdom (object) or PingdomLegacyV2 (object) or Cloudwatch (object) or Newrelic (object) or Pagerduty (object) or (Native (ICMP (object) or HTTP (object) or DNS (object) or TCP (object) or UDP (object))) (Services) The service configuration for this Watchdog, which describes how the Watchdog determines current status. |
object (HAL Links) An object describing the various link relations for this type. |
{- "service": {
- "type": "uptimerobot",
- "monitor_api_key": "BBBBBBBaaaaaaa"
}, - "keep_original_default_metric_provider": false
}
{- "id": "5a06ee938fbb652ab878c000",
- "type": "watchdog",
- "high_frequency": true,
- "latest_status": "5b0001938fbb652ab878c001",
- "service": {
- "type": "uptimerobot",
- "unconfirmed_is_down": false
}
}
Statuses record the operational states automatically generated by a particular
Watchdog. These objects form one part of the Timeline (while Issues form the
other). Statuses affect the Timeline over their effective duration according
to the state
field.
Statuses are generated/extended each time a Watchdog runs (according to
configured frequency). Each Watchdog stores a latest_status
field, which
declares the current state of the Watchdog.
If the current state determined by a Watchdog has not changed since the last
run, then the duration
of that Status is extended. If, however, the state
determined by a Watchdog changes from the last run, then a new Status object
is created with an appropriate state
. The state
field of any given Status
object will never change.
Index of Statuses collection. Returns a PagedArray.
watchdog | string (ObjectId) ^[a-fA-F0-9]{24}$ Return the Statuses for the provided Watchdog ObjectId. |
timeline_item | string (UUID) ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... Return the Statuses for the provided TimelineItem UUID. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Statuses to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Status ObjectId after which the returned array of Statuses will begin in descending order. Typically, this is used to retrieve the next page of Statuses in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Status ObjectId before which the returned array of Statuses will end in descending order. Typically, this is used to retrieve the previous page of Statuses in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Status) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 10,
- "data": [
- {
- "id": "62b10ee78fbb653dfc433807",
- "type": "status",
- "created_at": 1655770855,
- "updated_at": 1656030900,
- "watchdog": "60932fa68fbb65f1c3be61df",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 259623,
- "began_at": 1655770855,
- "ended_at": null,
- "_links": {
}
}, - {
- "id": "62b10ec88fbb65d13f433805",
- "type": "status",
- "created_at": 1655770824,
- "updated_at": 1655770855,
- "watchdog": "60932fa68fbb65f1c3be61df",
- "reasons": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "state": -1,
- "semantic": null,
- "duration": 31,
- "began_at": 1655770824,
- "ended_at": 1655770855,
- "_links": {
}
}, - {
- "id": "628d5f3e8fbb65dfa170641e",
- "type": "status",
- "created_at": 1653432126,
- "updated_at": 1656030911,
- "watchdog": "5cabe2388fbb6540136899b4",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 2598587,
- "began_at": 1653432126,
- "ended_at": null,
- "_links": {
}
}, - {
- "id": "6269a9088fbb656d42d881e7",
- "type": "status",
- "created_at": 1651091720,
- "updated_at": 1653432126,
- "watchdog": "5cabe2388fbb6540136899b4",
- "reasons": {
- "type": "paged_array",
- "total_count": 8,
- "data": [
- {
- "id": "628d5d038fbb655c8470641d",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "2606:2800:220:1:248:1893:25c8:1946",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "1c65e8ef2f2cb8bc23384931fd60ed8aeb6cec1f",
- "region": "wa-us-1",
- "duration": 572,
- "began_at": 1653431554,
- "ended_at": 1653432126,
- "_links": {
}
}, - {
- "id": "628d5d038fbb655c8470641c",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "2606:2800:220:1:248:1893:25c8:1946",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "1c65e8ef2f2cb8bc23384931fd60ed8aeb6cec1f",
- "region": "nj-us-1",
- "duration": 572,
- "began_at": 1653431554,
- "ended_at": 1653432126,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf70641b",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "54.218.247.76",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "4402da23c3733f628462c0875d5ff0378d474965",
- "region": "wa-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf70641a",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "52.27.210.93",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "84a21935916a3a82537b5d1e1d1a4aa3568b014d",
- "region": "wa-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706419",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "44.225.164.27",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "2c914693ad522d531622a1b541081b992b51855d",
- "region": "wa-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706418",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "44.225.164.27",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "2c914693ad522d531622a1b541081b992b51855d",
- "region": "nj-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706417",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "54.218.247.76",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "4402da23c3733f628462c0875d5ff0378d474965",
- "region": "nj-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706416",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "52.27.210.93",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "84a21935916a3a82537b5d1e1d1a4aa3568b014d",
- "region": "nj-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}
], - "has_more": false,
- "_links": {
- "self": {
}, - "beginning": {
}
}
}, - "state": -1,
- "semantic": null,
- "duration": 2340155,
- "began_at": 1651091720,
- "ended_at": 1653432126,
- "_links": {
}
}, - {
- "id": "60932fd18fbb6559481eeb49",
- "type": "status",
- "created_at": 1620258769,
- "updated_at": 1655770824,
- "watchdog": "60932fa68fbb65f1c3be61df",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 35511667,
- "began_at": 1620258769,
- "ended_at": 1655770824,
- "_links": {
}
}, - {
- "id": "609319558fbb65944b1eeb47",
- "type": "status",
- "created_at": 1620253013,
- "updated_at": 1656030911,
- "watchdog": "6093192e8fbb653a98502469",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 35777238,
- "began_at": 1620253013,
- "ended_at": null,
- "_links": {
}
}, - {
- "id": "609314a68fbb6597151eeb45",
- "type": "status",
- "created_at": 1620251814,
- "updated_at": 1656030911,
- "watchdog": "609314988fbb653a98502443",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 35778434,
- "began_at": 1620251814,
- "ended_at": null,
- "_links": {
}
}, - {
- "id": "6091f1818fbb65bbc6fc3255",
- "type": "status",
- "created_at": 1620177281,
- "updated_at": 1656030900,
- "watchdog": "6091f1708fbb6536ed3d5e59",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 35852963,
- "began_at": 1620177281,
- "ended_at": null,
- "_links": {
}
}, - {
- "id": "6091f05c8fbb651283fc3253",
- "type": "status",
- "created_at": 1620176988,
- "updated_at": 1656030911,
- "watchdog": "6091f0408fbb6536ed3d5e37",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 35853250,
- "began_at": 1620176988,
- "ended_at": null,
- "_links": {
}
}, - {
- "id": "6091ee7c8fbb650d05fc3251",
- "type": "status",
- "created_at": 1620176508,
- "updated_at": 1656030911,
- "watchdog": "6091ee508fbb653b2287025a",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 35853716,
- "began_at": 1620176508,
- "ended_at": null,
- "_links": {
}
}
], - "has_more": true
}
Retrieve the given Status by ObjectId.
status_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Status. |
state required | integer (integer-state) Enum: -1 0 1 An integer denoting the operational state of this Status. This state affects any related Component Timelines over the duration of this Status. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Status was created. |
ended_at required | integer or null <int64> (Maybe(timestamp)) >= 0 The UNIX timestamp at which this Status stops affecting related Component
Timelines. A value of |
duration required | integer (nonnegative-integer) >= 0 The effective duration of this Status in seconds. The duration is continually extended by
subsequent Watchdog runs until the |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Status was last updated by a Watchdog run. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Status. |
required | object or null (Maybe(Reasons)) When If |
required | ObjectId (string) or Watchdog (object) expandable: true The Watchdog that generated this Status |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
type required | string Value: "status" |
began_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Status begins affecting related Component Timelines. |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "62b10ee78fbb653dfc433807",
- "type": "status",
- "created_at": 1655770855,
- "updated_at": 1656030900,
- "watchdog": "60932fa68fbb65f1c3be61df",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 259623,
- "began_at": 1655770855,
- "ended_at": null,
- "_links": {
}
}
Revises the state of the given sub-operational Status. Often helpful for marking previous downtime streaks as Operational again, in case the automated downtime should be considered incorrect.
A sub-operational Status can be changed to any given state. If the Status borders another Status object with the same state, it will be merged accordingly. This operation will mutate at least one Status, if not the given one. This operation may result in the deletion of one or more Status objects (including the given one), depending on the state of bordering Status objects.
status_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Status. |
state required | integer (integer-state) Enum: -1 0 1 An integer denoting operational state (1 => operational, 0 => degraded, -1 => outage). |
state required | integer (integer-state) Enum: -1 0 1 An integer denoting the operational state of this Status. This state affects any related Component Timelines over the duration of this Status. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Status was created. |
ended_at required | integer or null <int64> (Maybe(timestamp)) >= 0 The UNIX timestamp at which this Status stops affecting related Component
Timelines. A value of |
duration required | integer (nonnegative-integer) >= 0 The effective duration of this Status in seconds. The duration is continually extended by
subsequent Watchdog runs until the |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Status was last updated by a Watchdog run. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Status. |
required | object or null (Maybe(Reasons)) When If |
required | ObjectId (string) or Watchdog (object) expandable: true The Watchdog that generated this Status |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
type required | string Value: "status" |
began_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Status begins affecting related Component Timelines. |
object (HAL Links) An object describing the various link relations for this type. |
{- "state": 1
}
{- "id": "62b10ee78fbb653dfc433807",
- "type": "status",
- "created_at": 1620258769,
- "updated_at": 1656030900,
- "watchdog": "60932fa68fbb65f1c3be61df",
- "reasons": null,
- "state": 1,
- "semantic": null,
- "duration": 35771709,
- "began_at": 1620258769,
- "ended_at": null,
- "_links": {
}
}
Reason objects record the specific (potentially regional) failure reasons that caused
a specific sub-operational Status to occur according to Watchdogs. Reason
objects are only generated by Watchdogs using a supporting service type (i.e.
native
).
Index of Reasons collection. Returns a PagedArray.
fingerprint | string Return Reasons whose |
subject | string Return Reasons whose |
description | string Return Reasons whose |
status | string (ObjectId) ^[a-fA-F0-9]{24}$ Return the Reasons for the provided Status ObjectId. |
watchdog | string (ObjectId) ^[a-fA-F0-9]{24}$ Return the Reasons for the provided Watchdog ObjectId. |
region | string Return Reasons whose |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Reasons to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Reason ObjectId after which the returned array of Reasons will begin in descending order. Typically, this is used to retrieve the next page of Reasons in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Reason ObjectId before which the returned array of Reasons will end in descending order. Typically, this is used to retrieve the previous page of Reasons in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Reason-Expansionary) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 8,
- "data": [
- {
- "id": "628d5d038fbb655c8470641d",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "2606:2800:220:1:248:1893:25c8:1946",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "1c65e8ef2f2cb8bc23384931fd60ed8aeb6cec1f",
- "region": "wa-us-1",
- "duration": 572,
- "began_at": 1653431554,
- "ended_at": 1653432126,
- "_links": {
}
}, - {
- "id": "628d5d038fbb655c8470641c",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "2606:2800:220:1:248:1893:25c8:1946",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "1c65e8ef2f2cb8bc23384931fd60ed8aeb6cec1f",
- "region": "nj-us-1",
- "duration": 572,
- "began_at": 1653431554,
- "ended_at": 1653432126,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf70641b",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "54.218.247.76",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "4402da23c3733f628462c0875d5ff0378d474965",
- "region": "wa-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf70641a",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "52.27.210.93",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "84a21935916a3a82537b5d1e1d1a4aa3568b014d",
- "region": "wa-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706419",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "44.225.164.27",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "2c914693ad522d531622a1b541081b992b51855d",
- "region": "wa-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706418",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "44.225.164.27",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "2c914693ad522d531622a1b541081b992b51855d",
- "region": "nj-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706417",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "54.218.247.76",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "4402da23c3733f628462c0875d5ff0378d474965",
- "region": "nj-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706416",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "52.27.210.93",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "84a21935916a3a82537b5d1e1d1a4aa3568b014d",
- "region": "nj-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}
], - "has_more": false,
- "_links": {
}
}
Retrieve the given Reason by ObjectId.
reason_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Reason. |
subject required | string The specific "subject" of this error, typically a URL, domain name, or IP address. |
context required | Array of strings A list of string terms that further describe the nature of the error, depending
on For example, given a |
ended_at required | integer or null <int64> (Maybe(timestamp)) >= 0 The UNIX timestamp at which this reason finally ceased causing the related sub-operational Status. This field is |
duration required | integer (nonnegative-integer) >= 0 The number of seconds that this Reason lasted. The duration will continually
increase until the Reason ends (when |
region required | string or null (maybe-string) When non-null, describes the physical region (e.g. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Reason. |
fingerprint required | string A unique hash identifying the |
required | ObjectId (string) or Watchdog (object) expandable: true The Watchdog that this Reason pertains to. |
type required | string Value: "reason" |
description required | string A machine-friendly, human-readable description of the error. To maintain
machine-friendliness, this field will always be a underscore-delimited
alphanumeric word (e.g. |
began_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this reason began causing the related sub-operational Status. |
required | ObjectId (string) or Status (object) expandable: true The Status that this Reason is (wholly or partially) responsible for causing. |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "628d5d038fbb655c8470641d",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "2606:2800:220:1:248:1893:25c8:1946",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "1c65e8ef2f2cb8bc23384931fd60ed8aeb6cec1f",
- "region": "wa-us-1",
- "duration": 572,
- "began_at": 1653431554,
- "ended_at": 1653432126,
- "_links": {
}
}
Semantics are applied to Statuses and Issues to give additional or alternative meaning to the core states within Hund (i.e. Operational, Degraded, Outage, Pending).
A Semantic can be applied to any state, which will both rename and recolor the state according to the Semantic. This affects both the display of current state on your status page, as well as the historical timeline.
Semantics can be applied by certain supporting Watchdogs, such as Manual and Webhook.
Issues and Updates can also accept a Semantic in conjunction with their state overrides. Similar to a state override, Semantic overrides will affect the display of ongoing state on your status page for the duration of the overriding Issue/Update.
Create a new Semantic. Returns the newly created Semantic.
color required | string (hex-color) ^[0-9a-f]{6}$ A 6-digit hexadecimal RGB color, used to appropriately color usages of this Semantic on your status page. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the user-facing name of this Semantic. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of this Semantic when shown in the "Status Bar" of your status page, or the page of a specific Component (e.g. "Operating Normally", "Experiencing Downtime", etc.). |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of the Semantic in notifications when it occurs. This string will appear in the notifications from various Notifiers, including Emails, Slack, MS Teams, Web Push, and SMS (e.g. "is degraded", "has gone down" for Degraded and Outage states, respectively; and "has come back up" when entering Operational from a suboperational state). |
(SEMANTIC_ICON_SHORTHAND (string or null)) or (STATICON_ICON (string or null)) (Maybe(SEMANTIC_ICON)) A string denoting a specific icon that should be shown next to Components on your status page when this Semantic occurs. When null, falls back to an icon determined by the underlying state of the Component. | |
slug | string (slug) ^[a-z][a-z0-9_\-]+$ An alphanumeric slug that can be used to reference this Semantic in place of
its |
operational_historical_entry | boolean Default: false Whether to emit historical entries for events with this semantic, particularly when the underlying state is Operational. By default, operational states are not recorded explicitly in history, since it is assumed that streaks of Operational status are typical and expected, and therefore and do not need to be shown as events in history. |
historical_grouping | boolean Default: false Whether to group events with this Semantic with other events of similar underlying state (i.e. suboperational vs. operational) in your status page's historical timeline. |
severity | integer Default: 0 An integer that denotes how "severe" this Semantic is. Smaller (including negative)
values are considered more severe. This field is primarily used to order Semantics,
and choose a predominant Semantic when a Component is under multiple Semantics
(e.g. when multiple Issues are active with |
(integer-state (integer or null)) or (PENDING_STATE (string or null)) (maybe-integer-state-or-pending) The default underlying state that this Semantic implies in cases when a state is not supplied in conjunction with the Semantic (e.g. a Webhook watchdog). Note: This field has no effect on Components where the underlying state is already determined, and thus the Semantic would merely rename/recolor that state, whether ongoing or historical. |
color required | string (hex-color) ^[0-9a-f]{6}$ A 6-digit hexadecimal RGB color, used to appropriately color usages of this Semantic on your status page. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Semantic was created. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the user-facing name of this Semantic. |
required | (SEMANTIC_ICON_SHORTHAND (string or null)) or (STATICON_ICON (string or null)) (Maybe(SEMANTIC_ICON)) A string denoting a specific icon that should be shown next to Components on your status page when this Semantic occurs. When null, falls back to an icon determined by the underlying state of the Component. |
slug required | string (slug) ^[a-z][a-z0-9_\-]+$ An alphanumeric slug that can be used to reference this Semantic in place of
its |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Semantic was last updated. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Semantic. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the |
operational_historical_entry required | boolean Whether to emit historical entries for events with this semantic, particularly when the underlying state is Operational. By default, operational states are not recorded explicitly in history, since it is assumed that streaks of Operational status are typical and expected, and therefore and do not need to be shown as events in history. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of this Semantic when shown in the "Status Bar" of your status page, or the page of a specific Component (e.g. "Operating Normally", "Experiencing Downtime", etc.). |
historical_grouping required | boolean Whether to group events with this Semantic with other events of similar underlying state (i.e. suboperational vs. operational) in your status page's historical timeline. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of the Semantic in notifications when it occurs. This string will appear in the notifications from various Notifiers, including Emails, Slack, MS Teams, Web Push, and SMS (e.g. "is degraded", "has gone down" for Degraded and Outage states, respectively; and "has come back up" when entering Operational from a suboperational state). |
severity required | integer An integer that denotes how "severe" this Semantic is. Smaller (including negative)
values are considered more severe. This field is primarily used to order Semantics,
and choose a predominant Semantic when a Component is under multiple Semantics
(e.g. when multiple Issues are active with |
type required | string Value: "semantic" |
required | (integer-state (integer or null)) or (PENDING_STATE (string or null)) (maybe-integer-state-or-pending) The default underlying state that this Semantic implies in cases when a state is not supplied in conjunction with the Semantic (e.g. a Webhook watchdog). Note: This field has no effect on Components where the underlying state is already determined, and thus the Semantic would merely rename/recolor that state, whether ongoing or historical. |
object (HAL Links) An object describing the various link relations for this type. |
{- "name": "Unavailable",
- "color": "ffff00",
- "status_page_heading": "Service Unavailable",
- "historical_entry_heading": "Unavailable",
- "notification_description": "is unavailable"
}
{- "id": "665e1c6d8fbb65080d60bd40",
- "type": "semantic",
- "created_at": 1717443693,
- "updated_at": 1717443693,
- "name": "Unavailable",
- "slug": "unavailable",
- "color": "ffff00",
- "icon": null,
- "severity": 0,
- "default_state": null,
- "historical_grouping": false,
- "operational_historical_entry": false,
- "status_page_heading": "Service Unavailable",
- "historical_entry_heading": "Unavailable",
- "notification_description": "is unavailable",
- "_links": {
}
}
Index of Semantics collection. Returns a PagedArray.
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Semantics to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Semantic ObjectId after which the returned array of Semantics will begin in descending order. Typically, this is used to retrieve the next page of Semantics in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Semantic ObjectId before which the returned array of Semantics will end in descending order. Typically, this is used to retrieve the previous page of Semantics in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Semantic) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 3,
- "data": [
- {
- "id": "661066a78fbb65f9ac923714",
- "type": "semantic",
- "created_at": 1712350887,
- "updated_at": 1717440636,
- "name": "Disconnected",
- "slug": "disconnected",
- "color": "ff33cc",
- "icon": "plug",
- "severity": -1,
- "default_state": null,
- "historical_grouping": false,
- "operational_historical_entry": false,
- "status_page_heading": "Not Accepting Requests",
- "historical_entry_heading": "Requests Denied",
- "notification_description": "is not accepting requests",
- "_links": {
}
}, - {
- "id": "661066058fbb65f9ac923713",
- "type": "semantic",
- "created_at": 1712350725,
- "updated_at": 1714422124,
- "name": "No Data",
- "slug": "no-data",
- "color": "aaaaaa",
- "icon": null,
- "severity": 1,
- "default_state": "pending",
- "historical_grouping": false,
- "operational_historical_entry": false,
- "status_page_heading": "No Data Available",
- "historical_entry_heading": "No Data",
- "notification_description": "not receiving data",
- "_links": {
}
}, - {
- "id": "661063f08fbb65f9ac923712",
- "type": "semantic",
- "created_at": 1712350192,
- "updated_at": 1714422100,
- "name": "Partial Outage",
- "slug": "partial-outage",
- "color": "ff6633",
- "icon": null,
- "severity": -2,
- "default_state": 0,
- "historical_grouping": false,
- "operational_historical_entry": false,
- "status_page_heading": "Experiencing Partial Outage",
- "historical_entry_heading": "Partial Outage",
- "notification_description": "is partially down",
- "_links": {
}
}
], - "has_more": false,
- "_links": {
}
}
Update the given Semantic by ObjectId.
semantic_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Semantic. |
color | string (hex-color) ^[0-9a-f]{6}$ A 6-digit hexadecimal RGB color, used to appropriately color usages of this Semantic on your status page. |
i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the user-facing name of this Semantic. | |
(SEMANTIC_ICON_SHORTHAND (string or null)) or (STATICON_ICON (string or null)) (Maybe(SEMANTIC_ICON)) A string denoting a specific icon that should be shown next to Components on your status page when this Semantic occurs. When null, falls back to an icon determined by the underlying state of the Component. | |
slug | string (slug) ^[a-z][a-z0-9_\-]+$ An alphanumeric slug that can be used to reference this Semantic in place of
its |
i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the | |
i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of this Semantic when shown in the "Status Bar" of your status page, or the page of a specific Component (e.g. "Operating Normally", "Experiencing Downtime", etc.). | |
operational_historical_entry | boolean Whether to emit historical entries for events with this semantic, particularly when the underlying state is Operational. By default, operational states are not recorded explicitly in history, since it is assumed that streaks of Operational status are typical and expected, and therefore and do not need to be shown as events in history. |
historical_grouping | boolean Whether to group events with this Semantic with other events of similar underlying state (i.e. suboperational vs. operational) in your status page's historical timeline. |
i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of the Semantic in notifications when it occurs. This string will appear in the notifications from various Notifiers, including Emails, Slack, MS Teams, Web Push, and SMS (e.g. "is degraded", "has gone down" for Degraded and Outage states, respectively; and "has come back up" when entering Operational from a suboperational state). | |
severity | integer An integer that denotes how "severe" this Semantic is. Smaller (including negative)
values are considered more severe. This field is primarily used to order Semantics,
and choose a predominant Semantic when a Component is under multiple Semantics
(e.g. when multiple Issues are active with |
(integer-state (integer or null)) or (PENDING_STATE (string or null)) (maybe-integer-state-or-pending) The default underlying state that this Semantic implies in cases when a state is not supplied in conjunction with the Semantic (e.g. a Webhook watchdog). Note: This field has no effect on Components where the underlying state is already determined, and thus the Semantic would merely rename/recolor that state, whether ongoing or historical. |
color required | string (hex-color) ^[0-9a-f]{6}$ A 6-digit hexadecimal RGB color, used to appropriately color usages of this Semantic on your status page. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Semantic was created. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the user-facing name of this Semantic. |
required | (SEMANTIC_ICON_SHORTHAND (string or null)) or (STATICON_ICON (string or null)) (Maybe(SEMANTIC_ICON)) A string denoting a specific icon that should be shown next to Components on your status page when this Semantic occurs. When null, falls back to an icon determined by the underlying state of the Component. |
slug required | string (slug) ^[a-z][a-z0-9_\-]+$ An alphanumeric slug that can be used to reference this Semantic in place of
its |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Semantic was last updated. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Semantic. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the |
operational_historical_entry required | boolean Whether to emit historical entries for events with this semantic, particularly when the underlying state is Operational. By default, operational states are not recorded explicitly in history, since it is assumed that streaks of Operational status are typical and expected, and therefore and do not need to be shown as events in history. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of this Semantic when shown in the "Status Bar" of your status page, or the page of a specific Component (e.g. "Operating Normally", "Experiencing Downtime", etc.). |
historical_grouping required | boolean Whether to group events with this Semantic with other events of similar underlying state (i.e. suboperational vs. operational) in your status page's historical timeline. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of the Semantic in notifications when it occurs. This string will appear in the notifications from various Notifiers, including Emails, Slack, MS Teams, Web Push, and SMS (e.g. "is degraded", "has gone down" for Degraded and Outage states, respectively; and "has come back up" when entering Operational from a suboperational state). |
severity required | integer An integer that denotes how "severe" this Semantic is. Smaller (including negative)
values are considered more severe. This field is primarily used to order Semantics,
and choose a predominant Semantic when a Component is under multiple Semantics
(e.g. when multiple Issues are active with |
type required | string Value: "semantic" |
required | (integer-state (integer or null)) or (PENDING_STATE (string or null)) (maybe-integer-state-or-pending) The default underlying state that this Semantic implies in cases when a state is not supplied in conjunction with the Semantic (e.g. a Webhook watchdog). Note: This field has no effect on Components where the underlying state is already determined, and thus the Semantic would merely rename/recolor that state, whether ongoing or historical. |
object (HAL Links) An object describing the various link relations for this type. |
{- "icon": "circle-slash"
}
{- "id": "665e1c6d8fbb65080d60bd40",
- "type": "semantic",
- "created_at": 1717443693,
- "updated_at": 1717443780,
- "name": "Unavailable",
- "slug": "unavailable",
- "color": "ffff00",
- "icon": "circle-slash",
- "severity": 0,
- "default_state": null,
- "historical_grouping": false,
- "operational_historical_entry": false,
- "status_page_heading": "Service Unavailable",
- "historical_entry_heading": "Unavailable",
- "notification_description": "is unavailable",
- "_links": {
}
}
Delete the given Semantic by ObjectId.
semantic_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Semantic. |
{- "type": "api/error/not_authorized",
- "logref": "018fdf9b-352d-73f1-8dac-73c2f591cd0a",
- "message": "Insufficient API key permissions."
}
Retrieve the given Semantic by ObjectId.
semantic_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Semantic. |
color required | string (hex-color) ^[0-9a-f]{6}$ A 6-digit hexadecimal RGB color, used to appropriately color usages of this Semantic on your status page. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Semantic was created. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the user-facing name of this Semantic. |
required | (SEMANTIC_ICON_SHORTHAND (string or null)) or (STATICON_ICON (string or null)) (Maybe(SEMANTIC_ICON)) A string denoting a specific icon that should be shown next to Components on your status page when this Semantic occurs. When null, falls back to an icon determined by the underlying state of the Component. |
slug required | string (slug) ^[a-z][a-z0-9_\-]+$ An alphanumeric slug that can be used to reference this Semantic in place of
its |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Semantic was last updated. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Semantic. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the |
operational_historical_entry required | boolean Whether to emit historical entries for events with this semantic, particularly when the underlying state is Operational. By default, operational states are not recorded explicitly in history, since it is assumed that streaks of Operational status are typical and expected, and therefore and do not need to be shown as events in history. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of this Semantic when shown in the "Status Bar" of your status page, or the page of a specific Component (e.g. "Operating Normally", "Experiencing Downtime", etc.). |
historical_grouping required | boolean Whether to group events with this Semantic with other events of similar underlying state (i.e. suboperational vs. operational) in your status page's historical timeline. |
required | i18n-string (string) or i18n (object) (i18n-string) An I18nString representing the description of the Semantic in notifications when it occurs. This string will appear in the notifications from various Notifiers, including Emails, Slack, MS Teams, Web Push, and SMS (e.g. "is degraded", "has gone down" for Degraded and Outage states, respectively; and "has come back up" when entering Operational from a suboperational state). |
severity required | integer An integer that denotes how "severe" this Semantic is. Smaller (including negative)
values are considered more severe. This field is primarily used to order Semantics,
and choose a predominant Semantic when a Component is under multiple Semantics
(e.g. when multiple Issues are active with |
type required | string Value: "semantic" |
required | (integer-state (integer or null)) or (PENDING_STATE (string or null)) (maybe-integer-state-or-pending) The default underlying state that this Semantic implies in cases when a state is not supplied in conjunction with the Semantic (e.g. a Webhook watchdog). Note: This field has no effect on Components where the underlying state is already determined, and thus the Semantic would merely rename/recolor that state, whether ongoing or historical. |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "661066a78fbb65f9ac923714",
- "type": "semantic",
- "created_at": 1712350887,
- "updated_at": 1717440636,
- "name": "Disconnected",
- "slug": "disconnected",
- "color": "ff33cc",
- "icon": "plug",
- "severity": -1,
- "default_state": null,
- "historical_grouping": false,
- "operational_historical_entry": false,
- "status_page_heading": "Not Accepting Requests",
- "historical_entry_heading": "Requests Denied",
- "notification_description": "is not accepting requests",
- "_links": {
}
}
Issues represent an evolving incident in time. Issues have updates, which describe the evolution of an issue, often up to resolution. Issues may also set a schedule, which allows automatically starting and ending the issue.
Index of Issues collection. Returns a PagedArray.
components[] | Array of strings (ObjectId) One or more Components to return Issues for. To use this query parameter,
supply |
component | string (ObjectId) ^[a-fA-F0-9]{24}$ A single Component to return Issues for. This field is ignored if
|
standing | boolean Default: false When true, returns only ongoing Issues. |
upcoming | boolean Default: false When true, returns only upcoming scheduled Issues. |
resolved | boolean Default: false When true, returns only resolved Issues. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Issues to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Issue ObjectId after which the returned array of Issues will begin in descending order. Typically, this is used to retrieve the next page of Issues in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Issue ObjectId before which the returned array of Issues will end in descending order. Typically, this is used to retrieve the previous page of Issues in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Issue) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": null,
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": -1,
- "semantic_override": null,
- "created_at": 1543950000,
- "updated_at": 1543950000,
- "title": "Issue 34",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}, - {
- "id": "5c06ee938fbb652ab878c2aa",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580358022,
- "exclude_from_global_uptime": true,
- "exclude_from_global_history": false,
- "name": "Component 66",
- "description": null,
- "description_html": "",
- "group": "5c06ee938fbb652ab878c2a9",
- "watchdog": "5c06ee938fbb652ab878c212",
- "percent_uptime": 100
}
]
}, - "specialization": "general",
- "retrospective": false,
- "scheduled": true,
- "standing": true,
- "resolved": false,
- "cancelled": null,
- "began_at": 1543958167,
- "ended_at": null,
- "duration": 3650,
- "cancelled_at": null,
- "schedule": {
- "id": "5c06ee9a8fbb652ab878c4ee",
- "type": "schedule",
- "starts_at": 1543958167,
- "ends_at": 1543965370,
- "notify_subscribers_at": 1543951000,
- "started": true,
- "ended": false,
- "notified": true
}, - "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false
}
}, - {
- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": "maintenance",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543958167,
- "updated_at": 1543958167,
- "title": "Unplanned maintenance",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}
]
}, - "specialization": "maintenance",
- "retrospective": false,
- "scheduled": false,
- "standing": false,
- "resolved": true,
- "cancelled": null,
- "began_at": 1543958167,
- "ended_at": 1543959101,
- "duration": 934,
- "cancelled_at": null,
- "schedule": null,
- "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5c16fe948fbb652ab878c2cc",
- "type": "update",
- "label": "resolved",
- "body": "Maintenance has concluded. Thank you for your patience.",
- "body_html": "<p>Maintenance has concluded. Thank you for your patience.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543959101,
- "updated_at": 1543959101,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": true,
- "effective_after": 1543959101
}, - {
- "id": "5c16ee948fbb652ab878c2c6",
- "type": "update",
- "label": null,
- "body": "Systems will be degraded during this portion of maintenance. Please be patient, as some requests may be delayed.",
- "body_html": "<p>Systems will be degraded during this portion of maintenance. Please be patient, as some requests may be delayed.</p>\n",
- "state_override": 0,
- "semantic_override": null,
- "created_at": 1543958900,
- "updated_at": 1543958900,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": false,
- "effective_after": 1543958900
}
]
}
}
]
}
Create a new Issue. Returns the newly created Issue.
components required | Array of strings (ObjectId) The Components affected by this Issue. |
open_graph_image_url | string or null (maybe-string) The URL to an image which will be displayed alongside this issue when shared on social media websites. |
i18n-string (string) or i18n (object) (i18n-string) The initial body text of the issue in raw markdown. | |
ObjectId (string) or IssueTemplate (object) The IssueTemplateApplication that this Issue is applied against, which controls
the values of | |
(slug (string or null)) or (ObjectId (string or null)) | |
ended_at | integer <int64> >= 0 The UNIX timestamp at which this Issue stopped affecting its given Components. This
field is |
Array of objects (Update) A PagedArray whose | |
object (Schedule) An object detailing the Schedule of this issue if it is scheduled. This field
is | |
i18n-string (string) or i18n (object) (i18n-string) The title of the Issue. | |
state_override | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label | string or null (Maybe(ISSUE_LABEL)) Enum: "assessed" "identified" "informational" "investigating" "maintenance" The initial label applied to the issue. The "current" label of the entire
issue may be updated by the labels of Issue Updates, though this must be taken
from the latest Update in |
priority | integer Default: 0 Enum: -1 0 1 The integer priority of the Issue. Priority pertains to how notifications are triggered for this Issue: -1 indicates low priority, meaning no notifications whatsoever will be triggered for this issue; 0 indicates normal priority, which is the default behavior; and, 1 indicates high priority, meaning all subscriptions across all notifiers will receive notifications for this Issue regardless of their notification preferences. |
began_at | integer <int64> >= 0 The UNIX timestamp at which this Issue began affecting its given Components. |
open_graph_image_url required | string or null (maybe-string) The URL to an image which will be displayed alongside this issue when shared on social media websites. |
scheduled required | boolean Whether this Issue has a Schedule. |
specialization required | string (ISSUE_SPECIALIZATION) Enum: "informational" "maintenance" "general" Whether this Issue has special abilities or connotations. |
required | i18n-string (string) or i18n (object) (i18n-string) The initial body text of the issue in raw markdown. |
required | object or null (Maybe(IssueTemplate) The IssueTemplateApplication that this Issue is applied against, which controls
the values of |
retrospective required | boolean Whether this Issue is retrospective; that is, the Issue was created both resolved and backdated. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was created. |
standing required | boolean Whether this Issue is currently active and affecting its given Components. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendered view of the markdown in |
resolved required | boolean Whether this Issue is currently resolved, thus no longer affecting its given Components. |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
required | object (PagedArray) The Components affected by this Issue. |
required | object (PagedArray) A PagedArray whose |
ended_at required | integer or null <int64> (maybe-timestamp) >= 0 The UNIX timestamp at which this Issue stopped affecting its given Components. This
field is |
duration required | integer (nonnegative-integer) >= 0 The effective duration of this Issue in seconds. That is, the total amount of time for which this Issue affects its Components. Thus, this field only accumulates while the Issue is ongoing/open. Note: This value is zero for cancelled and informational Issues. For scheduled Issues, this field will remain zero until the Issue begins according to the Schedule. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Issue. |
required | object or null (Maybe(Schedule)) An object detailing the Schedule of this issue if it is scheduled. This field
is |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was last updated. |
required | i18n-string (string) or i18n (object) (i18n-string) The title of the Issue. |
state_override required | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label required | string or null (Maybe(ISSUE_LABEL)) Enum: "assessed" "identified" "informational" "investigating" "maintenance" The initial label applied to the issue. The "current" label of the entire
issue may be updated by the labels of Issue Updates, though this must be taken
from the latest Update in |
cancelled_at required | integer or null <int64> (maybe-timestamp) >= 0 The time at which this Issue was cancelled. This field is |
type required | string Value: "issue" |
priority required | integer (ISSUE_PRIORITY) Enum: -1 0 1 The integer priority of the Issue. Priority pertains to how notifications are triggered for this Issue: -1 indicates low priority, meaning no notifications whatsoever will be triggered for this issue; 0 indicates normal priority, which is the default behavior; and, 1 indicates high priority, meaning all subscriptions across all notifiers will receive notifications for this Issue regardless of their notification preferences. |
began_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue began affecting its given Components. |
cancelled required | boolean or null (maybe-boolean) Whether this Issue has been cancelled. Note that this field is |
object (HAL Links) An object describing the various link relations for this type. |
{- "title": "Unplanned maintenance",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "label": "maintenance",
- "components": [
- "5c06ee938fbb652ab878c2a2"
]
}
{- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": "maintenance",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543958167,
- "updated_at": 1543958167,
- "title": "Unplanned maintenance",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}
]
}, - "specialization": "maintenance",
- "retrospective": false,
- "scheduled": false,
- "standing": true,
- "resolved": false,
- "cancelled": null,
- "began_at": 1543958167,
- "ended_at": null,
- "duration": 0,
- "cancelled_at": null,
- "schedule": null,
- "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ]
}
}
Preview a new Issue. Returns the Issue that would be created if the same request is made against the actual collection.
This endpoint does not persist the returned Issue.
components required | Array of strings (ObjectId) The Components affected by this Issue. |
open_graph_image_url | string or null (maybe-string) The URL to an image which will be displayed alongside this issue when shared on social media websites. |
i18n-string (string) or i18n (object) (i18n-string) The initial body text of the issue in raw markdown. | |
ObjectId (string) or IssueTemplate (object) The IssueTemplateApplication that this Issue is applied against, which controls
the values of | |
(slug (string or null)) or (ObjectId (string or null)) | |
ended_at | integer <int64> >= 0 The UNIX timestamp at which this Issue stopped affecting its given Components. This
field is |
Array of objects (Update) A PagedArray whose | |
object (Schedule) An object detailing the Schedule of this issue if it is scheduled. This field
is | |
i18n-string (string) or i18n (object) (i18n-string) The title of the Issue. | |
state_override | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label | string or null (Maybe(ISSUE_LABEL)) Enum: "assessed" "identified" "informational" "investigating" "maintenance" The initial label applied to the issue. The "current" label of the entire
issue may be updated by the labels of Issue Updates, though this must be taken
from the latest Update in |
priority | integer Default: 0 Enum: -1 0 1 The integer priority of the Issue. Priority pertains to how notifications are triggered for this Issue: -1 indicates low priority, meaning no notifications whatsoever will be triggered for this issue; 0 indicates normal priority, which is the default behavior; and, 1 indicates high priority, meaning all subscriptions across all notifiers will receive notifications for this Issue regardless of their notification preferences. |
began_at | integer <int64> >= 0 The UNIX timestamp at which this Issue began affecting its given Components. |
open_graph_image_url required | string or null (maybe-string) The URL to an image which will be displayed alongside this issue when shared on social media websites. |
scheduled required | boolean Whether this Issue has a Schedule. |
specialization required | string (ISSUE_SPECIALIZATION) Enum: "informational" "maintenance" "general" Whether this Issue has special abilities or connotations. |
required | i18n-string (string) or i18n (object) (i18n-string) The initial body text of the issue in raw markdown. |
required | object or null (Maybe(IssueTemplate) The IssueTemplateApplication that this Issue is applied against, which controls
the values of |
retrospective required | boolean Whether this Issue is retrospective; that is, the Issue was created both resolved and backdated. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was created. |
standing required | boolean Whether this Issue is currently active and affecting its given Components. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendered view of the markdown in |
resolved required | boolean Whether this Issue is currently resolved, thus no longer affecting its given Components. |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
required | object (PagedArray) The Components affected by this Issue. |
required | object (PagedArray) A PagedArray whose |
ended_at required | integer or null <int64> (maybe-timestamp) >= 0 The UNIX timestamp at which this Issue stopped affecting its given Components. This
field is |
duration required | integer (nonnegative-integer) >= 0 The effective duration of this Issue in seconds. That is, the total amount of time for which this Issue affects its Components. Thus, this field only accumulates while the Issue is ongoing/open. Note: This value is zero for cancelled and informational Issues. For scheduled Issues, this field will remain zero until the Issue begins according to the Schedule. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Issue. |
required | object or null (Maybe(Schedule)) An object detailing the Schedule of this issue if it is scheduled. This field
is |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was last updated. |
required | i18n-string (string) or i18n (object) (i18n-string) The title of the Issue. |
state_override required | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label required | string or null (Maybe(ISSUE_LABEL)) Enum: "assessed" "identified" "informational" "investigating" "maintenance" The initial label applied to the issue. The "current" label of the entire
issue may be updated by the labels of Issue Updates, though this must be taken
from the latest Update in |
cancelled_at required | integer or null <int64> (maybe-timestamp) >= 0 The time at which this Issue was cancelled. This field is |
type required | string Value: "issue" |
priority required | integer (ISSUE_PRIORITY) Enum: -1 0 1 The integer priority of the Issue. Priority pertains to how notifications are triggered for this Issue: -1 indicates low priority, meaning no notifications whatsoever will be triggered for this issue; 0 indicates normal priority, which is the default behavior; and, 1 indicates high priority, meaning all subscriptions across all notifiers will receive notifications for this Issue regardless of their notification preferences. |
began_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue began affecting its given Components. |
cancelled required | boolean or null (maybe-boolean) Whether this Issue has been cancelled. Note that this field is |
object (HAL Links) An object describing the various link relations for this type. |
{- "title": "Unplanned maintenance",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "label": "maintenance",
- "components": [
- "5c06ee938fbb652ab878c2a2"
]
}
{- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": "maintenance",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543958167,
- "updated_at": 1543958167,
- "title": "Unplanned maintenance",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}
]
}, - "specialization": "maintenance",
- "retrospective": false,
- "scheduled": false,
- "standing": true,
- "resolved": false,
- "cancelled": null,
- "began_at": 1543958167,
- "ended_at": null,
- "duration": 0,
- "cancelled_at": null,
- "schedule": null,
- "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ]
}
}
Revise an Issue by ObjectId.
Note: this endpoint does not create Issue Updates, but merely revises the properties of the original Issue.
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue. |
open_graph_image_url | string or null (maybe-string) The URL to an image which will be displayed alongside this issue when shared on social media websites. |
(ObjectId (string or null)) or (IssueTemplate (object or null)) or (IssueTemplate (object or null)) | |
i18n-string (string) or i18n (object) (i18n-string) The initial body text of the issue in raw markdown. | |
components | Array of strings (ObjectId) The Components affected by this Issue. |
(slug (string or null)) or (ObjectId (string or null)) | |
object (Schedule) An object detailing the Schedule of this issue if it is scheduled. This field
is | |
i18n-string (string) or i18n (object) (i18n-string) The title of the Issue. | |
state_override | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label | string or null (Maybe(ISSUE_LABEL)) Enum: "assessed" "identified" "informational" "investigating" "maintenance" The initial label applied to the issue. The "current" label of the entire
issue may be updated by the labels of Issue Updates, though this must be taken
from the latest Update in |
priority | integer (ISSUE_PRIORITY) Enum: -1 0 1 The integer priority of the Issue. Priority pertains to how notifications are triggered for this Issue: -1 indicates low priority, meaning no notifications whatsoever will be triggered for this issue; 0 indicates normal priority, which is the default behavior; and, 1 indicates high priority, meaning all subscriptions across all notifiers will receive notifications for this Issue regardless of their notification preferences. |
began_at | integer <int64> >= 0 The UNIX timestamp at which this Issue began affecting its given Components. |
open_graph_image_url required | string or null (maybe-string) The URL to an image which will be displayed alongside this issue when shared on social media websites. |
scheduled required | boolean Whether this Issue has a Schedule. |
specialization required | string (ISSUE_SPECIALIZATION) Enum: "informational" "maintenance" "general" Whether this Issue has special abilities or connotations. |
required | i18n-string (string) or i18n (object) (i18n-string) The initial body text of the issue in raw markdown. |
required | object or null (Maybe(IssueTemplate) The IssueTemplateApplication that this Issue is applied against, which controls
the values of |
retrospective required | boolean Whether this Issue is retrospective; that is, the Issue was created both resolved and backdated. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was created. |
standing required | boolean Whether this Issue is currently active and affecting its given Components. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendered view of the markdown in |
resolved required | boolean Whether this Issue is currently resolved, thus no longer affecting its given Components. |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
required | object (PagedArray) The Components affected by this Issue. |
required | object (PagedArray) A PagedArray whose |
ended_at required | integer or null <int64> (maybe-timestamp) >= 0 The UNIX timestamp at which this Issue stopped affecting its given Components. This
field is |
duration required | integer (nonnegative-integer) >= 0 The effective duration of this Issue in seconds. That is, the total amount of time for which this Issue affects its Components. Thus, this field only accumulates while the Issue is ongoing/open. Note: This value is zero for cancelled and informational Issues. For scheduled Issues, this field will remain zero until the Issue begins according to the Schedule. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Issue. |
required | object or null (Maybe(Schedule)) An object detailing the Schedule of this issue if it is scheduled. This field
is |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was last updated. |
required | i18n-string (string) or i18n (object) (i18n-string) The title of the Issue. |
state_override required | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label required | string or null (Maybe(ISSUE_LABEL)) Enum: "assessed" "identified" "informational" "investigating" "maintenance" The initial label applied to the issue. The "current" label of the entire
issue may be updated by the labels of Issue Updates, though this must be taken
from the latest Update in |
cancelled_at required | integer or null <int64> (maybe-timestamp) >= 0 The time at which this Issue was cancelled. This field is |
type required | string Value: "issue" |
priority required | integer (ISSUE_PRIORITY) Enum: -1 0 1 The integer priority of the Issue. Priority pertains to how notifications are triggered for this Issue: -1 indicates low priority, meaning no notifications whatsoever will be triggered for this issue; 0 indicates normal priority, which is the default behavior; and, 1 indicates high priority, meaning all subscriptions across all notifiers will receive notifications for this Issue regardless of their notification preferences. |
began_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue began affecting its given Components. |
cancelled required | boolean or null (maybe-boolean) Whether this Issue has been cancelled. Note that this field is |
object (HAL Links) An object describing the various link relations for this type. |
{- "body": "We are currently doing some spot upgrades to degraded subsystems to maintain stability."
}
{- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": "maintenance",
- "body": "We are currently doing some spot upgrades to degraded subsystems to maintain stability.",
- "body_html": "<p>We are currently doing some spot upgrades to degraded subsystems to maintain stability.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543958167,
- "updated_at": 1543958400,
- "title": "Unplanned maintenance",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}
]
}, - "specialization": "maintenance",
- "retrospective": false,
- "scheduled": false,
- "standing": true,
- "resolved": false,
- "cancelled": null,
- "began_at": 1543958167,
- "ended_at": null,
- "duration": 3670,
- "cancelled_at": null,
- "schedule": null,
- "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ]
}
}
Delete the given Issue by ObjectId.
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue. |
{- "message": "Insufficient API key permissions.",
- "logref": "2112f739-d1c5-4735-a686-d8a08a64686d"
}
Retrieve the given Issue by ObjectId.
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue. |
open_graph_image_url required | string or null (maybe-string) The URL to an image which will be displayed alongside this issue when shared on social media websites. |
scheduled required | boolean Whether this Issue has a Schedule. |
specialization required | string (ISSUE_SPECIALIZATION) Enum: "informational" "maintenance" "general" Whether this Issue has special abilities or connotations. |
required | i18n-string (string) or i18n (object) (i18n-string) The initial body text of the issue in raw markdown. |
required | object or null (Maybe(IssueTemplate) The IssueTemplateApplication that this Issue is applied against, which controls
the values of |
retrospective required | boolean Whether this Issue is retrospective; that is, the Issue was created both resolved and backdated. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was created. |
standing required | boolean Whether this Issue is currently active and affecting its given Components. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendered view of the markdown in |
resolved required | boolean Whether this Issue is currently resolved, thus no longer affecting its given Components. |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
required | object (PagedArray) The Components affected by this Issue. |
required | object (PagedArray) A PagedArray whose |
ended_at required | integer or null <int64> (maybe-timestamp) >= 0 The UNIX timestamp at which this Issue stopped affecting its given Components. This
field is |
duration required | integer (nonnegative-integer) >= 0 The effective duration of this Issue in seconds. That is, the total amount of time for which this Issue affects its Components. Thus, this field only accumulates while the Issue is ongoing/open. Note: This value is zero for cancelled and informational Issues. For scheduled Issues, this field will remain zero until the Issue begins according to the Schedule. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Issue. |
required | object or null (Maybe(Schedule)) An object detailing the Schedule of this issue if it is scheduled. This field
is |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was last updated. |
required | i18n-string (string) or i18n (object) (i18n-string) The title of the Issue. |
state_override required | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label required | string or null (Maybe(ISSUE_LABEL)) Enum: "assessed" "identified" "informational" "investigating" "maintenance" The initial label applied to the issue. The "current" label of the entire
issue may be updated by the labels of Issue Updates, though this must be taken
from the latest Update in |
cancelled_at required | integer or null <int64> (maybe-timestamp) >= 0 The time at which this Issue was cancelled. This field is |
type required | string Value: "issue" |
priority required | integer (ISSUE_PRIORITY) Enum: -1 0 1 The integer priority of the Issue. Priority pertains to how notifications are triggered for this Issue: -1 indicates low priority, meaning no notifications whatsoever will be triggered for this issue; 0 indicates normal priority, which is the default behavior; and, 1 indicates high priority, meaning all subscriptions across all notifiers will receive notifications for this Issue regardless of their notification preferences. |
began_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue began affecting its given Components. |
cancelled required | boolean or null (maybe-boolean) Whether this Issue has been cancelled. Note that this field is |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": "maintenance",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543958167,
- "updated_at": 1543958167,
- "title": "Unplanned maintenance",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}
]
}, - "specialization": "maintenance",
- "retrospective": false,
- "scheduled": false,
- "standing": false,
- "resolved": true,
- "cancelled": null,
- "began_at": 1543958167,
- "ended_at": 1543959101,
- "duration": 934,
- "cancelled_at": null,
- "schedule": null,
- "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5c16fe948fbb652ab878c2cc",
- "type": "update",
- "label": "resolved",
- "body": "Maintenance has concluded. Thank you for your patience.",
- "body_html": "<p>Maintenance has concluded. Thank you for your patience.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543959101,
- "updated_at": 1543959101,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": true,
- "effective_after": 1543959101
}, - {
- "id": "5c16ee948fbb652ab878c2c6",
- "type": "update",
- "label": null,
- "body": "Systems will be degraded during this portion of maintenance. Please be patient, as some requests may be delayed.",
- "body_html": "<p>Systems will be degraded during this portion of maintenance. Please be patient, as some requests may be delayed.</p>\n",
- "state_override": 0,
- "semantic_override": null,
- "created_at": 1543958900,
- "updated_at": 1543958900,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": false,
- "effective_after": 1543958900
}
]
}
}
Cancel a scheduled issue, before or after it starts. Scheduled issues that have already ended cannot be cancelled.
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue. |
ObjectId (string) or IssueTemplate (object) An optional Issue Template which will create an Issue Update describing
the cancellation. This field takes precedence over | |
i18n-string (string) or i18n (object) (i18n-string) An optional Issue Update body describing the cancellation. |
open_graph_image_url required | string or null (maybe-string) The URL to an image which will be displayed alongside this issue when shared on social media websites. |
scheduled required | boolean Whether this Issue has a Schedule. |
specialization required | string (ISSUE_SPECIALIZATION) Enum: "informational" "maintenance" "general" Whether this Issue has special abilities or connotations. |
required | i18n-string (string) or i18n (object) (i18n-string) The initial body text of the issue in raw markdown. |
required | object or null (Maybe(IssueTemplate) The IssueTemplateApplication that this Issue is applied against, which controls
the values of |
retrospective required | boolean Whether this Issue is retrospective; that is, the Issue was created both resolved and backdated. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was created. |
standing required | boolean Whether this Issue is currently active and affecting its given Components. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendered view of the markdown in |
resolved required | boolean Whether this Issue is currently resolved, thus no longer affecting its given Components. |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
required | object (PagedArray) The Components affected by this Issue. |
required | object (PagedArray) A PagedArray whose |
ended_at required | integer or null <int64> (maybe-timestamp) >= 0 The UNIX timestamp at which this Issue stopped affecting its given Components. This
field is |
duration required | integer (nonnegative-integer) >= 0 The effective duration of this Issue in seconds. That is, the total amount of time for which this Issue affects its Components. Thus, this field only accumulates while the Issue is ongoing/open. Note: This value is zero for cancelled and informational Issues. For scheduled Issues, this field will remain zero until the Issue begins according to the Schedule. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Issue. |
required | object or null (Maybe(Schedule)) An object detailing the Schedule of this issue if it is scheduled. This field
is |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue was last updated. |
required | i18n-string (string) or i18n (object) (i18n-string) The title of the Issue. |
state_override required | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label required | string or null (Maybe(ISSUE_LABEL)) Enum: "assessed" "identified" "informational" "investigating" "maintenance" The initial label applied to the issue. The "current" label of the entire
issue may be updated by the labels of Issue Updates, though this must be taken
from the latest Update in |
cancelled_at required | integer or null <int64> (maybe-timestamp) >= 0 The time at which this Issue was cancelled. This field is |
type required | string Value: "issue" |
priority required | integer (ISSUE_PRIORITY) Enum: -1 0 1 The integer priority of the Issue. Priority pertains to how notifications are triggered for this Issue: -1 indicates low priority, meaning no notifications whatsoever will be triggered for this issue; 0 indicates normal priority, which is the default behavior; and, 1 indicates high priority, meaning all subscriptions across all notifiers will receive notifications for this Issue regardless of their notification preferences. |
began_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Issue began affecting its given Components. |
cancelled required | boolean or null (maybe-boolean) Whether this Issue has been cancelled. Note that this field is |
object (HAL Links) An object describing the various link relations for this type. |
{- "body": "We have discovered that this scheduled work is not actually necessary. Services continue to run as normal."
}
{- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": null,
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": -1,
- "semantic_override": null,
- "created_at": 1543950000,
- "updated_at": 1543950000,
- "title": "Issue 34",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}, - {
- "id": "5c06ee938fbb652ab878c2aa",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580358022,
- "exclude_from_global_uptime": true,
- "exclude_from_global_history": false,
- "name": "Component 66",
- "description": null,
- "description_html": "",
- "group": "5c06ee938fbb652ab878c2a9",
- "watchdog": "5c06ee938fbb652ab878c212",
- "percent_uptime": 100
}
]
}, - "specialization": "general",
- "retrospective": false,
- "scheduled": true,
- "standing": false,
- "resolved": false,
- "cancelled": true,
- "began_at": 1543958167,
- "ended_at": null,
- "duration": 0,
- "cancelled_at": 1543963200,
- "schedule": {
- "id": "5c06ee9a8fbb652ab878c4ee",
- "type": "schedule",
- "starts_at": 1543958167,
- "ends_at": 1543965370,
- "notify_subscribers_at": 1543951000,
- "started": true,
- "ended": false,
- "notified": true
}, - "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c16ff948fbb652ab878c2dd",
- "type": "update",
- "label": null,
- "body": "We have discovered that this scheduled work is not actually necessary. Services continue to run as normal.",
- "body_html": "<p>We have discovered that this scheduled work is not actually necessary. Services continue to run as normal.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543963200,
- "updated_at": 1543963200,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": true,
- "effective_after": 1543963200
}
]
}
}
Issue Updates describe a particular phase in the evolution of an issue. Updates have their own bodies and label, and can also change the current state override of the Issue. Updates are also responsible for resolving/reopening Issues, as well as adding addendums/postmortems to the end of an Issue.
Index of Updates collection. Returns a PagedArray.
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Updates to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Update ObjectId after which the returned array of Updates will begin in descending order. Typically, this is used to retrieve the next page of Updates in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Update ObjectId before which the returned array of Updates will end in descending order. Typically, this is used to retrieve the previous page of Updates in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Update-Expansionary) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "5c16fe948fbb652ab878c2cc",
- "type": "update",
- "label": "resolved",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543959101,
- "updated_at": 1543959101,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": true,
- "effective_after": 1543959101
}, - {
- "id": "5c16ee948fbb652ab878c2c6",
- "type": "update",
- "label": null,
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": 0,
- "semantic_override": null,
- "created_at": 1543958900,
- "updated_at": 1543958900,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": false,
- "effective_after": 1543958900
}
]
}
Create a new Update. Returns the newly created Update.
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue. |
ObjectId (string) or IssueTemplate (object) The IssueTemplateApplication that this Update is applied against, which controls
the values of | |
(maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body text of this Update in raw markdown. | |
(slug (string or null)) or (ObjectId (string or null)) | |
state_override | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label | string or null (Maybe(UPDATE_LABEL)) Enum: "identified" "investigating" "monitoring" "resolved" "addendum" "cancelled" The label applied to this update, as well as the issue at large when this Update is the latest Update in the Issue. The label can be thought of as the "state" of the Issue as of this Update (e.g. "Problem Identified", "Monitoring", "Resolved"). |
effective_after | integer <int64> >= 0 The time after which this Update is considered the latest Update on its Issue,
until the |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body text of this Update in raw markdown. |
required | object or null (Maybe(IssueTemplate) The IssueTemplateApplication that this Update is applied against, which controls
the values of |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Update was created. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendered view of the markdown in |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Update. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Update was last revised. |
reopening required | boolean Whether this Update reopened the Issue if it was already resolved in an Update before this one. |
required | ObjectId (string) or Issue (object) expandable: true The Issue that this Update pertains to. |
state_override required | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label required | string or null (Maybe(UPDATE_LABEL)) Enum: "identified" "investigating" "monitoring" "resolved" "addendum" "cancelled" The label applied to this update, as well as the issue at large when this Update is the latest Update in the Issue. The label can be thought of as the "state" of the Issue as of this Update (e.g. "Problem Identified", "Monitoring", "Resolved"). |
effective_after required | integer <int64> (timestamp) >= 0 The time after which this Update is considered the latest Update on its Issue,
until the |
effective required | boolean When true, denotes that this Update is the latest update on this Issue (hence,
the "effective" Update according to |
type required | string Value: "update" |
object (HAL Links) An object describing the various link relations for this type. |
{- "body": "**Lorem ipsum** _dolor sit amet_."
}
{- "id": "5c16ee948fbb652ab878c2c6",
- "type": "update",
- "label": null,
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": 0,
- "semantic_override": null,
- "created_at": 1543958900,
- "updated_at": 1543958900,
- "reopening": false,
- "effective": true,
- "effective_after": 1543958900,
- "template": null,
- "issue": {
- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": "maintenance",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543958167,
- "updated_at": 1543958167,
- "title": "Unplanned maintenance",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}
]
}, - "specialization": "maintenance",
- "retrospective": false,
- "scheduled": false,
- "standing": true,
- "resolved": false,
- "cancelled": null,
- "began_at": 1543958167,
- "ended_at": null,
- "duration": 3690,
- "cancelled_at": null,
- "schedule": null,
- "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c16ee948fbb652ab878c2c6",
- "type": "update",
- "label": null,
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": 0,
- "semantic_override": null,
- "created_at": 1543958900,
- "updated_at": 1543958900,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": true,
- "effective_after": 1543958900
}
]
}
}
}
Preview a new Update. Returns the Update that would be created if the same request is made against the actual collection.
This endpoint does not persist the returned Update.
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue. |
ObjectId (string) or IssueTemplate (object) The IssueTemplateApplication that this Update is applied against, which controls
the values of | |
(maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body text of this Update in raw markdown. | |
(slug (string or null)) or (ObjectId (string or null)) | |
state_override | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label | string or null (Maybe(UPDATE_LABEL)) Enum: "identified" "investigating" "monitoring" "resolved" "addendum" "cancelled" The label applied to this update, as well as the issue at large when this Update is the latest Update in the Issue. The label can be thought of as the "state" of the Issue as of this Update (e.g. "Problem Identified", "Monitoring", "Resolved"). |
effective_after | integer <int64> >= 0 The time after which this Update is considered the latest Update on its Issue,
until the |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body text of this Update in raw markdown. |
required | object or null (Maybe(IssueTemplate) The IssueTemplateApplication that this Update is applied against, which controls
the values of |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Update was created. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendered view of the markdown in |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Update. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Update was last revised. |
reopening required | boolean Whether this Update reopened the Issue if it was already resolved in an Update before this one. |
required | ObjectId (string) or Issue (object) expandable: true The Issue that this Update pertains to. |
state_override required | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label required | string or null (Maybe(UPDATE_LABEL)) Enum: "identified" "investigating" "monitoring" "resolved" "addendum" "cancelled" The label applied to this update, as well as the issue at large when this Update is the latest Update in the Issue. The label can be thought of as the "state" of the Issue as of this Update (e.g. "Problem Identified", "Monitoring", "Resolved"). |
effective_after required | integer <int64> (timestamp) >= 0 The time after which this Update is considered the latest Update on its Issue,
until the |
effective required | boolean When true, denotes that this Update is the latest update on this Issue (hence,
the "effective" Update according to |
type required | string Value: "update" |
object (HAL Links) An object describing the various link relations for this type. |
{- "body": "**Lorem ipsum** _dolor sit amet_."
}
{- "id": "5c16ee948fbb652ab878c2c6",
- "type": "update",
- "label": null,
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": 0,
- "semantic_override": null,
- "created_at": 1543958900,
- "updated_at": 1543958900,
- "reopening": false,
- "effective": true,
- "effective_after": 1543958900,
- "template": null,
- "issue": {
- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": "maintenance",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543958167,
- "updated_at": 1543958167,
- "title": "Unplanned maintenance",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}
]
}, - "specialization": "maintenance",
- "retrospective": false,
- "scheduled": false,
- "standing": true,
- "resolved": false,
- "cancelled": null,
- "began_at": 1543958167,
- "ended_at": null,
- "duration": 3690,
- "cancelled_at": null,
- "schedule": null,
- "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c16ee948fbb652ab878c2c6",
- "type": "update",
- "label": null,
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": 0,
- "semantic_override": null,
- "created_at": 1543958900,
- "updated_at": 1543958900,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": true,
- "effective_after": 1543958900
}
]
}
}
}
Retrieve the given Update by ObjectId.
update_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Update. |
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue that this Update pertains to. |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body text of this Update in raw markdown. |
required | object or null (Maybe(IssueTemplate) The IssueTemplateApplication that this Update is applied against, which controls
the values of |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Update was created. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendered view of the markdown in |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Update. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Update was last revised. |
reopening required | boolean Whether this Update reopened the Issue if it was already resolved in an Update before this one. |
required | ObjectId (string) or Issue (object) expandable: true The Issue that this Update pertains to. |
state_override required | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label required | string or null (Maybe(UPDATE_LABEL)) Enum: "identified" "investigating" "monitoring" "resolved" "addendum" "cancelled" The label applied to this update, as well as the issue at large when this Update is the latest Update in the Issue. The label can be thought of as the "state" of the Issue as of this Update (e.g. "Problem Identified", "Monitoring", "Resolved"). |
effective_after required | integer <int64> (timestamp) >= 0 The time after which this Update is considered the latest Update on its Issue,
until the |
effective required | boolean When true, denotes that this Update is the latest update on this Issue (hence,
the "effective" Update according to |
type required | string Value: "update" |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5c16fe948fbb652ab878c2cc",
- "type": "update",
- "label": "resolved",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543959101,
- "updated_at": 1543959101,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": true,
- "effective_after": 1543959101
}
Revise an Update by ObjectId.
update_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Update. |
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue that this Update pertains to. |
(ObjectId (string or null)) or (IssueTemplate (object or null)) or (IssueTemplate (object or null)) | |
(maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body text of this Update in raw markdown. | |
(slug (string or null)) or (ObjectId (string or null)) | |
state_override | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label | string or null (Maybe(UPDATE_LABEL)) Enum: "identified" "investigating" "monitoring" "resolved" "addendum" "cancelled" The label applied to this update, as well as the issue at large when this Update is the latest Update in the Issue. The label can be thought of as the "state" of the Issue as of this Update (e.g. "Problem Identified", "Monitoring", "Resolved"). |
effective_after | integer <int64> >= 0 The time after which this Update is considered the latest Update on its Issue,
until the |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body text of this Update in raw markdown. |
required | object or null (Maybe(IssueTemplate) The IssueTemplateApplication that this Update is applied against, which controls
the values of |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Update was created. |
required | i18n-string (string) or i18n (object) (i18n-string) An HTML rendered view of the markdown in |
required | (ObjectId (string or null)) or (Semantic (object or null)) |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Update. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Update was last revised. |
reopening required | boolean Whether this Update reopened the Issue if it was already resolved in an Update before this one. |
required | ObjectId (string) or Issue (object) expandable: true The Issue that this Update pertains to. |
state_override required | integer or null (Maybe(integer-state)) Enum: -1 0 1 The integer state which overrides the state of affected Components in
|
label required | string or null (Maybe(UPDATE_LABEL)) Enum: "identified" "investigating" "monitoring" "resolved" "addendum" "cancelled" The label applied to this update, as well as the issue at large when this Update is the latest Update in the Issue. The label can be thought of as the "state" of the Issue as of this Update (e.g. "Problem Identified", "Monitoring", "Resolved"). |
effective_after required | integer <int64> (timestamp) >= 0 The time after which this Update is considered the latest Update on its Issue,
until the |
effective required | boolean When true, denotes that this Update is the latest update on this Issue (hence,
the "effective" Update according to |
type required | string Value: "update" |
object (HAL Links) An object describing the various link relations for this type. |
{- "label": "investigating"
}
{- "id": "5c16ee948fbb652ab878c2c6",
- "type": "update",
- "label": "investigating",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": 0,
- "semantic_override": null,
- "created_at": 1543958900,
- "updated_at": 1543958900,
- "reopening": false,
- "effective": true,
- "effective_after": 1543958900,
- "template": null,
- "issue": {
- "id": "5c06ee978fbb652ab878c3b8",
- "type": "issue",
- "label": "maintenance",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": null,
- "semantic_override": null,
- "created_at": 1543958167,
- "updated_at": 1543958167,
- "title": "Unplanned maintenance",
- "priority": 0,
- "open_graph_image_url": null,
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c06ee938fbb652ab878c2a2",
- "type": "component",
- "created_at": 1543958163,
- "updated_at": 1543958164,
- "last_event_at": 1580352001,
- "exclude_from_global_uptime": false,
- "exclude_from_global_history": false,
- "name": "Component 65",
- "description": "My **description**",
- "description_html": "<p>My <strong>description</strong></p>",
- "group": "5c06ee938fbb652ab878c2a1",
- "watchdog": "5c06ee938fbb652ab878c2a0",
- "percent_uptime": 99.123
}
]
}, - "specialization": "maintenance",
- "retrospective": false,
- "scheduled": false,
- "standing": true,
- "resolved": false,
- "cancelled": null,
- "began_at": 1543958167,
- "ended_at": null,
- "duration": 3690,
- "cancelled_at": null,
- "schedule": null,
- "template": null,
- "updates": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": false,
- "data": [
- {
- "id": "5c16ee948fbb652ab878c2c6",
- "type": "update",
- "label": "investigating",
- "body": "**Lorem ipsum** _dolor sit amet_.",
- "body_html": "<p><strong>Lorem ipsum</strong> <em>dolor sit amet</em>.</p>\n",
- "state_override": 0,
- "semantic_override": null,
- "created_at": 1543958900,
- "updated_at": 1543958900,
- "issue": "5c06ee978fbb652ab878c3b8",
- "template": null,
- "reopening": false,
- "effective": true,
- "effective_after": 1543958900
}
]
}
}
}
Delete the given Update by ObjectId.
update_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Update. |
issue_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Issue that this Update pertains to. |
{- "message": "Insufficient API key permissions.",
- "logref": "6dd9a48c-4905-4f59-9d93-1d1e9c321bb9"
}
Index of IssueTemplates collection. Returns a PagedArray.
kind | string Enum: "issue" "update" Return only IssueTemplates for the given kind (i.e. Issue or Update). |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of IssueTemplates to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A IssueTemplate ObjectId after which the returned array of IssueTemplates will begin in descending order. Typically, this is used to retrieve the next page of IssueTemplates in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A IssueTemplate ObjectId before which the returned array of IssueTemplates will end in descending order. Typically, this is used to retrieve the previous page of IssueTemplates in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (IssueTemplate) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 3,
- "data": [
- {
- "id": "646429738fbb658d5b169308",
- "type": "issue_template",
- "created_at": 1684285811,
- "updated_at": 1684285847,
- "name": "Investigation",
- "kind": "update",
- "title": null,
- "body": "lookin' into it\n\n{{ vars.summary }}",
- "label": "investigating",
- "variables": {
- "summary": {
- "type": "i18n-string",
- "required": true
}
}, - "_links": {
}
}, - {
- "id": "645c2c298fbb65ba64da80fc",
- "type": "issue_template",
- "created_at": 1683762217,
- "updated_at": 1683762816,
- "name": "Resolution",
- "kind": "update",
- "title": null,
- "body": "**It's so over.**",
- "label": "resolved",
- "variables": { },
- "_links": {
}
}, - {
- "id": "645ac4088fbb650535674c8f",
- "type": "issue_template",
- "created_at": 1683670024,
- "updated_at": 1683858725,
- "name": "Good Issue Template",
- "kind": "issue",
- "title": "Good Issue {{ vars.ordinal }}",
- "body": "**Thing in itself**: {{ vars.thing | default: 'unknown' }}",
- "label": null,
- "variables": {
- "ordinal": {
- "type": "number",
- "required": true
}, - "var_two": {
- "type": "string",
- "required": true
}, - "thing": {
- "type": "i18n-string",
- "required": false
}, - "time": {
- "type": "datetime",
- "required": true
}
}, - "_links": {
}
}
], - "has_more": false,
- "_links": {
}
}
Create a new IssueTemplate. Returns the newly created IssueTemplate.
name required | string An internal name for identifying this IssueTemplate. |
kind required | string (ISSUE_TEMPLATE_KIND) Enum: "issue" "update" The "kind" of this IssueTemplate. This field can be either |
object (IssueTemplateVariables) An object defining a set of typed variables that can be provided in an application of this IssueTemplate. The variables can be accessed from any field in the IssueTemplate supporting Liquid. Each defined variable can be given an expected type, and can be marked as required. | |
i18n-string (string) or i18n (object) (i18n-string) The body to use for an Issue/Update applied against this template. This field supports Liquid templating. | |
i18n-string (string) or i18n (object) (i18n-string) When | |
label | string (ISSUE_TEMPLATE_LABEL) Enum: "maintenance" "assessed" "identified" "investigating" "monitoring" "resolved" "addendum" "informational" The label to use for an Issue/Update applied against this template. |
required | object (IssueTemplateVariables) An object defining a set of typed variables that can be provided in an application of this IssueTemplate. The variables can be accessed from any field in the IssueTemplate supporting Liquid. Each defined variable can be given an expected type, and can be marked as required. |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body to use for an Issue/Update applied against this template. This field supports Liquid templating. |
created_at required | integer <int64> (timestamp) >= 0 |
name required | string An internal name for identifying this IssueTemplate. |
updated_at required | integer <int64> (timestamp) >= 0 |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) When |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the IssueTemplate. |
label required | string or null (Maybe(ISSUE_TEMPLATE_LABEL)) Enum: "maintenance" "assessed" "identified" "investigating" "monitoring" "resolved" "addendum" "informational" The label to use for an Issue/Update applied against this template. |
type required | string Value: "issue_template" |
kind required | string (ISSUE_TEMPLATE_KIND) Enum: "issue" "update" The "kind" of this IssueTemplate. This field can be either |
object (HAL Links) An object describing the various link relations for this type. |
{- "name": "Investigation",
- "kind": "update",
- "body": "Investigating:\n\n{{ vars.summary }}",
- "label": "investigating",
- "variables": {
- "summary": {
- "type": "i18n-string",
- "required": true
}
}
}
{- "id": "646429738fbb658d5b169308",
- "type": "issue_template",
- "created_at": 1684285811,
- "updated_at": 1684285847,
- "name": "Investigation",
- "kind": "update",
- "title": null,
- "body": "Investigating:\n\n{{ vars.summary }}",
- "label": "investigating",
- "variables": {
- "summary": {
- "type": "i18n-string",
- "required": true
}
}, - "_links": {
}
}
Retrieve the given IssueTemplate by ObjectId.
issue_template_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the IssueTemplate. |
required | object (IssueTemplateVariables) An object defining a set of typed variables that can be provided in an application of this IssueTemplate. The variables can be accessed from any field in the IssueTemplate supporting Liquid. Each defined variable can be given an expected type, and can be marked as required. |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body to use for an Issue/Update applied against this template. This field supports Liquid templating. |
created_at required | integer <int64> (timestamp) >= 0 |
name required | string An internal name for identifying this IssueTemplate. |
updated_at required | integer <int64> (timestamp) >= 0 |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) When |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the IssueTemplate. |
label required | string or null (Maybe(ISSUE_TEMPLATE_LABEL)) Enum: "maintenance" "assessed" "identified" "investigating" "monitoring" "resolved" "addendum" "informational" The label to use for an Issue/Update applied against this template. |
type required | string Value: "issue_template" |
kind required | string (ISSUE_TEMPLATE_KIND) Enum: "issue" "update" The "kind" of this IssueTemplate. This field can be either |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "645ac4088fbb650535674c8f",
- "type": "issue_template",
- "created_at": 1683670024,
- "updated_at": 1683858725,
- "name": "Good Issue Template",
- "kind": "issue",
- "title": "Good Issue {{ vars.ordinal }}",
- "body": "**Thing in itself**: {{ vars.thing | default: 'unknown' }}",
- "label": null,
- "variables": {
- "ordinal": {
- "type": "number",
- "required": true
}, - "var_two": {
- "type": "string",
- "required": true
}, - "thing": {
- "type": "i18n-string",
- "required": false
}, - "time": {
- "type": "datetime",
- "required": true
}
}, - "_links": {
}
}
Update the given IssueTemplate by ObjectId.
issue_template_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the IssueTemplate. |
object (IssueTemplateVariables) An object defining a set of typed variables that can be provided in an application of this IssueTemplate. The variables can be accessed from any field in the IssueTemplate supporting Liquid. Each defined variable can be given an expected type, and can be marked as required. | |
i18n-string (string) or i18n (object) (i18n-string) The body to use for an Issue/Update applied against this template. This field supports Liquid templating. | |
name | string An internal name for identifying this IssueTemplate. |
i18n-string (string) or i18n (object) (i18n-string) When | |
label | string (ISSUE_TEMPLATE_LABEL) Enum: "maintenance" "assessed" "identified" "investigating" "monitoring" "resolved" "addendum" "informational" The label to use for an Issue/Update applied against this template. |
required | object (IssueTemplateVariables) An object defining a set of typed variables that can be provided in an application of this IssueTemplate. The variables can be accessed from any field in the IssueTemplate supporting Liquid. Each defined variable can be given an expected type, and can be marked as required. |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) The body to use for an Issue/Update applied against this template. This field supports Liquid templating. |
created_at required | integer <int64> (timestamp) >= 0 |
name required | string An internal name for identifying this IssueTemplate. |
updated_at required | integer <int64> (timestamp) >= 0 |
required | (maybe-i18n-string (string or null)) or (i18n (object or null)) (maybe-i18n-string) When |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the IssueTemplate. |
label required | string or null (Maybe(ISSUE_TEMPLATE_LABEL)) Enum: "maintenance" "assessed" "identified" "investigating" "monitoring" "resolved" "addendum" "informational" The label to use for an Issue/Update applied against this template. |
type required | string Value: "issue_template" |
kind required | string (ISSUE_TEMPLATE_KIND) Enum: "issue" "update" The "kind" of this IssueTemplate. This field can be either |
object (HAL Links) An object describing the various link relations for this type. |
{- "body": "lookin' into it\n\n{{ vars.summary }}"
}
{- "id": "646429738fbb658d5b169308",
- "type": "issue_template",
- "created_at": 1684285811,
- "updated_at": 1684285847,
- "name": "Investigation",
- "kind": "update",
- "title": null,
- "body": "lookin' into it\n\n{{ vars.summary }}",
- "label": "investigating",
- "variables": {
- "summary": {
- "type": "i18n-string",
- "required": true
}
}, - "_links": {
}
}
Delete the given IssueTemplate by ObjectId.
issue_template_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the IssueTemplate. |
{- "message": "Insufficient API key permissions.",
- "logref": "ad7742fc-d6ca-4985-90a5-b90009014a72"
}
Notifiers broadcast Event-based notifications to one or more endpoints. Most Notifier channels use Subscriptions to facilitate multi-endpoint notifications.
Some Notifier channels (e.g. twitter
) do not use Subscriptions, and thus a
notification will only be sent to the single configured endpoint.
Index of Notifiers collection. Returns a PagedArray.
channel.type | string Return Notifiers with the provided |
enabled | boolean When true, returns only Notifiers that are currently enabled. When false, returns only Notifiers that are currently disabled. When this parameter is not given, all Notifiers are returned. |
subscribable | boolean When true, returns only Notifiers that can have individual Subscriptions. When false, returns only "unsubscribable" Notifiers. When this parameter is not given, all Notifiers are returned. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Notifiers to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Notifier ObjectId after which the returned array of Notifiers will begin in descending order. Typically, this is used to retrieve the next page of Notifiers in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Notifier ObjectId before which the returned array of Notifiers will end in descending order. Typically, this is used to retrieve the previous page of Notifiers in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Notifier) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 7,
- "data": [
- {
- "id": "5e2604d88fbb65980272e640",
- "type": "notifier",
- "created_at": 1579549912,
- "updated_at": 1579549912,
- "channel": {
- "type": "push"
}, - "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993ab18fbb652a1e53f068",
- "5c993b198fbb652a1e53f092",
- "5c993b228fbb652a1e53f0a6"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "curated": false,
- "enabled": true,
- "subscribable": true,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}, - {
- "id": "5d2fd0d28fbb6523cbf73377",
- "type": "notifier",
- "created_at": 1563414738,
- "updated_at": 1658442457,
- "channel": {
- "type": "twitter",
- "consumer_key": "akOZZvcthZm0iNg7sMFCmO8XK",
- "access_token": "859473272525684737-dtQ5z32XqpbTXUeVI1GJo20AGrmtUov",
- "handle": "test57869689",
}, - "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c993ab18fbb652a1e53f068",
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "curated": false,
- "enabled": true,
- "subscribable": false,
- "include_group_in_component_names": false,
- "locale": "de",
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}, - {
- "id": "5d2fcf198fbb6523cbf73375",
- "type": "notifier",
- "created_at": 1563414297,
- "updated_at": 1563414297,
- "channel": {
- "type": "sns",
- "access_key_id": "AKI00000000000000000",
- "sender_id": null,
- "countries": [
- "US"
], - "max_price": 0.1
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "curated": false,
- "enabled": true,
- "subscribable": true,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}, - {
- "id": "5d2d0ebb8fbb6528fd6c6eb2",
- "type": "notifier",
- "created_at": 1563233979,
- "updated_at": 1563233979,
- "channel": {
- "type": "feed"
}, - "notification_exclusions": [
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "curated": false,
- "enabled": true,
- "subscribable": false,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}, - {
- "id": "5d2621e08fbb6579925131ee",
- "type": "notifier",
- "created_at": 1562780128,
- "updated_at": 1562780128,
- "channel": {
- "type": "slack"
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "curated": false,
- "enabled": true,
- "subscribable": true,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}, - {
- "id": "5c818d848fbb653d83671b3c",
- "type": "notifier",
- "created_at": 1551994244,
- "updated_at": 1561668390,
- "channel": {
- "type": "webhook"
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "curated": false,
- "enabled": true,
- "subscribable": true,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}, - {
- "id": "5c81682c8fbb652388b9fdb9",
- "type": "notifier",
- "created_at": 1551984684,
- "updated_at": 1561659543,
- "channel": {
- "type": "email",
- "sender_address": "support@example.com",
- "sender_display_name": null,
- "smtp_hostname": "smtp.example.com",
- "smtp_port": 587,
- "smtp_user": "postmaster@mail1.example.com",
- "smtp_authentication": "plain",
- "smtp_domain": null,
- "domain_whitelist": [ ]
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "curated": false,
- "enabled": true,
- "subscribable": true,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}
], - "has_more": false
}
Create a new Notifier. Returns the newly created Notifier.
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) or Feed (object) or Twitter (object) (Form) Defines the channel used by this Notifier to deliver notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. SMTP server details, API credentials, etc.). |
enabled | boolean Default: true Whether this Notifier is currently enabled. Disabled notifiers do not deliver notifications to endpoints until enabled again. |
notification_exclusions | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
include_group_in_component_names | boolean Default: false For certain Notifier channels (i.e. |
curated | boolean Default: false Whether this Notifier is curated. When true, disables public subscriptions on this Notifier. Thus, Subscriptions for this Notifier may only be created from the dashboard or API. |
locale | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
listens_to_level | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
enabled required | boolean Whether this Notifier is currently enabled. Disabled notifiers do not deliver notifications to endpoints until enabled again. |
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) or Feed (object) or Twitter (object) (Channels) Defines the channel used by this Notifier to deliver notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. SMTP server details, API credentials, etc.). |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Notifier was created. |
include_group_in_component_names required | boolean For certain Notifier channels (i.e. |
curated required | boolean Whether this Notifier is curated. When true, disables public subscriptions on this Notifier. Thus, Subscriptions for this Notifier may only be created from the dashboard or API. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Notifier. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Notifier was last updated. |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "notifier" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
subscribable required | boolean Whether this Notifier channel can have individual Subscriptions. When false,
this Notifier cannot create Subscriptions, and broadcasts to a single endpoint
configured in |
object (HAL Links) An object describing the various link relations for this type. |
{- "channel": {
- "type": "ms_teams"
}
}
{- "id": "62d9d65b8fbb6588a979f980",
- "type": "notifier",
- "created_at": 1658443355,
- "updated_at": 1658443356,
- "channel": {
- "type": "ms_teams"
}, - "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993ab18fbb652a1e53f068"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "curated": false,
- "enabled": true,
- "subscribable": true,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}
Retrieve the given Notifier by ObjectId.
notifier_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Notifier. |
enabled required | boolean Whether this Notifier is currently enabled. Disabled notifiers do not deliver notifications to endpoints until enabled again. |
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) or Feed (object) or Twitter (object) (Channels) Defines the channel used by this Notifier to deliver notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. SMTP server details, API credentials, etc.). |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Notifier was created. |
include_group_in_component_names required | boolean For certain Notifier channels (i.e. |
curated required | boolean Whether this Notifier is curated. When true, disables public subscriptions on this Notifier. Thus, Subscriptions for this Notifier may only be created from the dashboard or API. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Notifier. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Notifier was last updated. |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "notifier" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
subscribable required | boolean Whether this Notifier channel can have individual Subscriptions. When false,
this Notifier cannot create Subscriptions, and broadcasts to a single endpoint
configured in |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5d2fcf198fbb6523cbf73375",
- "type": "notifier",
- "created_at": 1563414297,
- "updated_at": 1563414297,
- "channel": {
- "type": "sns",
- "access_key_id": "AKI00000000000000000",
- "sender_id": null,
- "countries": [
- "US"
], - "max_price": 0.1
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae",
- "5c9583858fbb6575d664cf96",
- "5ad566898fbb654577715322",
- "5c993c0d8fbb652a1e53f152",
- "5e21e1db8fbb653796b7910f",
- "5e21e0f08fbb653796b790f4",
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "5c993b198fbb652a1e53f092",
- "5c993b2f8fbb652a1e53f0c0",
- "5c993b358fbb652a1e53f0ca",
- "6091ee508fbb653b2287025e",
- "5c993b1f8fbb652a1e53f09c",
- "5cabe2398fbb6540136899b8"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "curated": false,
- "enabled": true,
- "subscribable": true,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}
Update the given Notifier by ObjectId.
notifier_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Notifier. |
enabled | boolean Whether this Notifier is currently enabled. Disabled notifiers do not deliver notifications to endpoints until enabled again. |
Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) or Feed (object) or Twitter (object) (Form) Defines the channel used by this Notifier to deliver notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. SMTP server details, API credentials, etc.). | |
notification_exclusions | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
include_group_in_component_names | boolean For certain Notifier channels (i.e. |
curated | boolean Whether this Notifier is curated. When true, disables public subscriptions on this Notifier. Thus, Subscriptions for this Notifier may only be created from the dashboard or API. |
locale | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
listens_to_level | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
enabled required | boolean Whether this Notifier is currently enabled. Disabled notifiers do not deliver notifications to endpoints until enabled again. |
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) or Feed (object) or Twitter (object) (Channels) Defines the channel used by this Notifier to deliver notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. SMTP server details, API credentials, etc.). |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Notifier was created. |
include_group_in_component_names required | boolean For certain Notifier channels (i.e. |
curated required | boolean Whether this Notifier is curated. When true, disables public subscriptions on this Notifier. Thus, Subscriptions for this Notifier may only be created from the dashboard or API. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Notifier. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Notifier was last updated. |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "notifier" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
subscribable required | boolean Whether this Notifier channel can have individual Subscriptions. When false,
this Notifier cannot create Subscriptions, and broadcasts to a single endpoint
configured in |
object (HAL Links) An object describing the various link relations for this type. |
{- "enabled": false
}
{- "id": "5d2fcf198fbb6523cbf73375",
- "type": "notifier",
- "created_at": 1563414297,
- "updated_at": 1658442942,
- "channel": {
- "type": "sns",
- "access_key_id": "AKI00000000000000000",
- "sender_id": null,
- "countries": [
- "US"
], - "max_price": 0.1
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae",
- "5c9583858fbb6575d664cf96",
- "5ad566898fbb654577715322",
- "5c993c0d8fbb652a1e53f152",
- "5e21e1db8fbb653796b7910f",
- "5e21e0f08fbb653796b790f4",
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "5c993b198fbb652a1e53f092",
- "5c993b2f8fbb652a1e53f0c0",
- "5c993b358fbb652a1e53f0ca",
- "6091ee508fbb653b2287025e",
- "5c993b1f8fbb652a1e53f09c",
- "5cabe2398fbb6540136899b8"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "curated": false,
- "enabled": false,
- "subscribable": true,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}
Delete the given Notifier by ObjectId.
notifier_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Notifier. |
{- "type": "api/error/not_authorized",
- "logref": "4c6ab122-5232-4153-9579-bebea99c101b",
- "message": "Insufficient API key permissions."
}
Broadcasts a test notification to all Subscriptions (if subscribable
is true),
that listen to event notifier_tested
. This action always succeeds
regardless of the correctness of the Notifier's configuration.
notifier_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Notifier. |
enabled required | boolean Whether this Notifier is currently enabled. Disabled notifiers do not deliver notifications to endpoints until enabled again. |
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) or Feed (object) or Twitter (object) (Channels) Defines the channel used by this Notifier to deliver notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. SMTP server details, API credentials, etc.). |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Notifier was created. |
include_group_in_component_names required | boolean For certain Notifier channels (i.e. |
curated required | boolean Whether this Notifier is curated. When true, disables public subscriptions on this Notifier. Thus, Subscriptions for this Notifier may only be created from the dashboard or API. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Notifier. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Notifier was last updated. |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "notifier" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
subscribable required | boolean Whether this Notifier channel can have individual Subscriptions. When false,
this Notifier cannot create Subscriptions, and broadcasts to a single endpoint
configured in |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5d2fcf198fbb6523cbf73375",
- "type": "notifier",
- "created_at": 1563414297,
- "updated_at": 1658443048,
- "channel": {
- "type": "sns",
- "access_key_id": "AKI00000000000000000",
- "sender_id": null,
- "countries": [
- "US"
], - "max_price": 0.1
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae",
- "5c9583858fbb6575d664cf96",
- "5ad566898fbb654577715322",
- "5c993c0d8fbb652a1e53f152",
- "5e21e1db8fbb653796b7910f",
- "5e21e0f08fbb653796b790f4",
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "5c993b198fbb652a1e53f092",
- "5c993b2f8fbb652a1e53f0c0",
- "5c993b358fbb652a1e53f0ca",
- "6091ee508fbb653b2287025e",
- "5c993b1f8fbb652a1e53f09c",
- "5cabe2398fbb6540136899b8"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "curated": false,
- "enabled": true,
- "subscribable": true,
- "include_group_in_component_names": false,
- "locale": null,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "subscriptions": {
}, - "action:test": {
}
}
}
Subscriptions represent an individual notification endpoint, often managed by a single person (e.g. email address, SMS number, etc.), usually the recipient of notifications sent to the configured endpoint. However, some Subscription channels can be curated in order to prevent public changes to its preferences.
All Subscriptions are tied to a specific Notifier that may configure additional properties regarding the endpoint channel (e.g. SMTP server details, service credentials, etc.).
Index of Subscriptions collection. Returns a PagedArray.
channel.type | string Return Subscriptions with the provided |
channel.address | string Example: channel.address=@example.com Return Email Subscriptions whose Note: It is possible for email addresses like Note: Email addresses are case insensitive. Any casing given to this parameter will be ignored. |
channel.address! | string Example: channel.address!=user@example.com Return Email Subscriptions whose Note: Email addresses are case insensitive. Any casing given to this parameter will be ignored. |
channel.phone | string Example: channel.phone=+1307 Return SNS Subscriptions whose |
channel.phone! | string^\+?[1-9]\d{1,14}$ Example: channel.phone!=+15555555555 Return SNS Subscriptions whose |
notifier | string (ObjectId) ^[a-fA-F0-9]{24}$ Return the Subscriptions for the provided Notifier ObjectId. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Subscriptions to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Subscription ObjectId after which the returned array of Subscriptions will begin in descending order. Typically, this is used to retrieve the next page of Subscriptions in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Subscription ObjectId before which the returned array of Subscriptions will end in descending order. Typically, this is used to retrieve the previous page of Subscriptions in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Subscription) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 10,
- "data": [
- {
- "id": "61dcaf458fbb6523de62f078",
- "type": "subscription",
- "created_at": 1641852745,
- "updated_at": 1641852745,
- "channel": {
- "type": "slack",
- "channel": "sandbox",
- "team": "Hund"
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae",
- "5c9583858fbb6575d664cf96"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "notifier": "5d2621e08fbb6579925131ee",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": "de",
- "_links": {
- "action:send-edit-link": {
},
}
}, - {
- "id": "603705a78fbb654416bd444d",
- "type": "subscription",
- "created_at": 1614218663,
- "updated_at": 1614218677,
- "channel": {
- "type": "push"
}, - "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9588038fbb657c95d929e9",
- "5c993ab18fbb652a1e53f068",
- "5c993b198fbb652a1e53f092",
- "5c993b1f8fbb652a1e53f09c"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "notifier": "5e2604d88fbb65980272e640",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": "pt-BR",
- "_links": {
- "action:send-edit-link": {
},
}
}, - {
- "id": "5e2b22228fbb6510f7d55dba",
- "type": "subscription",
- "created_at": 1579885091,
- "updated_at": 1579885091,
- "channel": {
- "type": "email",
- "address": "sub1@example.com"
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae",
- "5c9583858fbb6575d664cf96",
- "5ad566898fbb654577715322",
- "5c993c0d8fbb652a1e53f152",
- "5e21e1db8fbb653796b7910f",
- "5e21e0f08fbb653796b790f4",
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "notifier": "5c81682c8fbb652388b9fdb9",
- "curatable": true,
- "curated": false,
- "remove_links": false,
- "locale": "en",
- "_links": {
- "action:send-edit-link": {
},
}
}, - {
- "id": "5d8bacc58fbb6525fb9baacd",
- "type": "subscription",
- "created_at": 1569434822,
- "updated_at": 1569434822,
- "channel": {
- "type": "email",
- "address": "sub2@example.com"
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "notifier": "5c81682c8fbb652388b9fdb9",
- "curatable": true,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}, - {
- "id": "5d8a82dd8fbb654dc6a10318",
- "type": "subscription",
- "created_at": 1569358558,
- "updated_at": 1569359640,
- "channel": {
- "type": "email",
- "address": "sub0@example.com"
}, - "notification_exclusions": [
- "5c993ab18fbb652a1e53f068",
- "5c993c248fbb652a1e53f176",
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "notifier": "5c81682c8fbb652388b9fdb9",
- "curatable": true,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}, - {
- "id": "5d2fd9c08fbb65711fbb3dc0",
- "type": "subscription",
- "created_at": 1563417024,
- "updated_at": 1563491794,
- "channel": {
- "type": "sns",
- "phone": "+15555550001"
}, - "notification_exclusions": [
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5cabe2398fbb6540136899b8",
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "notifier": "5d2fcf198fbb6523cbf73375",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}, - {
- "id": "5d2fd8618fbb6523cbf73382",
- "type": "subscription",
- "created_at": 1563416673,
- "updated_at": 1563491808,
- "channel": {
- "type": "sns",
- "phone": "+15555550002"
}, - "notification_exclusions": [
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "notifier": "5d2fcf198fbb6523cbf73375",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}, - {
- "id": "5d264b2a8fbb65a3c410dc6d",
- "type": "subscription",
- "created_at": 1562790698,
- "updated_at": 1562790709,
- "channel": {
- "type": "slack",
- "channel": null,
- "team": null
}, - "notification_exclusions": [
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "notifier": "5d2621e08fbb6579925131ee",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}, - {
- "id": "5d2624d08fbb65804bd3ea30",
- "type": "subscription",
- "created_at": 1562780880,
- "updated_at": 1562790326,
- "channel": {
- "type": "slack",
- "channel": null,
- "team": null
}, - "notification_exclusions": [
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "notifier": "5d2621e08fbb6579925131ee",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}, - {
- "id": "5d23c52a8fbb650b1cf4368c",
- "type": "subscription",
- "created_at": 1562625322,
- "updated_at": 1562627254,
- "channel": {
- "type": "webhook",
- "verb": "put",
- "version": "v2"
}, - "notification_exclusions": [
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5cabe2398fbb6540136899b8",
- "5e5029f38fbb657ce18eabd8",
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "notifier": "5c818d848fbb653d83671b3c",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}
], - "has_more": true,
- "_links": {
}
}
Create a new Subscription. Returns the newly created Subscription.
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) (Form) Defines the channel used by this subscription to receive notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. Email address, SMS number, etc.). |
notifier required | string (ObjectId) ^[a-fA-F0-9]{24}$ The Notifier that this Subscription receives notifications from. |
remove_links | boolean Default: false For certain Notifier channels (i.e. |
notification_exclusions | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
curated | boolean Default: false Whether this Subscription is curated. When true, disables public preference
changes, requiring any Subscription preferences to be edited via the dashboard
or API. This can be useful in cases like Note: a Subscription must be |
locale | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
listens_to_level | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
remove_links required | boolean For certain Notifier channels (i.e. |
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) (Channels) Defines the channel used by this subscription to receive notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. Email address, SMS number, etc.). |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Subscription was created. |
curated required | boolean Whether this Subscription is curated. When true, disables public preference
changes, requiring any Subscription preferences to be edited via the dashboard
or API. This can be useful in cases like Note: a Subscription must be |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Subscription. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Subscription was last updated. |
required | ObjectId (string) or Notifier (object) expandable: true The Notifier that this Subscription receives notifications from. |
curatable required | boolean Whether this Subscription channel allows for curation. |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "subscription" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "notifier": "5c81682c8fbb652388b9fdb9",
- "channel": {
- "type": "email",
- "address": "sub3@example.com"
}
}
{- "id": "62d9d95d8fbb6588a979f988",
- "type": "subscription",
- "created_at": 1658444127,
- "updated_at": 1658444127,
- "channel": {
- "type": "email",
- "address": "sub3@example.com"
}, - "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993ab18fbb652a1e53f068",
- "5c993b198fbb652a1e53f092"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "notifier": "5c81682c8fbb652388b9fdb9",
- "curatable": true,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}
Retrieve the given Subscription by ObjectId.
subscription_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Subscription. |
remove_links required | boolean For certain Notifier channels (i.e. |
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) (Channels) Defines the channel used by this subscription to receive notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. Email address, SMS number, etc.). |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Subscription was created. |
curated required | boolean Whether this Subscription is curated. When true, disables public preference
changes, requiring any Subscription preferences to be edited via the dashboard
or API. This can be useful in cases like Note: a Subscription must be |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Subscription. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Subscription was last updated. |
required | ObjectId (string) or Notifier (object) expandable: true The Notifier that this Subscription receives notifications from. |
curatable required | boolean Whether this Subscription channel allows for curation. |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "subscription" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "61dcaf458fbb6523de62f078",
- "type": "subscription",
- "created_at": 1641852745,
- "updated_at": 1641852745,
- "channel": {
- "type": "slack",
- "channel": "sandbox",
- "team": "Hund"
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae",
- "5c9583858fbb6575d664cf96"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "notifier": "5d2621e08fbb6579925131ee",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}
Update the given Subscription by ObjectId.
subscription_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Subscription. |
remove_links | boolean For certain Notifier channels (i.e. |
Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) (Form) Defines the channel used by this subscription to receive notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. Email address, SMS number, etc.). | |
notification_exclusions | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
curated | boolean Whether this Subscription is curated. When true, disables public preference
changes, requiring any Subscription preferences to be edited via the dashboard
or API. This can be useful in cases like Note: a Subscription must be |
locale | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
listens_to_level | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
remove_links required | boolean For certain Notifier channels (i.e. |
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) (Channels) Defines the channel used by this subscription to receive notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. Email address, SMS number, etc.). |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Subscription was created. |
curated required | boolean Whether this Subscription is curated. When true, disables public preference
changes, requiring any Subscription preferences to be edited via the dashboard
or API. This can be useful in cases like Note: a Subscription must be |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Subscription. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Subscription was last updated. |
required | ObjectId (string) or Notifier (object) expandable: true The Notifier that this Subscription receives notifications from. |
curatable required | boolean Whether this Subscription channel allows for curation. |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "subscription" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "listens_to_level": "normal"
}
{- "id": "5d2fd9c08fbb65711fbb3dc0",
- "type": "subscription",
- "created_at": 1563417024,
- "updated_at": 1658443989,
- "channel": {
- "type": "sns",
- "phone": "+15555550001"
}, - "notification_exclusions": [
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "notifier": "5d2fcf198fbb6523cbf73375",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}
Delete the given Subscription by ObjectId.
subscription_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Subscription. |
{- "type": "api/error/not_authorized",
- "logref": "353f9c9c-274a-4399-b8a3-47eb83df5b4e",
- "message": "Insufficient API key permissions."
}
Sends a single notification containing a preferences link for the specific Subscription, over the configured channel. The link can be used by the recipient to alter their subscription preferences via a human-friendly HTML form.
Note: This endpoint also serves as a convenient method for testing an individual Subscription. Unlike the related public status page form, this action may be called as often as required.
subscription_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Subscription. |
remove_links required | boolean For certain Notifier channels (i.e. |
required | Email (object) or Push (object) or SNS (object) or MsTeams (object) or Slack (object) or Webhook (object) (Channels) Defines the channel used by this subscription to receive notifications. Typically, this sets the type as well as relevant credentials for the channel (e.g. Email address, SMS number, etc.). |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Subscription was created. |
curated required | boolean Whether this Subscription is curated. When true, disables public preference
changes, requiring any Subscription preferences to be edited via the dashboard
or API. This can be useful in cases like Note: a Subscription must be |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Subscription. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Subscription was last updated. |
required | ObjectId (string) or Notifier (object) expandable: true The Notifier that this Subscription receives notifications from. |
curatable required | boolean Whether this Subscription channel allows for curation. |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "subscription" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "61dcaf458fbb6523de62f078",
- "type": "subscription",
- "created_at": 1641852745,
- "updated_at": 1641852745,
- "channel": {
- "type": "slack",
- "channel": "sandbox",
- "team": "Hund"
}, - "notification_exclusions": [
- "5c993c248fbb652a1e53f176",
- "5c993ab18fbb652a1e53f068",
- "5c993b278fbb652a1e53f0ae",
- "5c9583858fbb6575d664cf96"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_resolved",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "issue_reopened",
- "notifier_tested"
], - "listens_to_level": "normal",
- "notifier": "5d2621e08fbb6579925131ee",
- "curatable": false,
- "curated": false,
- "remove_links": false,
- "locale": null,
- "_links": {
- "action:send-edit-link": {
},
}
}
Events are immutable objects representing various things that have happened on your status page, such as Issue creation/update/resolution, new Watchdog Statuses, object lifecycles, and more.
Index of Events collection. Returns a PagedArray.
eventable | string (ObjectId) ^[a-fA-F0-9]{24}$ Return Events for the specific eventable ID. This could be the ID of any object that has events, such as a Component, Issue, Status, Subscription, Notifier, etc. |
eventable.type | string Enum: "component" "metric_provider" "issue" "notifier" "subscription" "status" Return Events with the specific |
kind | string Only return Events with the given |
context.component | string (ObjectId) ^[a-fA-F0-9]{24}$ Only return Events whose |
context.components[] | Array of strings (ObjectId) Only return Events whose |
context.update | string (ObjectId) ^[a-fA-F0-9]{24}$ Only return Events whose |
context.notifier | string (ObjectId) ^[a-fA-F0-9]{24}$ Only return Events whose |
context.event | string (ObjectId) ^[a-fA-F0-9]{24}$ Only return Events whose |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Events to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Event ObjectId after which the returned array of Events will begin in descending order. Typically, this is used to retrieve the next page of Events in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Event ObjectId before which the returned array of Events will end in descending order. Typically, this is used to retrieve the previous page of Events in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of any (Events) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 10,
- "data": [
- {
- "id": "62d9d9108fbb6588a979f987",
- "type": "event",
- "created_at": 1658444048,
- "kind": "subscription_edit_link_requested",
- "eventable": "5d2fd9c08fbb65711fbb3dc0",
- "context": {
- "notifier": "5d2fcf198fbb6523cbf73375",
- "_links": {
}
}, - "_links": {
- "events:by-context": {
}
}
}, - {
- "id": "62d9d9018fbb6588a979f986",
- "type": "event",
- "created_at": 1658444033,
- "kind": "notifier_enabled",
- "eventable": "5d2fcf198fbb6523cbf73375",
- "context": { },
- "_links": {
- "events:by-context": {
}
}
}, - {
- "id": "62d9d86d8fbb6588a979f985",
- "type": "event",
- "created_at": 1658443885,
- "kind": "notifier_disabled",
- "eventable": "5d2fcf198fbb6523cbf73375",
- "context": { },
- "_links": {
- "events:by-context": {
}
}
}, - {
- "id": "62d9d8668fbb6588a979f984",
- "type": "event",
- "created_at": 1658443878,
- "kind": "notifier_enabled",
- "eventable": "62d9d65b8fbb6588a979f980",
- "context": { },
- "_links": {
- "events:by-context": {
}
}
}, - {
- "id": "62d9d85b8fbb6588a979f983",
- "type": "event",
- "created_at": 1658443867,
- "kind": "notifier_disabled",
- "eventable": "62d9d65b8fbb6588a979f980",
- "context": { },
- "_links": {
- "events:by-context": {
}
}
}, - {
- "id": "62d9d65c8fbb6588a979f981",
- "type": "event",
- "created_at": 1658443356,
- "kind": "notifier_created",
- "eventable": "62d9d65b8fbb6588a979f980",
- "context": { },
- "_links": {
- "events:by-context": {
}
}
}, - {
- "id": "62d9d5cb8fbb6588a979f97f",
- "type": "event",
- "created_at": 1658443211,
- "kind": "notifier_tested",
- "eventable": "5d2fcf198fbb6523cbf73375",
- "context": { },
- "_links": {
- "events:by-context": {
}
}
}, - {
- "id": "62d9d52a8fbb6588a979f97e",
- "type": "event",
- "created_at": 1658443050,
- "kind": "notifier_enabled",
- "eventable": "5d2fcf198fbb6523cbf73375",
- "context": { },
- "_links": {
- "events:by-context": {
}
}
}, - {
- "id": "62d9d5288fbb6588a979f97d",
- "type": "event",
- "created_at": 1658443048,
- "kind": "notifier_updated",
- "eventable": "5d2fcf198fbb6523cbf73375",
- "context": { },
- "_links": {
- "events:by-context": {
}
}
}, - {
- "id": "62d9d4c08fbb6588a979f97c",
- "type": "event",
- "created_at": 1658442944,
- "kind": "notifier_disabled",
- "eventable": "5d2fcf198fbb6523cbf73375",
- "context": { },
- "_links": {
- "events:by-context": {
}
}
}
], - "has_more": true,
- "_links": {
}
}
Retrieve the given Event by ObjectId.
event_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Event. |
required | ObjectId (string) or Component (object) expandable: true The object responsible for the emission of this Event. The type of this field
depends on the |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Event was emitted. |
required | object (EmptyContextual) Additional objects related to this Event. The structure of this field depends
on the For example, Issue Events always have a |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Event. |
type required | string Value: "event" |
kind required | string The particular subtype of Event. |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "62d9d9108fbb6588a979f987",
- "type": "event",
- "created_at": 1658444048,
- "kind": "subscription_edit_link_requested",
- "eventable": "5d2fd9c08fbb65711fbb3dc0",
- "context": {
- "notifier": "5d2fcf198fbb6523cbf73375",
- "_links": {
}
}, - "_links": {
- "events:by-context": {
}
}
}
The Timeline is a global/Component-wise history of Issues and Statuses across your Status Page. Any Timeline is a PagedArray of TimelineItems in reverse-chronological order (i.e. descending). A TimelineItem can represent either a Status or Issue, or the interactions between them.
A Timeline can be pulled from this API for the entire Status Page (the default behavior), or one or more Components (or Group of Components).
For more information on the mechanics of the Timeline, please read this knowledgebase article.
Retrieve a Timeline according to the given filters. Returns a PagedArray of TimelineItems, with latest entries first.
group | string (ObjectId) ^[a-fA-F0-9]{24}$ Return the Timeline for the Components of the given Group. This field
is ignored if |
components[] | Array of strings (ObjectId) Return the Timeline for the given set of Components. To use this query
parameter, supply |
component | string (ObjectId) ^[a-fA-F0-9]{24}$ Return the Timeline for the given Component. This field is ignored if
|
excluded | boolean Default: false When true, returns TimelineItems for which |
effective | boolean Default: false When false, returns TimelineItems for which |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Timeline to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Timeline ObjectId after which the returned array of Timeline will begin in descending order. Typically, this is used to retrieve the next page of Timeline in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Timeline ObjectId before which the returned array of Timeline will end in descending order. Typically, this is used to retrieve the previous page of Timeline in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (TimelineItem) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 10,
- "data": [
- {
- "id": "62b10ec8-4732-b764-59fd-97aa24784012",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "data": [
- {
- "id": "60932fa68fbb65f1c3be61e3",
- "type": "component",
- "created_at": 1620258726,
- "updated_at": 1658441924,
- "name": "m28",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1658441924,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "60932fa68fbb65f1c3be61df",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": null,
- "began_at": 1655770824,
- "ended_at": 1655770855,
- "title": "Outage",
- "duration": 31,
- "source": "global",
- "outage_durations": {
- "60932fa68fbb65f1c3be61e3": 31
}, - "outage_duration": 31,
- "excluded": false,
- "effective": true,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
}
}
}, - {
- "id": "6272c730-57b9-6793-721f-b687e814c835",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "data": [
- {
- "id": "5c993b198fbb652a1e53f092",
- "type": "component",
- "created_at": 1553546009,
- "updated_at": 1656012483,
- "name": "m1",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012483,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993b198fbb652a1e53f090",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}, - {
- "id": "5ad566898fbb654577715322",
- "type": "component",
- "created_at": 1523934857,
- "updated_at": 1656012476,
- "name": "syno",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012476,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5ad566898fbb654577715320",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": "6272c7308fbb6565e55825f3",
- "began_at": 1651689264,
- "ended_at": 1655770343,
- "title": "Long Request Times",
- "duration": 4081079,
- "source": "global",
- "outage_durations": {
- "5ad566898fbb654577715322": 0,
- "5c993b198fbb652a1e53f092": 0
}, - "outage_duration": 0,
- "excluded": false,
- "effective": true,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
},
}
}, - {
- "id": "6269a908-a03b-500f-d157-0519e56e740a",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "data": [
- {
- "id": "5cabe2398fbb6540136899b8",
- "type": "component",
- "created_at": 1554768441,
- "updated_at": 1656012528,
- "name": "m30",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012528,
- "group": "5cabe2378fbb6540136899b0",
- "watchdog": "5cabe2388fbb6540136899b4",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 1,
- "data": [
- {
- "id": "6269a9088fbb656d42d881e7",
- "type": "status",
- "created_at": 1651091720,
- "updated_at": 1653432126,
- "watchdog": "5cabe2388fbb6540136899b4",
- "reasons": {
- "type": "paged_array",
- "total_count": 8,
- "data": [
- {
- "id": "628d5d038fbb655c8470641d",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "2606:2800:220:1:248:1893:25c8:1946",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "1c65e8ef2f2cb8bc23384931fd60ed8aeb6cec1f",
- "region": "wa-us-1",
- "duration": 572,
- "began_at": 1653431554,
- "ended_at": 1653432126,
- "_links": {
}
}, - {
- "id": "628d5d038fbb655c8470641c",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "2606:2800:220:1:248:1893:25c8:1946",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "1c65e8ef2f2cb8bc23384931fd60ed8aeb6cec1f",
- "region": "nj-us-1",
- "duration": 572,
- "began_at": 1653431554,
- "ended_at": 1653432126,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf70641b",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "54.218.247.76",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "4402da23c3733f628462c0875d5ff0378d474965",
- "region": "wa-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf70641a",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "52.27.210.93",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "84a21935916a3a82537b5d1e1d1a4aa3568b014d",
- "region": "wa-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706419",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "44.225.164.27",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "2c914693ad522d531622a1b541081b992b51855d",
- "region": "wa-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706418",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "44.225.164.27",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "2c914693ad522d531622a1b541081b992b51855d",
- "region": "nj-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706417",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "54.218.247.76",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "4402da23c3733f628462c0875d5ff0378d474965",
- "region": "nj-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}, - {
- "id": "628d58368fbb656daf706416",
- "type": "reason",
- "status": "6269a9088fbb656d42d881e7",
- "watchdog": "5cabe2388fbb6540136899b4",
- "subject": "52.27.210.93",
- "description": "timeout",
- "context": [ ],
- "fingerprint": "84a21935916a3a82537b5d1e1d1a4aa3568b014d",
- "region": "nj-us-1",
- "duration": 1228,
- "began_at": 1653430326,
- "ended_at": 1653431554,
- "_links": {
}
}
], - "has_more": false,
- "_links": {
- "self": {
}, - "beginning": {
}
}
}, - "state": -1,
- "semantic": null,
- "duration": 2340155,
- "began_at": 1651091720,
- "ended_at": 1653432126,
- "_links": {
- "action:correct": {
}
}
}
], - "has_more": false,
- "_links": {
}
}, - "issue": null,
- "began_at": 1651091720,
- "ended_at": 1653432126,
- "title": "Outage",
- "duration": 2340155,
- "source": "global",
- "outage_durations": {
- "5cabe2398fbb6540136899b8": 2340155
}, - "outage_duration": 2340155,
- "excluded": false,
- "effective": true,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
}
}
}, - {
- "id": "623ba0f0-a96e-a495-a28a-a8ee879b26e9",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 3,
- "data": [
- {
- "id": "5c993b2b8fbb652a1e53f0b8",
- "type": "component",
- "created_at": 1553546027,
- "updated_at": 1656012501,
- "name": "m5",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012501,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993b2b8fbb652a1e53f0b6",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}, - {
- "id": "5c993b228fbb652a1e53f0a6",
- "type": "component",
- "created_at": 1553546018,
- "updated_at": 1656012511,
- "name": "m3",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012511,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993b228fbb652a1e53f0a4",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}, - {
- "id": "5ad566898fbb654577715322",
- "type": "component",
- "created_at": 1523934857,
- "updated_at": 1656012476,
- "name": "syno",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012476,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5ad566898fbb654577715320",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": "623ba0f08fbb65bbe46da96b",
- "began_at": 1648074992,
- "ended_at": 1648080586,
- "title": "Unplanned maintenance",
- "duration": 5594,
- "source": "global",
- "outage_durations": {
- "5ad566898fbb654577715322": 251,
- "5c993b2b8fbb652a1e53f0b8": 251,
- "5c993b228fbb652a1e53f0a6": 251
}, - "outage_duration": 251,
- "excluded": false,
- "effective": true,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
},
}
}, - {
- "id": "621e8228-6a00-2a1b-d4bf-e44e32d7b4b6",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "data": [
- {
- "id": "5c993b2b8fbb652a1e53f0b8",
- "type": "component",
- "created_at": 1553546027,
- "updated_at": 1656012501,
- "name": "m5",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012501,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993b2b8fbb652a1e53f0b6",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}, - {
- "id": "5c993ab18fbb652a1e53f068",
- "type": "component",
- "created_at": 1553545905,
- "updated_at": 1656012456,
- "name": "m0",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012456,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993ab18fbb652a1e53f066",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": "621e82288fbb659d5d3c4f81",
- "began_at": 1646166568,
- "ended_at": 1646167735,
- "title": "Upstream Degradation",
- "duration": 1167,
- "source": "global",
- "outage_durations": {
- "5c993ab18fbb652a1e53f068": 0,
- "5c993b2b8fbb652a1e53f0b8": 0
}, - "outage_duration": 0,
- "excluded": false,
- "effective": true,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
},
}
}, - {
- "id": "6196c91b-b9e7-67be-87fb-ca7b2bf16afb",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "data": [
- {
- "id": "5c993b278fbb652a1e53f0ae",
- "type": "component",
- "created_at": 1553546023,
- "updated_at": 1656012516,
- "name": "m4",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012516,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993b278fbb652a1e53f0ac",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}, - {
- "id": "5c993b228fbb652a1e53f0a6",
- "type": "component",
- "created_at": 1553546018,
- "updated_at": 1656012511,
- "name": "m3",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012511,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993b228fbb652a1e53f0a4",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": "6196c91b8fbb659ed89d053e",
- "began_at": 1637271835,
- "ended_at": 1645557238,
- "title": "Unplanned maintenance",
- "duration": 8285403,
- "source": "global",
- "outage_durations": {
- "5c993b228fbb652a1e53f0a6": 0,
- "5c993b278fbb652a1e53f0ae": 0
}, - "outage_duration": 0,
- "excluded": false,
- "effective": true,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
},
}
}, - {
- "id": "61846bb8-bbfc-9171-3d25-722d0d394415",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "data": [
- {
- "id": "5c993b198fbb652a1e53f092",
- "type": "component",
- "created_at": 1553546009,
- "updated_at": 1656012483,
- "name": "m1",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012483,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993b198fbb652a1e53f090",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}, - {
- "id": "5c9583858fbb6575d664cf96",
- "type": "component",
- "created_at": 1553302405,
- "updated_at": 1656012499,
- "name": "quantico",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012499,
- "group": "5d6740c88fbb658345356144",
- "watchdog": "5c9583858fbb6575d664cf94",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": "61846bb88fbb656a71e9f9e1",
- "began_at": 1636068280,
- "ended_at": 1636068280,
- "title": "Increased Platform Errors",
- "duration": 0,
- "source": "global",
- "outage_durations": {
- "5c993b198fbb652a1e53f092": 0,
- "5c9583858fbb6575d664cf96": 0
}, - "outage_duration": 0,
- "excluded": false,
- "effective": false,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
},
}
}, - {
- "id": "60933034-2d9f-6e2b-5fb2-2ba026504cfa",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "data": [
- {
- "id": "60932fa68fbb65f1c3be61e3",
- "type": "component",
- "created_at": 1620258726,
- "updated_at": 1658441924,
- "name": "m28",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1658441924,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "60932fa68fbb65f1c3be61df",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": "609330348fbb65f1c3be61e9",
- "began_at": 1620258868,
- "ended_at": 1620258890,
- "title": "Service Degradation",
- "duration": 22,
- "source": "global",
- "outage_durations": {
- "60932fa68fbb65f1c3be61e3": 0
}, - "outage_duration": 0,
- "excluded": false,
- "effective": true,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
},
}
}, - {
- "id": "60932f6c-e5cd-1bdd-539a-a7ed22425d5c",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "data": [
- {
- "id": "5c993b1f8fbb652a1e53f09c",
- "type": "component",
- "created_at": 1553546015,
- "updated_at": 1656012486,
- "name": "m2",
- "description": "yup",
- "description_html": "<p>yup</p>\n",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012486,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993b1f8fbb652a1e53f09a",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}, - {
- "id": "5ad566898fbb654577715322",
- "type": "component",
- "created_at": 1523934857,
- "updated_at": 1656012476,
- "name": "syno",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012476,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5ad566898fbb654577715320",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": "60932f6c8fbb65f1c3be61cc",
- "began_at": 1620258668,
- "ended_at": 1620258682,
- "title": "Emergency Maintenance",
- "duration": 14,
- "source": "global",
- "outage_durations": {
- "5ad566898fbb654577715322": 0,
- "5c993b1f8fbb652a1e53f09c": 0
}, - "outage_duration": 0,
- "excluded": false,
- "effective": true,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
},
}
}, - {
- "id": "60932426-dc8c-cec7-aeb1-d7653842a850",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 2,
- "data": [
- {
- "id": "5c993b1f8fbb652a1e53f09c",
- "type": "component",
- "created_at": 1553546015,
- "updated_at": 1656012486,
- "name": "m2",
- "description": "yup",
- "description_html": "<p>yup</p>\n",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012486,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5c993b1f8fbb652a1e53f09a",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}, - {
- "id": "5ad566898fbb654577715322",
- "type": "component",
- "created_at": 1523934857,
- "updated_at": 1656012476,
- "name": "syno",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1656012476,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "5ad566898fbb654577715320",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": "609324268fbb653a9850247b",
- "began_at": 1620255782,
- "ended_at": 1620255813,
- "title": "Elevated Traffic Detected",
- "duration": 31,
- "source": "global",
- "outage_durations": {
- "5ad566898fbb654577715322": 0,
- "5c993b1f8fbb652a1e53f09c": 0
}, - "outage_duration": 0,
- "excluded": false,
- "effective": true,
- "_links": {
- "self": {
}, - "components": {
}, - "statuses": {
},
}
}
], - "has_more": true,
- "_links": {
}
}
Retrieve the given TimelineItem by UUID.
timeline_item_id required | string (UUID) ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... The UUID of the of the TimelineItem. |
required | object (PagedArray) A PagedArray of Components affected by this TimelineItem. |
ended_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this TimelineItem stopped affecting the listed |
duration required | integer (nonnegative-integer) >= 0 The effective duration of this TimelineItem in seconds. This field is zero
when |
id required | string (UUID) ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... The UUID of this TimelineItem. |
required | TIMELINE_SOURCE_GLOBAL (string) or ObjectId (string) or Array of TIMELINE_SOURCE (strings) (TIMELINE_SOURCE) The particular Timeline source that this TimelineItem belongs to. This is
either the ObjectId of a single Component, an array of multiple Component
ObjectIds, or the string |
required | i18n-string (string) or i18n (object) (i18n-string) The title of this TimelineItem. If |
required | object (TIMELINE_OUTAGE_DURATIONS) The per-Component outage durations of this TimelineItem, each in seconds. The
keys of this object are Component ObjectIds, one for each Component in
This field is particularly useful when |
required | (ObjectId (string or null)) or (Issue (object or null)) |
excluded required | boolean Whether this TimelineItem is excluded from the global Timeline. Excluded items can still be pulled from this API, but will not be displayed on status pages. |
effective required | boolean Whether this TimelineItem affects the listed |
type required | string Value: "timeline_item" |
outage_duration required | integer or null (Maybe(nonnegative-integer)) >= 0 The outage duration of this TimelineItem in seconds. That is, the amount of
time for which Note: when |
required | object (PagedArray) A PagedArray of Statuses (if any) that make up this TimelineItem. Typically, this will only contain one Status. However, if multiple sub-operational (i.e. degraded/outage) Statuses occurred consecutively, then they will each be listed here. |
began_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this TimelineItem began affecting the listed |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "62b10ec8-4732-b764-59fd-97aa24784012",
- "type": "timeline_item",
- "components": {
- "type": "paged_array",
- "total_count": 1,
- "data": [
- {
- "id": "60932fa68fbb65f1c3be61e3",
- "type": "component",
- "created_at": 1620258726,
- "updated_at": 1658441924,
- "name": "m28",
- "description": null,
- "description_html": "",
- "exclude_from_global_history": false,
- "exclude_from_global_uptime": false,
- "last_event_at": 1658441924,
- "group": "5ad531158fbb652fe9df1c21",
- "watchdog": "60932fa68fbb65f1c3be61df",
- "percent_uptime": 100,
- "_links": {
- "update-form": {
}, - "events:by-context": {
}, - "timeline": {
},
}
}
], - "has_more": false,
- "_links": {
}
}, - "statuses": {
- "type": "paged_array",
- "total_count": 0,
- "data": [ ],
- "has_more": false,
- "_links": {
}
}, - "issue": null,
- "began_at": 1655770824,
- "ended_at": 1655770855,
- "title": "Outage",
- "duration": 31,
- "source": "global",
- "outage_durations": {
- "60932fa68fbb65f1c3be61e3": 31
}, - "outage_duration": 31,
- "excluded": false,
- "effective": true
}
Users represent authenticated users of the status page. Each User has an associated email address and Role set. Users can be created directly, or by creating an Invitation for a specific email address.
Unless you have a specific provisioning strategy in mind (e.g. an existing IdP), Users should be created by Invitation, so that the invited User may set their password appropriately.
Depending on a User's Role set, a User may have access to the dashboard. However, without a sufficient Role, a User will only be able to access the status page itself.
Index of Users collection. Returns a PagedArray.
role | string (ObjectId) ^[a-fA-F0-9]{24}$ Return Users who are currently granted the provided Role ID. |
roles[] | Array of strings (ObjectId) Return Users who are currently granted one or more of the provided
Role IDs. To use this query parameter, supply |
string Return Users whose Note: It is possible for email addresses like Note: Email addresses are case insensitive. Any casing given to this parameter will be ignored. | |
email! | string Return Users whose Note: Email addresses are case insensitive. Any casing given to this parameter will be ignored. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Users to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A User ObjectId after which the returned array of Users will begin in descending order. Typically, this is used to retrieve the next page of Users in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A User ObjectId before which the returned array of Users will end in descending order. Typically, this is used to retrieve the previous page of Users in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (User) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 10,
- "has_more": true,
- "data": [
- {
- "id": "620d6a1d8fbb659701a76c65",
- "type": "user",
- "created_at": 1645046301,
- "updated_at": 1645046301,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993b1f8fbb652a1e53f09c",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role105@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}, - {
- "id": "620d68da8fbb659701a76c53",
- "type": "user",
- "created_at": 1645045978,
- "updated_at": 1645045978,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993b1f8fbb652a1e53f09c",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role104@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}, - {
- "id": "620c587c8fbb6545e26dde8e",
- "type": "user",
- "created_at": 1644976252,
- "updated_at": 1644976252,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993b1f8fbb652a1e53f09c",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role103@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}, - {
- "id": "620c57988fbb6545e26dde8a",
- "type": "user",
- "created_at": 1644976024,
- "updated_at": 1644976024,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993b1f8fbb652a1e53f09c",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role102@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}, - {
- "id": "620c555f8fbb65417b700214",
- "type": "user",
- "created_at": 1644975455,
- "updated_at": 1644975455,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e",
- "5c993b1f8fbb652a1e53f09c"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role101@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}, - {
- "id": "620c46298fbb6530ef4474ae",
- "type": "user",
- "created_at": 1644971561,
- "updated_at": 1644971561,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e",
- "5c993b1f8fbb652a1e53f09c"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role100@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}, - {
- "id": "6202b6bc8fbb651015c8fafa",
- "type": "user",
- "created_at": 1644345020,
- "updated_at": 1644345020,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e",
- "5c993b1f8fbb652a1e53f09c"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role8@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}, - {
- "id": "6202b63c8fbb650d119937a4",
- "type": "user",
- "created_at": 1644344892,
- "updated_at": 1644344892,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e",
- "5c993b1f8fbb652a1e53f09c"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role7@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}, - {
- "id": "6202b5e38fbb6508dab69067",
- "type": "user",
- "created_at": 1644344803,
- "updated_at": 1644344803,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e",
- "5c993b1f8fbb652a1e53f09c"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role6@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}, - {
- "id": "6202b46f8fbb6508dab69065",
- "type": "user",
- "created_at": 1644344431,
- "updated_at": 1644344431,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e",
- "5c993b1f8fbb652a1e53f09c"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "user+role5@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}
], - "_links": {
}
}
Create a new User. Returns the newly created User.
email required | string The email address associated with this User. Notifications sent to this User will be delivered to this address. Note: If this address is changed via the API, the old email address will be informed of the change. |
password | string or null |
notification_exclusions | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
roles | Array of strings (ObjectId) The Role set granted to this User. All Roles granted to this User will appear here, regardless of their scope and the current API context. |
locale | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
listens_to_level | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this User. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was last updated. |
required | object (PagedArray) The Role set granted to this User. All Roles granted to this User will appear here, regardless of their scope and the current API context. |
email required | string The email address associated with this User. Notifications sent to this User will be delivered to this address. Note: If this address is changed via the API, the old email address will be informed of the change. |
required | object (Permissions) The current Permission set calculated from the User's |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "user" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "email": "new-user@example.com"
}
{- "id": "65e272498fbb65a2714b6622",
- "type": "user",
- "created_at": 1709339209,
- "updated_at": 1709339209,
- "notification_exclusions": [
- "5ad566898fbb654577715322",
- "5c9583858fbb6575d664cf96",
- "5c9588038fbb657c95d929e9",
- "5c993b1f8fbb652a1e53f09c",
- "5c993c0d8fbb652a1e53f152",
- "5c993c168fbb652a1e53f15e",
- "5c993c178fbb652a1e53f166",
- "5c993c208fbb652a1e53f16e",
- "5c993c248fbb652a1e53f176",
- "5c993c298fbb652a1e53f17e",
- "5c993c2a8fbb652a1e53f186",
- "5c993c358fbb652a1e53f18e",
- "5c993c478fbb652a1e53f196",
- "5c993c4c8fbb652a1e53f19e",
- "5d5c577c8fbb6552137cb5cb",
- "5d5c597b8fbb65598c4d1673",
- "5d5c6c498fbb657b390c5426",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": null,
- "email": "new-user@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}
Retrieve the User object for the currently authenticated API key or session.
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this User. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was last updated. |
required | object (PagedArray) The Role set granted to this User. All Roles granted to this User will appear here, regardless of their scope and the current API context. |
email required | string The email address associated with this User. Notifications sent to this User will be delivered to this address. Note: If this address is changed via the API, the old email address will be informed of the change. |
required | object (Permissions) The current Permission set calculated from the User's |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "user" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5c89c5bc8fbb651138f28af0",
- "type": "user",
- "created_at": 1552532924,
- "updated_at": 1674158104,
- "notification_exclusions": [
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "5e5029f38fbb657ce18eabd8",
- "6091ee508fbb653b2287025e",
- "5d64a8348fbb65fabd4321cd"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": "es-AR",
- "email": "user@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 3,
- "has_more": false,
- "data": [
- {
- "id": "5b4d1c188fbb652e9d438ef6",
- "type": "role",
- "name": "team_member",
- "slug": "team_member",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c068fbb652e3d3e1820",
- "type": "role",
- "name": "payer",
- "slug": "payer",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c058fbb652e3d3e1817",
- "type": "role",
- "name": "admin",
- "slug": "admin",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}
Retrieve the given User by ObjectId.
user_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the User. |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this User. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was last updated. |
required | object (PagedArray) The Role set granted to this User. All Roles granted to this User will appear here, regardless of their scope and the current API context. |
email required | string The email address associated with this User. Notifications sent to this User will be delivered to this address. Note: If this address is changed via the API, the old email address will be informed of the change. |
required | object (Permissions) The current Permission set calculated from the User's |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "user" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5c89c5bc8fbb651138f28af0",
- "type": "user",
- "created_at": 1552532924,
- "updated_at": 1674158104,
- "notification_exclusions": [
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "5e5029f38fbb657ce18eabd8",
- "6091ee508fbb653b2287025e",
- "5d64a8348fbb65fabd4321cd"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": "es-AR",
- "email": "user@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 3,
- "has_more": false,
- "data": [
- {
- "id": "5b4d1c188fbb652e9d438ef6",
- "type": "role",
- "name": "team_member",
- "slug": "team_member",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c068fbb652e3d3e1820",
- "type": "role",
- "name": "payer",
- "slug": "payer",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c058fbb652e3d3e1817",
- "type": "role",
- "name": "admin",
- "slug": "admin",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}
Update the given User by ObjectId.
user_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the User. |
password | string or null |
notification_exclusions | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
roles | Array of strings (ObjectId) The Role set granted to this User. All Roles granted to this User will appear here, regardless of their scope and the current API context. |
string The email address associated with this User. Notifications sent to this User will be delivered to this address. Note: If this address is changed via the API, the old email address will be informed of the change. | |
locale | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
listens_to_level | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this User. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was last updated. |
required | object (PagedArray) The Role set granted to this User. All Roles granted to this User will appear here, regardless of their scope and the current API context. |
email required | string The email address associated with this User. Notifications sent to this User will be delivered to this address. Note: If this address is changed via the API, the old email address will be informed of the change. |
required | object (Permissions) The current Permission set calculated from the User's |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "user" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "locale": "en"
}
{- "id": "5c89c5bc8fbb651138f28af0",
- "type": "user",
- "created_at": 1552532924,
- "updated_at": 1709335028,
- "notification_exclusions": [
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "5e5029f38fbb657ce18eabd8",
- "6091ee508fbb653b2287025e"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": "en",
- "email": "user2@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 3,
- "has_more": false,
- "data": [
- {
- "id": "5b4d1c188fbb652e9d438ef6",
- "type": "role",
- "name": "team_member",
- "slug": "team_member",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c068fbb652e3d3e1820",
- "type": "role",
- "name": "payer",
- "slug": "payer",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c058fbb652e3d3e1817",
- "type": "role",
- "name": "admin",
- "slug": "admin",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}
Delete the given User by ObjectId.
user_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the User. |
{- "type": "api/error/not_authorized",
- "logref": "018dfc4c-f98e-7979-9eac-778335bcbf2f",
- "message": "Insufficient API key permissions."
}
Initiates a password reset flow for the given User. The User will receive an email allowing them to reset their password, similar to the User requesting a reset from the Sign-in form.
user_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the User. |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this User. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was last updated. |
required | object (PagedArray) The Role set granted to this User. All Roles granted to this User will appear here, regardless of their scope and the current API context. |
email required | string The email address associated with this User. Notifications sent to this User will be delivered to this address. Note: If this address is changed via the API, the old email address will be informed of the change. |
required | object (Permissions) The current Permission set calculated from the User's |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "user" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5c89c5bc8fbb651138f28af0",
- "type": "user",
- "created_at": 1552532924,
- "updated_at": 1674158104,
- "notification_exclusions": [
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "5e5029f38fbb657ce18eabd8",
- "6091ee508fbb653b2287025e",
- "5d64a8348fbb65fabd4321cd"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": "es-AR",
- "email": "user@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 3,
- "has_more": false,
- "data": [
- {
- "id": "5b4d1c188fbb652e9d438ef6",
- "type": "role",
- "name": "team_member",
- "slug": "team_member",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c068fbb652e3d3e1820",
- "type": "role",
- "name": "payer",
- "slug": "payer",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c058fbb652e3d3e1817",
- "type": "role",
- "name": "admin",
- "slug": "admin",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}
Forces a User to become signed out on all devices by resetting their remember token.
user_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the User. |
notification_exclusions required | Array of strings (ObjectId) A list of Component ObjectIds that this User will ignore notifications regarding. A specific notification is suppressed exactly when all of the Event's
|
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was created. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this User. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this User was last updated. |
required | object (PagedArray) The Role set granted to this User. All Roles granted to this User will appear here, regardless of their scope and the current API context. |
email required | string The email address associated with this User. Notifications sent to this User will be delivered to this address. Note: If this address is changed via the API, the old email address will be informed of the change. |
required | object (Permissions) The current Permission set calculated from the User's |
locale required | string or null (maybe-string) The language in which to render notifications sent to this User. The string
should be a supported IETF BCP 47 language tag
(e.g. When this field is |
listens_to required | Array of strings (NotificationEvents) unique Items Enum: "restored" "degraded" "issue_upcoming" "issue_retrospectively_created" "-issue_retrospectively_created" "informational_issue_created" "-informational_issue_created" "scheduled_issue_created" "-scheduled_issue_created" "issue_created" "issue_reopened" "-issue_reopened" "issue_resolved" "-issue_resolved" "issue_addended" "-issue_addended" "issue_updated" "issue_cancelled" "issue_started" "issue_ended" "notifier_tested" A list of notification events that this User will listen for. Prefixing
an event name with To read more about the various notification event types encountered within Hund, please read this article. |
type required | string Value: "user" |
listens_to_level required | string (NOTIFICATION_LISTEN_LEVEL) Enum: "all" "normal" "custom" A string representation of the
|
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5c89c5bc8fbb651138f28af0",
- "type": "user",
- "created_at": 1552532924,
- "updated_at": 1674158104,
- "notification_exclusions": [
- "5e4f0ce98fbb654a4b2a4313",
- "5e4f12b38fbb654a4b2a4323",
- "5e5029f38fbb657ce18eabd8",
- "6091ee508fbb653b2287025e",
- "5d64a8348fbb65fabd4321cd"
], - "listens_to": [
- "restored",
- "degraded",
- "issue_upcoming",
- "issue_created",
- "issue_updated",
- "issue_cancelled",
- "issue_started",
- "issue_ended",
- "notifier_tested"
], - "listens_to_level": "all",
- "locale": "es-AR",
- "email": "user@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "roles": {
- "type": "paged_array",
- "total_count": 3,
- "has_more": false,
- "data": [
- {
- "id": "5b4d1c188fbb652e9d438ef6",
- "type": "role",
- "name": "team_member",
- "slug": "team_member",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c068fbb652e3d3e1820",
- "type": "role",
- "name": "payer",
- "slug": "payer",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "5b4d1c058fbb652e3d3e1817",
- "type": "role",
- "name": "admin",
- "slug": "admin",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
- "beginning": {
}
}
}, - "_links": {
- "update-form": {
},
}
}
Roles represent a specific set of Permissions that are granted to Users of that Role. There are two main types of Roles: "builtin" and "custom".
Builtin Roles are generated automatically, and cannot be modified nor deleted.
Roles like admin
and team_member
are examples of builtin Roles.
Custom Roles can be created via this API at any time, and may be modified or deleted as necessary.
A Role may also be scoped to a specific status page, implying that Users of that Role are granted the specific Permissions of the Role, but only for objects associated with the scoped status page. An "unscoped" or "global" Role grants the Role's Permissions across the entire account.
Index of Roles collection. Returns a PagedArray.
builtin | boolean Default: false When true, returns only Roles where |
custom | boolean Default: false When true, returns only Roles where |
ROLE_SCOPE_GLOBAL (string) or ObjectId (string) Return Roles whose | |
slug | string Return Roles of this specific slug. Roles can only be modified by slug, thus affecting all Role objects with the same slug. |
user | string (ObjectId) ^[a-fA-F0-9]{24}$ Return Roles that are currently granted to the given User. |
invitation | string (ObjectId) ^[a-fA-F0-9]{24}$ Return Roles that are currently granted to the given Invitation. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Roles to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Role ObjectId after which the returned array of Roles will begin in descending order. Typically, this is used to retrieve the next page of Roles in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Role ObjectId before which the returned array of Roles will end in descending order. Typically, this is used to retrieve the previous page of Roles in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Role) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 10,
- "has_more": true,
- "data": [
- {
- "id": "61cb7ccf8fbb65c9e58b4f8f",
- "type": "role",
- "name": "customer6 Role Admin (Porbo Labs)",
- "slug": "role_admin",
- "scope": "5ad4fcb08fbb650f596df4a4",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "61cb7ccf8fbb65c9e58b4f8e",
- "type": "role",
- "name": "customer6 Role Admin (Global)",
- "slug": "role_admin",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "61cb7ccf8fbb65c9e58b4f8d",
- "type": "role",
- "name": "customer6 (Global)",
- "slug": "customer6",
- "scope": "global",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "61cb7ccf8fbb65c9e58b4f8a",
- "type": "role",
- "name": "customer6 (Porbo Labs)",
- "slug": "customer6",
- "scope": "5ad4fcb08fbb650f596df4a4",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "61cb7cb88fbb65c9e58b4f87",
- "type": "role",
- "name": "customer5 Role Admin (Porbo Labs)",
- "slug": "role_admin",
- "scope": "5ad4fcb08fbb650f596df4a4",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "61cb7cb88fbb65c9e58b4f86",
- "type": "role",
- "name": "customer5 Role Admin (Global)",
- "slug": "role_admin",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "61cb7cb88fbb65c9e58b4f85",
- "type": "role",
- "name": "customer5 (Global)",
- "slug": "customer5",
- "scope": "global",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "61cb7cb88fbb65c9e58b4f82",
- "type": "role",
- "name": "customer5 (Porbo Labs)",
- "slug": "customer5",
- "scope": "5ad4fcb08fbb650f596df4a4",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "61cb7cab8fbb65c9e58b4f7f",
- "type": "role",
- "name": "customer4 Role Admin (Porbo Labs)",
- "slug": "role_admin",
- "scope": "5ad4fcb08fbb650f596df4a4",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "61cb7cab8fbb65c9e58b4f7e",
- "type": "role",
- "name": "customer4 Role Admin (Global)",
- "slug": "role_admin",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
}
}
Create a new set of custom Roles. Returns the newly created Roles. Each Role
in the returned set will share the same slug, derived from the given name,
one for each possible scope
on your account.
If any status pages are added/removed later on, appropriately scoped roles for each page are automatically provisioned for every Role slug on your account.
name required | string The human-readable name of this Role. |
object (Permissions) The set of Permissions that this Role grants access to, under the given |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Role) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "name": "Issue Creators",
- "permissions": {
- "issue": {
- "level": "w"
}
}
}
{- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "65e64acd8fbb654b5a0d2ac9",
- "type": "role",
- "name": "Issue Creators (Global)",
- "slug": "issue_creators",
- "scope": "global",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "65e64acd8fbb654b5a0d2ac5",
- "type": "role",
- "name": "Issue Creators (Example Status)",
- "slug": "issue_creators",
- "scope": "5ad4fcb08fbb650f596df4a4",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
}
}
Update the given Roles by slug. Only one slug may be updated at a time via this collection-based method.
slug required | string The slug defining the set of Roles to update. |
name | string The human-readable name of this Role. |
object (Permissions) The set of Permissions that this Role grants access to, under the given |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Role) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "permissions": {
- "issue_template": {
- "level": "w"
}
}
}
{- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "65e64acd8fbb654b5a0d2ac9",
- "type": "role",
- "name": "Issue Creators (Global)",
- "slug": "issue_creators",
- "scope": "global",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "65e64acd8fbb654b5a0d2ac5",
- "type": "role",
- "name": "Issue Creators (Example Status)",
- "slug": "issue_creators",
- "scope": "5ad4fcb08fbb650f596df4a4",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
}
}
Delete the given Roles by slug. Only one slug may be deleted at a time via this collection-based method.
slug required | string The slug defining the set of Roles to delete. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Role) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 2,
- "has_more": false,
- "data": [
- {
- "id": "65e64acd8fbb654b5a0d2ac9",
- "type": "role",
- "name": "Issue Creators (Global)",
- "slug": "issue_creators",
- "scope": "global",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}, - {
- "id": "65e64acd8fbb654b5a0d2ac5",
- "type": "role",
- "name": "Issue Creators (Example Status)",
- "slug": "issue_creators",
- "scope": "5ad4fcb08fbb650f596df4a4",
- "builtin": false,
- "permissions": {
- "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
}
}
Retrieve the given Role by ObjectId.
role_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Role. |
name required | string The human-readable name of this Role. |
slug required | string A machine-friendly slug, unique to this Role family (i.e. unique up to |
required | ROLE_SCOPE_GLOBAL (string) or ObjectId (string) (ROLE_SCOPE) The scope over which this Role pertains. This can be either the string |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Role. |
required | object (Permissions) The set of Permissions that this Role grants access to, under the given |
builtin required | boolean Whether or not this Role is an immutable, automatically generated, builtin Role.
When |
type required | string Value: "role" |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "5b4d1c058fbb652e3d3e1817",
- "type": "role",
- "name": "Admin (Global)",
- "slug": "admin",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "w",
- "modifiers": [
- "all",
- "creds"
]
}, - "role": {
- "level": "w",
- "modifiers": [
- "all"
]
}, - "invitation": {
- "level": "w",
- "modifiers": [ ]
}, - "request_log": {
- "level": "r",
- "modifiers": [ ]
}
}, - "_links": {
}
}
Invitations are one method for provisioning Users. When an Invitation object is created, an email is immediately sent to the chosen address of the Invitation.
This email contains a secure token that allows the recipient to create a new User object with their chosen credentials. Once the token has been used to provision a User, the Invitation enters the "redeemed" state, preventing further usage of the Invitation.
Index of Invitations collection. Returns a PagedArray.
active | boolean Default: false When true, returns only Invitations where |
redeemed | boolean Default: false When true, returns only Invitations where |
role | string (ObjectId) ^[a-fA-F0-9]{24}$ Return Invitations who are currently granted the provided Role ID. |
roles[] | Array of strings (ObjectId) Return Invitations who are currently granted one or more of the provided
Role IDs. To use this query parameter, supply |
string Return Invitations whose Note: It is possible for email addresses like Note: Email addresses are case insensitive. Any casing given to this parameter will be ignored. | |
email! | string Return Invitations whose Note: Email addresses are case insensitive. Any casing given to this parameter will be ignored. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of Invitations to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A Invitation ObjectId after which the returned array of Invitations will begin in descending order. Typically, this is used to retrieve the next page of Invitations in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A Invitation ObjectId before which the returned array of Invitations will end in descending order. Typically, this is used to retrieve the previous page of Invitations in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (Invitation) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 10,
- "has_more": true,
- "data": [
- {
- "id": "620d6a018fbb659701a76c64",
- "type": "invitation",
- "created_at": 1645046273,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1645046301,
- "email": "user+role105@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "3Tgb5ML__vHLaWdMcF_XXg",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}, - {
- "id": "620d68c78fbb659701a76c52",
- "type": "invitation",
- "created_at": 1645045959,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1645045978,
- "email": "user+role104@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "Ib61c9xzavSe-xyMQphnMg",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}, - {
- "id": "620c58648fbb6545e26dde8d",
- "type": "invitation",
- "created_at": 1644976228,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1644976252,
- "email": "user+role103@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "qAd3mj_0y7MfNL4k6yCfzQ",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}, - {
- "id": "620c576d8fbb6545e26dde89",
- "type": "invitation",
- "created_at": 1644975981,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1644976024,
- "email": "user+role102@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "-Mhd1nQ1Zo4zJgkfejM2Vw",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}, - {
- "id": "620c55488fbb65417b700213",
- "type": "invitation",
- "created_at": 1644975432,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1644975455,
- "email": "user+role101@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "DOwo-c2EQ9jVFSSqZrw9aA",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}, - {
- "id": "620c46038fbb6530ef4474ad",
- "type": "invitation",
- "created_at": 1644971523,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1644971561,
- "email": "user+role100@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "qCM0APIcD2waz76UwOLH4A",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}, - {
- "id": "6202b6a58fbb651015c8faf9",
- "type": "invitation",
- "created_at": 1644344997,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1644345020,
- "email": "user+role8@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "O_17ymOYEVpgJZz-t0E8JA",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}, - {
- "id": "6202b6058fbb650d119937a2",
- "type": "invitation",
- "created_at": 1644344837,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1644344892,
- "email": "user+role7@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "KqfDwETrBPeV735WQs-xOA",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}, - {
- "id": "6202b5bb8fbb6508dab69066",
- "type": "invitation",
- "created_at": 1644344763,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1644344803,
- "email": "user+role6@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "OnpQomgPg9maXufyWnbkBg",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}, - {
- "id": "6202b44e8fbb6508dab69064",
- "type": "invitation",
- "created_at": 1644344398,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1644344431,
- "email": "user+role5@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "Sc31CpEog5aeaGGSrQNoSA",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}
], - "_links": {
}
}
Create a new Invitation. Returns the newly created Invitation.
email required | string The email address associated with this Invitation. A message containing a secure token will be sent to this address when an Invitation is first created. Note: This field cannot be changed once the Invitation is created. In order to invite a different email address, a new Invitation must be created instead. If an email was invited by mistake, simply delete that Invitation. |
roles | Array of strings (ObjectId) The Role set that will be granted to the new User upon redemption of this Invitation. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Invitation was created. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Invitation was last updated. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Invitation. |
required | object (RoleSet) The Role set that will be granted to the new User upon redemption of this Invitation. |
redeemed required | boolean Whether or not this Invitation has been redeemed. |
required | object (Permissions) The calculated set of Permissions that will be granted to the User upon
redemption of this Invitation, according to the configured |
email required | string The email address associated with this Invitation. A message containing a secure token will be sent to this address when an Invitation is first created. Note: This field cannot be changed once the Invitation is created. In order to invite a different email address, a new Invitation must be created instead. If an email was invited by mistake, simply delete that Invitation. |
redeemed_at required | integer or null <int64> (maybe-timestamp) >= 0 The UNIX timestamp at which this Invitation was redeemed. This field is |
type required | string Value: "invitation" |
token required | string The secure token that is sent to the |
object (HAL Links) An object describing the various link relations for this type. |
{- "email": "new-user@example.com"
}
{- "id": "65e662ad8fbb656c5c6c3d9d",
- "type": "invitation",
- "created_at": 1709597357,
- "updated_at": 1709597357,
- "redeemed": false,
- "redeemed_at": null,
- "email": "new-user@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "y34JrRpdCri-yTVswbTY_w",
- "roles": {
- "type": "paged_array",
- "total_count": 1,
- "has_more": true,
- "data": [
- {
- "id": "5b4d1c188fbb652e9d438ef6",
- "type": "role",
- "name": "Team Member (Global)",
- "slug": "team_member",
- "scope": "global",
- "builtin": true,
- "permissions": {
- "component": {
- "level": "w",
- "modifiers": [ ]
}, - "group": {
- "level": "w",
- "modifiers": [ ]
}, - "issue": {
- "level": "w",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "w",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "w",
- "modifiers": [ ]
}, - "notifier": {
- "level": "w",
- "modifiers": [ ]
}, - "subscription": {
- "level": "w",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "w",
- "modifiers": [ ]
}, - "status": {
- "level": "w",
- "modifiers": [ ]
}, - "reason": {
- "level": "r",
- "modifiers": [ ]
}, - "event": {
- "level": "r",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "user": {
- "level": "n",
- "modifiers": [ ]
}, - "role": {
- "level": "n",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "_links": {
}
}
], - "_links": {
- "self": {
}, - "beginning": {
}
}
}, - "_links": {
}
}
Retrieve the given Invitation by ObjectId.
invitation_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Invitation. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Invitation was created. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Invitation was last updated. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Invitation. |
required | object (RoleSet) The Role set that will be granted to the new User upon redemption of this Invitation. |
redeemed required | boolean Whether or not this Invitation has been redeemed. |
required | object (Permissions) The calculated set of Permissions that will be granted to the User upon
redemption of this Invitation, according to the configured |
email required | string The email address associated with this Invitation. A message containing a secure token will be sent to this address when an Invitation is first created. Note: This field cannot be changed once the Invitation is created. In order to invite a different email address, a new Invitation must be created instead. If an email was invited by mistake, simply delete that Invitation. |
redeemed_at required | integer or null <int64> (maybe-timestamp) >= 0 The UNIX timestamp at which this Invitation was redeemed. This field is |
type required | string Value: "invitation" |
token required | string The secure token that is sent to the |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "620d6a018fbb659701a76c64",
- "type": "invitation",
- "created_at": 1645046273,
- "updated_at": 1645046273,
- "redeemed": true,
- "redeemed_at": 1645046301,
- "email": "user+role105@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "3Tgb5ML__vHLaWdMcF_XXg",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}
Update the given Invitation by ObjectId.
invitation_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Invitation. |
roles | Array of strings (ObjectId) The Role set that will be granted to the new User upon redemption of this Invitation. |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Invitation was created. |
updated_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this Invitation was last updated. |
id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of this Invitation. |
required | object (RoleSet) The Role set that will be granted to the new User upon redemption of this Invitation. |
redeemed required | boolean Whether or not this Invitation has been redeemed. |
required | object (Permissions) The calculated set of Permissions that will be granted to the User upon
redemption of this Invitation, according to the configured |
email required | string The email address associated with this Invitation. A message containing a secure token will be sent to this address when an Invitation is first created. Note: This field cannot be changed once the Invitation is created. In order to invite a different email address, a new Invitation must be created instead. If an email was invited by mistake, simply delete that Invitation. |
redeemed_at required | integer or null <int64> (maybe-timestamp) >= 0 The UNIX timestamp at which this Invitation was redeemed. This field is |
type required | string Value: "invitation" |
token required | string The secure token that is sent to the |
object (HAL Links) An object describing the various link relations for this type. |
{- "roles": [ ]
}
{- "id": "65e662ad8fbb656c5c6c3d9d",
- "type": "invitation",
- "created_at": 1709597357,
- "updated_at": 1709598197,
- "redeemed": false,
- "redeemed_at": null,
- "email": "new-user@example.com",
- "permissions": {
- "user": {
- "level": "w",
- "modifiers": [ ]
}, - "role": {
- "level": "r",
- "modifiers": [ ]
}, - "component": {
- "level": "r",
- "modifiers": [ ]
}, - "group": {
- "level": "r",
- "modifiers": [ ]
}, - "issue": {
- "level": "r",
- "modifiers": [ ]
}, - "issue_template": {
- "level": "n",
- "modifiers": [ ]
}, - "metric_provider": {
- "level": "n",
- "modifiers": [ ]
}, - "notifier": {
- "level": "n",
- "modifiers": [ ]
}, - "subscription": {
- "level": "n",
- "modifiers": [ ]
}, - "watchdog": {
- "level": "n",
- "modifiers": [ ]
}, - "status": {
- "level": "r",
- "modifiers": [ ]
}, - "reason": {
- "level": "n",
- "modifiers": [ ]
}, - "event": {
- "level": "n",
- "modifiers": [ ]
}, - "timeline": {
- "level": "r",
- "modifiers": [ ]
}, - "invitation": {
- "level": "n",
- "modifiers": [ ]
}, - "request_log": {
- "level": "n",
- "modifiers": [ ]
}
}, - "token": "y34JrRpdCri-yTVswbTY_w",
- "roles": {
- "type": "paged_array",
- "total_count": 0,
- "has_more": false,
- "data": [ ],
- "_links": {
- "self": {
}, - "prev": {
}, - "beginning": {
}
}
}, - "_links": {
}
}
Delete the given Invitation by ObjectId.
invitation_id required | string (ObjectId) ^[a-fA-F0-9]{24}$ The ObjectId of the of the Invitation. |
{- "type": "api/error/not_authorized",
- "logref": "018e0bef-a505-7623-893c-44c1f51e72b1",
- "message": "Insufficient API key permissions."
}
A log of API and dashboard requests, which can serve as an audit log of actions taken by Users against your account.
Index of RequestLogs collection. Returns a PagedArray.
successful | boolean When true, return only RequestLogs with success response. When false, returns RequestLogs with failed response. |
source | string Enum: "dashboard" "api" Return RequestLogs only from the given source. |
response_code | integer >= 0 Return RequestLogs with the given response code. |
verb | string Return RequestLogs with the given HTTP verb. |
string Return RequestLogs whose Note: Email addresses are case insensitive. Any casing given to this parameter will be ignored. | |
email! | string Return RequestLogs whose Note: Email addresses are case insensitive. Any casing given to this parameter will be ignored. |
domain | string Return RequestLogs for requests made on the given domain. |
ip_address | string Return RequestLogs for requests made by the given IP address. |
user | string (ObjectId) ^[a-fA-F0-9]{24}$ Return RequestLogs for requests made by the given User. |
api_key | string (ObjectId) ^[a-fA-F0-9]{24}$ Return RequestLogs for requests made by the given API key. |
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=3 The number of RequestLogs to return per page. |
starting_after | string (ObjectId) ^[a-fA-F0-9]{24}$ A RequestLog ObjectId after which the returned array of RequestLogs will begin in descending order. Typically, this is used to retrieve the next page of RequestLogs in descending order. |
ending_before | string (ObjectId) ^[a-fA-F0-9]{24}$ A RequestLog ObjectId before which the returned array of RequestLogs will end in descending order. Typically, this is used to retrieve the previous page of RequestLogs in descending order. |
has_more required | boolean Whether or not there are more objects after this page in descending order. When false, this page is the final page of objects in descending order. |
total_count required | integer >= 0 The total number of objects in |
type required | string Value: "paged_array" |
required | Array of objects (RequestLog) unique An array of the objects in this page. |
object (HAL Links) An object describing the various link relations for this type. |
{- "type": "paged_array",
- "total_count": 5,
- "has_more": true,
- "data": [
- {
- "id": "018e0c06-3e69-75bd-b2a0-ae2fad58b6f2",
- "type": "request_log",
- "created_at": 1709598719,
- "user": "5ad4fcb18fbb650f596df4a7",
- "api_key": "5ec6e3f58fbb6545cc9dba5a",
- "successful": true,
- "source": "api",
- "email": "user@example.com",
- "domain": "status.example.com",
- "path": "/api/v1/request_logs",
- "verb": "get",
- "response_code": 200,
- "ip_address": "192.0.2.14",
- "user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
- "locale": "en",
- "api_version": "2021-09-01",
- "query": null,
- "request_body": null,
- "response_body": null,
- "_links": {
- "self": {
},
}
}, - {
- "id": "018e0c05-421a-70d7-9461-87bc7eeb2252",
- "type": "request_log",
- "created_at": 1709598655,
- "user": "5ad4fcb18fbb650f596df4a7",
- "api_key": "5ec6e3f58fbb6545cc9dba5a",
- "successful": true,
- "source": "api",
- "email": "user@example.com",
- "domain": "status.example.com",
- "path": "/api/v1/request_logs",
- "verb": "get",
- "response_code": 200,
- "ip_address": "192.0.2.14",
- "user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
- "locale": "en",
- "api_version": "2021-09-01",
- "query": null,
- "request_body": null,
- "response_body": null,
- "_links": {
- "self": {
},
}
}, - {
- "id": "018e0bff-86db-7cd5-881d-a4e7325915d2",
- "type": "request_log",
- "created_at": 1709598279,
- "user": "5ad4fcb18fbb650f596df4a7",
- "api_key": "5ec6e3f58fbb6545cc9dba5a",
- "successful": false,
- "source": "api",
- "email": "user@example.com",
- "domain": "status.example.com",
- "path": "/api/v1/request_logs",
- "verb": "get",
- "response_code": 500,
- "ip_address": "192.0.2.14",
- "user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
- "locale": "en",
- "api_version": "2021-09-01",
- "query": null,
- "request_body": null,
- "response_body": null,
- "_links": {
- "self": {
},
}
}, - {
- "id": "018e0bfe-46cb-70d8-a6a6-a964e31616b3",
- "type": "request_log",
- "created_at": 1709598197,
- "user": "5ad4fcb18fbb650f596df4a7",
- "api_key": "5ec6e3f58fbb6545cc9dba5a",
- "successful": true,
- "source": "api",
- "email": "user@example.com",
- "domain": "status.example.com",
- "path": "/api/v1/invitations/65e662ad8fbb656c5c6c3d9d",
- "verb": "put",
- "response_code": 200,
- "ip_address": "192.0.2.14",
- "user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
- "locale": "en",
- "api_version": "2021-09-01",
- "query": null,
- "request_body": "{\"roles\":[]}",
- "response_body": "{\"id\":\"65e662ad8fbb656c5c6c3d9d\",\"type\":\"invitation\",\"created_at\":1709597357,\"updated_at\":1709598197,\"redeemed\":false,\"redeemed_at\":null,\"email\":\"new-user@example.com\",\"permissions\":{\"user\":{\"level\":\"w\",\"modifiers\":[]},\"role\":{\"level\":\"r\",\"modifiers\":[]},\"component\":{\"level\":\"r\",\"modifiers\":[]},\"group\":{\"level\":\"r\",\"modifiers\":[]},\"issue\":{\"level\":\"r\",\"modifiers\":[]},\"issue_template\":{\"level\":\"n\",\"modifiers\":[]},\"metric_provider\":{\"level\":\"n\",\"modifiers\":[]},\"notifier\":{\"level\":\"n\",\"modifiers\":[]},\"subscription\":{\"level\":\"n\",\"modifiers\":[]},\"watchdog\":{\"level\":\"n\",\"modifiers\":[]},\"status\":{\"level\":\"r\",\"modifiers\":[]},\"reason\":{\"level\":\"n\",\"modifiers\":[]},\"event\":{\"level\":\"n\",\"modifiers\":[]},\"timeline\":{\"level\":\"r\",\"modifiers\":[]},\"invitation\":{\"level\":\"n\",\"modifiers\":[]},\"request_log\":{\"level\":\"n\",\"modifiers\":[]}},\"token\":\"y34JrRpdCri-yTVswbTY_w\",\"_embedded\":{\"roles\":{\"type\":\"paged_array\",\"total_count\":0,\"has_more\":false,\"_embedded\":{\"data\":[]},\"_links\":{\"self\":{\"href\":\"https://status.example.com/api/v1/roles?invitation=65e662ad8fbb656c5c6c3d9d\\u0026limit=10\"},\"create-form\":{\"href\":\"https://status.example.com/dashboard/roles/new\"},\"prev\":{\"href\":\"https://status.example.com/api/v1/roles?invitation=65e662ad8fbb656c5c6c3d9d\\u0026limit=10\"},\"beginning\":{\"href\":\"https://status.example.com/api/v1/roles?invitation=65e662ad8fbb656c5c6c3d9d\\u0026limit=10\"}}}},\"_links\":{\"self\":{\"href\":\"https://status.example.com/api/v1/invitations/65e662ad8fbb656c5c6c3d9d\"},\"roles\":{\"href\":\"https://status.example.com/api/v1/roles?invitation=65e662ad8fbb656c5c6c3d9d\"},\"redeem-form\":{\"href\":\"https://status.example.com/team/sign_up?token=y34JrRpdCri-yTVswbTY_w\"}}}",
- "_links": {
- "self": {
},
}
}, - {
- "id": "018e0bfc-7ba9-764d-9d00-91471bd44ed4",
- "type": "request_log",
- "created_at": 1709598080,
- "user": "5ad4fcb18fbb650f596df4a7",
- "api_key": "5ec6e3f58fbb6545cc9dba5a",
- "successful": true,
- "source": "api",
- "email": "user@example.com",
- "domain": "status.example.com",
- "path": "/api/v1/invitations/65e662ad8fbb656c5c6c3d9d",
- "verb": "get",
- "response_code": 200,
- "ip_address": "192.0.2.14",
- "user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
- "locale": "en",
- "api_version": "2021-09-01",
- "query": null,
- "request_body": null,
- "response_body": null,
- "_links": {
- "self": {
},
}
}
], - "_links": {
}
}
Retrieve the given RequestLog by ObjectId.
request_log_id required | string (UUID) ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... The UUID of the of the RequestLog. |
required | (User (object or null)) or (ObjectId (string or null)) |
created_at required | integer <int64> (timestamp) >= 0 The UNIX timestamp at which this RequestLog was generated. |
request_body required | string or null |
api_version required | string or null (maybe-string) The version of the REST API that this request was made under. This field is null
if |
domain required | string The status page domain at which this request was made. |
id required | string (UUID) ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}... The UUID of this RequestLog. This is the same value that is sent in the
|
source required | string (REQUEST_LOG_SOURCE) Enum: "dashboard" "api" The source of this request within Hund. This field takes on two values:
|
response_body required | string or null |
email required | string or null (maybe-string) The email address associated with the User at the time this request was made. This value never changes, even if the associated User changes email addresses, or is deleted. |
path required | string The HTTP path at which this request was made. |
api_key required | string or null (Maybe(ObjectId)) ^[a-fA-F0-9]{24}$ The API key that was used to make this request, if applicable. This field is null
when |
required | object or null (Maybe(json-object)) An object containing the key-value pairs used in the query string of this request. This field is null if the query string was empty. |
locale required | string An IETF BCP 47 language tag denoting the locale of the response. |
response_code required | integer (nonnegative-integer) >= 0 The HTTP response code returned by the server. |
ip_address required | string The IP address that this request originated from. |
user_agent required | string The |
type required | string Value: "request_log" |
verb required | string The HTTP verb used to make this request. |
successful required | boolean When true, implies that this request had a successful response ( |
object (HAL Links) An object describing the various link relations for this type. |
{- "id": "018e0c06-3e69-75bd-b2a0-ae2fad58b6f2",
- "type": "request_log",
- "created_at": 1709598719,
- "user": "5ad4fcb18fbb650f596df4a7",
- "api_key": "5ec6e3f58fbb6545cc9dba5a",
- "successful": true,
- "source": "api",
- "email": "user@example.com",
- "domain": "status.example.com",
- "path": "/api/v1/request_logs",
- "verb": "get",
- "response_code": 200,
- "ip_address": "192.0.2.14",
- "user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
- "locale": "en",
- "api_version": "2021-09-01",
- "query": null,
- "request_body": null,
- "response_body": null,
- "_links": {
- "self": {
},
}
}