@abgov/adsp-sdk-mcp-server 1.35.0 → 1.35.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"openapi":"3.0.0","info":{"title":"Status service","version":"0.0.0","description":"The status service provides the capability to monitor the health of applications and services, and to\npublish _status_ information about them. Along with the Tenant Admin Webapp, it allows you to\n* manage which applications and services will be monitored,\n* control application monitoring,\n* access an application's published status,\n* manage public notices regarding the application's status.\n\nPlease use the [Tenant Admin Webapp](https://adsp.alberta.ca) to manage the applications and services\nthat you wish to be monitored. For more information on how the _Status Service_ works, please see the\n[Status Service tutorial](https://govalta.github.io/adsp-monorepo/tutorials/status-service/Introduction.html).\n"},"paths":{"/notice/v1/notices":{"get":{"tags":["Notices"],"description":"Retrieves notices, newest first. Anonymous requests are accepted.\n- Anonymous requests read published notices; set `name` to read only the notices of that tenant (the name must\n be the name of an existing tenant).\n\n- Authenticated tenant users read the published notices of the tenant of their token; `name` is ignored.\n- Users with the status-admin role read all notices of the tenant of their token, or the notices in `mode`.\n","security":[{},{"accessToken":[]}],"parameters":[{"name":"top","description":"Number of results to read.","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":50,"example":10}},{"name":"after","description":"Number of results to skip, as returned in the _next_ query string of a previous page.","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"example":10}},{"name":"mode","description":"Mode of notices to read. Only used for users with the status-admin role; `active` reads all notices except archived ones.\n","in":"query","required":false,"schema":{"type":"string","enum":["active","draft","published","archived"]}},{"name":"name","description":"Name of the tenant to read published notices for (case insensitive). Only used for anonymous requests.","in":"query","required":false,"schema":{"type":"string"},"example":"my-tenant"}],"responses":{"200":{"description":"Notices successfully retrieved.","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"description":"A list of notices that match the query","type":"array","items":{"$ref":"#/components/schemas/Notice"}},"page":{"$ref":"#/components/schemas/Page"}}},"example":{"results":[{"id":"6730c4f1a2b3c4d5e6f70812","message":"My Application will be down for weekly maintenance during the following hours.","tennantServRef":[{"id":"my-application","name":"My Application"}],"isAllApplications":false,"startDate":"2026-11-15T02:00:00.000Z","endDate":"2026-11-15T04:00:00.000Z","mode":"published","created":"2026-11-10T16:00:00.000Z","tenantId":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46","tenantName":"My Tenant"}],"page":{"after":0,"size":1,"next":null,"total":1}}}}}}},"post":{"tags":["Notices"],"description":"Creates a notice in draft mode for the tenant of the token. Requires the status-admin role.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["message","tennantServRef","startDate","endDate"],"properties":{"message":{"type":"string"},"tennantServRef":{"description":"Applications the notice applies to. Send an empty array with isAllApplications set to true for all applications.","type":"array","items":{"$ref":"#/components/schemas/NoticeApplicationRef"}},"isAllApplications":{"type":"boolean","default":false},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"}}},"example":{"message":"My Application will be down for weekly maintenance during the following hours.","tennantServRef":[{"id":"my-application","name":"My Application"}],"isAllApplications":false,"startDate":"2026-11-15T02:00:00.000Z","endDate":"2026-11-15T04:00:00.000Z"}}}},"responses":{"201":{"description":"Notice successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notice"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"}}}},"/notice/v1/notices/{id}":{"parameters":[{"$ref":"#/components/parameters/StatusNoticeId"}],"get":{"tags":["Notices"],"description":"Retrieves a notice of the tenant of the token. Requires an authenticated tenant user; published notices can be read by any user of the tenant, and other notices require the status-admin role.\n","responses":{"200":{"description":"Notice successfully retrieved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notice"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}},"patch":{"tags":["Notices"],"description":"Updates a notice of the tenant of the token. Requires the status-admin role. All fields of a draft notice can be updated, and a draft notice can be published but not archived. Only the mode of a published notice can be updated, to archive it or return it to draft. Archived notices cannot be updated. Publishing a notice sends the application-notice-published event.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"tennantServRef":{"type":"array","items":{"$ref":"#/components/schemas/NoticeApplicationRef"}},"isAllApplications":{"type":"boolean"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"mode":{"type":"string","enum":["draft","published","archived"]}}},"examples":{"edit":{"summary":"Edit a draft notice","value":{"message":"My Application will be down for maintenance during the following hours.","endDate":"2026-11-15T05:00:00.000Z"}},"publish":{"summary":"Publish a draft notice","value":{"mode":"published"}},"archive":{"summary":"Archive a published notice","value":{"mode":"archived"}}}}}},"responses":{"200":{"description":"Notice successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notice"}}}},"400":{"description":"The mode is not valid, or the change is not allowed for the current mode of the notice.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"Value not valid for Update notice: Archived notice cannot be updated."}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}},"delete":{"tags":["Notices"],"description":"Deletes a draft notice of the tenant of the token. Requires the status-admin role. Published and archived notices cannot be deleted and respond 401.\n","responses":{"200":{"description":"Notice successfully deleted. The response is the deleted notice.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notice"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/public_status/v1/applications/{tenant}":{"get":{"tags":["Application Status"],"description":"Retrieves the applications of a tenant and their published statuses, sorted by name. Public; anonymous requests are accepted and any bearer token is ignored. The tenant is identified by name in the path.\n","security":[{}],"parameters":[{"name":"tenant","description":"Name of the tenant to retrieve applications for (case insensitive).","in":"path","required":true,"schema":{"type":"string"},"example":"my-tenant"}],"responses":{"200":{"description":"Successfully retrieved statuses.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Public-application"}}}}},"404":{"description":"Tenant not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"tenant with ID 'my-tenant' could not be found."}}}}}}},"/status/v1/applications":{"get":{"tags":["Application Monitoring"],"description":"Retrieves the applications of the tenant, with their statuses. Requires an authenticated tenant user; no specific role is required. The tenant is the tenant of the token; tokens without a tenant context respond 401.\n","responses":{"200":{"description":"Applications retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Application"}}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"}}},"post":{"tags":["Application Monitoring"],"description":"Adds an application to the tenant for monitoring. The application key is generated from the name (in kebab case) if it is not provided. Monitoring is not enabled until requested.\n\nRequires an authenticated tenant user; no specific role is required. The application is added to the tenant of the token.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApplicationInput"},{"type":"object","properties":{"appKey":{"type":"string","description":"Key of the application. Generated from the name if not set.","example":"my-application"},"status":{"type":"string","description":"Initial published status of the application.","enum":["operational","reported-issues","maintenance","outage"]}}}]},"example":{"name":"My Application","description":"Online application for a benefit program.","endpoint":{"url":"https://my-application.alberta.ca/health"},"monitorOnly":false,"status":"operational"}}}},"responses":{"201":{"description":"Application added.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"},"example":{"appKey":"my-application","name":"My Application","description":"Online application for a benefit program.","monitorOnly":false,"tenantId":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46","metadata":"","enabled":false,"statusTimestamp":null,"status":"operational","internalStatus":"stopped","endpoint":{"status":"offline","url":"https://my-application.alberta.ca/health"}}}}},"400":{"$ref":"#/components/responses/StatusBadRequest"},"401":{"$ref":"#/components/responses/StatusUnauthorized"}}}},"/status/v1/applications/endpoint-status-entries":{"get":{"tags":["Application Monitoring"],"description":"Retrieves the raw results of the health check _pings_ recorded in the last `ageInMinutes` minutes. Requires an authenticated tenant user; no specific role is required.\n","parameters":[{"name":"ageInMinutes","description":"Number of minutes to read results for.","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":31,"example":20}}],"responses":{"200":{"description":"Data retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PingData"}}}}}}}},"/status/v1/applications/{appKey}":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"put":{"tags":["Application Monitoring"],"description":"Replaces the configuration of an application. Send every field to keep; fields left out are removed. Requires an authenticated tenant user; no specific role is required. The application must belong to the tenant of the token.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApplicationInput"},{"type":"object","properties":{"autoChangeStatus":{"type":"boolean","description":"If true, health checks change the status from operational to reported-issues after failing for 5 minutes, and back to operational after succeeding for 5 minutes.\n"}}}]},"example":{"name":"My Application","description":"Online application for a benefit program.","endpoint":{"url":"https://my-application.alberta.ca/health"},"monitorOnly":false,"autoChangeStatus":true}}}},"responses":{"200":{"description":"Application updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}},"delete":{"tags":["Application Monitoring"],"description":"Deletes an application with its status and health check results, and stops monitoring it if monitoring is enabled. Requires an authenticated tenant user; no specific role is required. The application must belong to the tenant of the token.\n","responses":{"204":{"description":"Application deleted."},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/disable":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"patch":{"tags":["Application Monitoring"],"description":"Turns off monitoring of the application. Health checks stop when the service next reloads its health checks (every 5 minutes); use the toggle operation to stop them immediately. Requires an authenticated tenant user; no specific role is required. The application must belong to the tenant of the token.\n","responses":{"200":{"description":"Monitoring has been disabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/enable":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"patch":{"tags":["Application Monitoring"],"description":"Turns on monitoring of the application. Health checks start when the service next reloads its health checks (every 5 minutes); use the toggle operation to start them immediately. Requires an authenticated tenant user; no specific role is required. The application must belong to the tenant of the token.\n","responses":{"200":{"description":"Monitoring has been enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/endpoint-status-entries":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"get":{"tags":["Application Monitoring"],"description":"Retrieves the raw results of the health check _pings_ of the application, newest first. Requires an authenticated tenant user; no specific role is required. The application must belong to the tenant of the token.\n","parameters":[{"name":"topValue","description":"Number of results to read.","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":200,"example":20}}],"responses":{"200":{"description":"Data retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PingData"}}}}},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/status":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"patch":{"tags":["Application Status"],"description":"Sets the published status of the application, and sends the application-status-changed event. Requires an authenticated tenant user; no specific role is required. The application must belong to the tenant of the token.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"description":"The published status to set.","type":"string","enum":["operational","reported-issues","maintenance","outage"]}}},"example":{"status":"maintenance"}}}},"responses":{"200":{"description":"Successfully updated status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/toggle":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"patch":{"tags":["Application Monitoring"],"description":"Toggles monitoring of the application, from enabled to disabled or vice versa, and sends the health-check-started or health-check-stopped event that starts or stops the health checks. Requires an authenticated tenant user; no specific role is required. The application must belong to the tenant of the token.\n","responses":{"200":{"description":"Monitoring has been toggled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/webhook/{id}/test/{eventName}":{"get":{"tags":["Application Monitoring"],"description":"Sends a test monitored-service-down or monitored-service-up event to a webhook of a monitored application. The webhook is read from the push service configuration of the tenant. The response is sent after a 2 second delay. Requires an authenticated tenant user; no specific role is required. The webhook and its application must belong to the tenant of the token.\n","parameters":[{"name":"id","description":"ID of the webhook.","in":"path","required":true,"schema":{"type":"string"},"example":"my-application-webhook"},{"name":"eventName","description":"Event to send. monitored-service-down sends a service down event; any other value sends a service up event.\n","in":"path","required":true,"schema":{"type":"string"},"example":"monitored-service-down"}],"responses":{"200":{"description":"Test event sent. The response is a text summary of the event, including the application and webhook.","content":{"application/json":{"schema":{"type":"string"},"example":"event is sent - app: {\"appKey\":\"my-application\", ...}, user: {...}, webhook: {...}"}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}}},"components":{"securitySchemes":{"accessToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"parameters":{"StatusAppKey":{"name":"appKey","description":"Key of the application, as returned in `appKey` when the application was added.","in":"path","required":true,"schema":{"type":"string"},"example":"my-application"},"StatusNoticeId":{"name":"id","description":"ID of the notice.","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6730c4f1a2b3c4d5e6f70812"}},"schemas":{"Application":{"type":"object","properties":{"appKey":{"description":"A unique ID generated when the application is added to the Status Service for monitoring.","example":"my-application","type":"string"},"name":{"description":"The name of the application being monitored. The name must be unique for your Tenant.","example":"My Application","type":"string"},"description":{"description":"An optional, brief, description of the application being monitored.","type":"string","example":"Online application for a benefit program."},"status":{"description":"The published status of the application, set via the API or through the Tenant Admin Webapp. An empty string means no status has been set.\n","type":"string","enum":["operational","reported-issues","maintenance","outage",""],"example":"operational"},"monitorOnly":{"description":"If true, the application is not displayed on the public status page.","type":"boolean","example":false},"autoChangeStatus":{"description":"If true, health checks change the status from operational to reported-issues after failing for 5 minutes, and back to operational after succeeding for 5 minutes.\n","type":"boolean","example":false},"tenantId":{"description":"URN identifying the tenant to which the application belongs.","type":"string","example":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46"},"metadata":{"description":"Additional status information, if any.","example":""},"enabled":{"description":"Indicates whether or not monitoring (health checks) for the application has been turned on.","type":"boolean","example":true},"statusTimestamp":{"description":"Time the status was last set, in milliseconds since the epoch, or null if never set.","type":"number","nullable":true,"readOnly":true,"example":1794326400000},"internalStatus":{"description":"Health check state of the application.","type":"string","enum":["stopped","healthy","unhealthy","pending"],"readOnly":true,"example":"healthy"},"endpoint":{"type":"object","properties":{"url":{"description":"URL of the application endpoint that health checks request.","type":"string","example":"https://my-application.alberta.ca/health"},"status":{"description":"Result of the latest health check.","type":"string","enum":["online","offline","n/a","pending"],"readOnly":true,"example":"online"}}}},"example":{"appKey":"my-application","name":"My Application","description":"Online application for a benefit program.","monitorOnly":false,"autoChangeStatus":false,"tenantId":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46","metadata":"","enabled":true,"statusTimestamp":1794326400000,"status":"operational","internalStatus":"healthy","endpoint":{"status":"online","url":"https://my-application.alberta.ca/health"}}},"ApplicationInput":{"type":"object","required":["name","endpoint"],"properties":{"name":{"type":"string","description":"Name of the application. Must be unique for the tenant.","example":"My Application"},"description":{"type":"string","example":"Online application for a benefit program."},"endpoint":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"URL of the application endpoint that health checks request.","example":"https://my-application.alberta.ca/health"}}},"monitorOnly":{"type":"boolean","description":"If true, the application is not displayed on the public status page.","example":false}}},"Notice":{"description":"Detailed information to be posted about an application's status. The notice may include a message, a time period to which the notice applies, and the application status for the period.","type":"object","properties":{"id":{"description":"ID of the notice.","type":"string","readOnly":true,"example":"6730c4f1a2b3c4d5e6f70812"},"message":{"description":"The message portion the notice.","type":"string","example":"My Application will be down for weekly maintenance during the following hours."},"tennantServRef":{"description":"The tennantServRef (sic) identifies which applications the notice applies to. Use isAllApplications for a notice that applies to all applications of the tenant.\n","type":"array","items":{"$ref":"#/components/schemas/NoticeApplicationRef"}},"isAllApplications":{"description":"Indicates the notice applies to all applications of the tenant.","type":"boolean","example":false},"startDate":{"description":"The start of the time period to which the notice applies.","type":"string","format":"date-time","example":"2026-11-15T02:00:00.000Z"},"endDate":{"description":"The end of the time period to which the notice applies.","type":"string","format":"date-time","example":"2026-11-15T04:00:00.000Z"},"mode":{"description":"A notice is created in draft mode, can be published, and a published notice can be archived. Only published notices are displayed on the public status page.\n","type":"string","enum":["draft","published","archived"],"readOnly":true,"example":"draft"},"created":{"description":"Time the notice was created.","type":"string","format":"date-time","readOnly":true,"example":"2026-11-10T16:00:00.000Z"},"tenantId":{"description":"URN identifying the tenant of the notice.","type":"string","readOnly":true,"example":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46"},"tenantName":{"description":"Name of the tenant of the notice.","type":"string","readOnly":true,"example":"My Tenant"}},"example":{"id":"6730c4f1a2b3c4d5e6f70812","message":"My Application will be down for weekly maintenance during the following hours.","tennantServRef":[{"id":"my-application","name":"My Application"}],"isAllApplications":false,"startDate":"2026-11-15T02:00:00.000Z","endDate":"2026-11-15T04:00:00.000Z","mode":"draft","created":"2026-11-10T16:00:00.000Z","tenantId":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46","tenantName":"My Tenant"}},"NoticeApplicationRef":{"type":"object","properties":{"id":{"description":"The application's appKey (or ID).","type":"string","example":"my-application"},"name":{"description":"The name of the Application.","type":"string","example":"My Application"}}},"Page":{"description":"Page descriptor, used when paging through a list of items.","type":"object","properties":{"after":{"description":"Number of items skipped before this page.","type":"number","example":0},"size":{"description":"The number of list items fetched.","type":"number","example":10},"next":{"description":"Query string for the next page (for example `after=10&top=10`), or null if this is the last page.\n","type":"string","nullable":true,"example":"after=10&top=10"},"total":{"description":"The total number of items in the list.","type":"number","example":231}},"example":{"after":0,"size":10,"next":"after=10&top=10","total":231}},"PingData":{"type":"object","properties":{"url":{"description":"The URL pinged.","type":"string","example":"https://my-application.alberta.ca/health"},"ok":{"description":"The success of the ping; set to false if the ping resulted in a 400 or 500 error.","type":"boolean","example":true},"timestamp":{"description":"The time of the ping, in milliseconds since the epoch.","type":"number","example":1794326400000},"responseTime":{"description":"The response time of the ping, in ms.","type":"number","example":178},"status":{"description":"The HTTP status code of the response, or a description of the error if there was no response.","oneOf":[{"type":"number"},{"type":"string"}],"example":200},"applicationId":{"description":"The application key, AKA application ID.","type":"string","example":"my-application"},"appKey":{"description":"The application key; same value as applicationId.","type":"string","example":"my-application"}},"example":{"url":"https://my-application.alberta.ca/health","ok":true,"timestamp":1794326400000,"responseTime":178,"status":200,"applicationId":"my-application","appKey":"my-application"}},"Public-application":{"type":"object","properties":{"id":{"description":"A unique ID used to identify an application; the application key.","example":"my-application","type":"string"},"name":{"description":"The name of the application being monitored. The name must be unique for your Tenant.","example":"My Application","type":"string"},"description":{"description":"An optional, brief, description of the application being monitored.","type":"string","example":"Online application for a benefit program."},"status":{"description":"The published status of the application, set via the API or through the Tenant Admin Webapp. An empty string means no status has been set.\n","type":"string","enum":["operational","reported-issues","maintenance","outage",""],"example":"operational"},"monitorOnly":{"description":"If true, the application is monitored but not meant to be displayed on the public status page. Clients displaying statuses should filter these out.\n","type":"boolean","example":false},"lastUpdated":{"description":"Timestamp indicating when the status was last updated, or null if never set.","type":"string","format":"date-time","nullable":true,"example":"2026-11-10T16:00:00.000Z"}},"example":{"id":"my-application","name":"My Application","description":"Online application for a benefit program.","status":"operational","monitorOnly":false,"lastUpdated":"2026-11-10T16:00:00.000Z"}},"StatusError":{"type":"object","properties":{"errorMessage":{"type":"string"}},"example":{"errorMessage":"Status application with ID 'my-application' could not be found."}}},"responses":{"StatusBadRequest":{"description":"Request is invalid, for example it would create a duplicate application or an invalid notice mode.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"Value not valid for status-service: Duplicate Application Name My Application"}}}},"StatusNotFound":{"description":"The resource was not found in the tenant of the request. Resources of other tenants also respond 404.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"Status application with ID 'my-application' could not be found."}}}},"StatusUnauthorized":{"description":"Request does not include a valid bearer token, the token has no tenant context, or the user does not have the role required for the operation. Anonymous requests receive a plain `Unauthorized` text body; the other cases receive an `errorMessage`. Role checks in this API respond with 401 rather than 403.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"missing tenant id"}}}}}},"security":[{"accessToken":[]}],"tags":[{"name":"Application Monitoring","description":"To control application _monitoring_. Note: You can manage which applications are monitored through the [Tenant Admin Webapp](https://adsp.alberta.ca)."},{"name":"Application Status","description":"To manage an application's published _status_"},{"name":"Notices","description":"To access and manage application _notices_. Note: You can also manage notices through the [Tenant Admin Webapp](https://adsp.alberta.ca)."}]}
1
+ {"openapi":"3.0.0","info":{"title":"Status service","version":"0.0.0","description":"The status service provides the capability to monitor the health of applications and services, and to\npublish _status_ information about them. Along with the Tenant Admin Webapp, it allows you to\n* manage which applications and services will be monitored,\n* control application monitoring,\n* access an application's published status,\n* manage public notices regarding the application's status.\n\nPlease use the [Tenant Admin Webapp](https://adsp.alberta.ca) to manage the applications and services\nthat you wish to be monitored. For more information on how the _Status Service_ works, please see the\n[Status Service tutorial](https://govalta.github.io/adsp-monorepo/tutorials/status-service/Introduction.html).\n"},"paths":{"/notice/v1/notices":{"get":{"tags":["Notices"],"description":"Retrieves notices, newest first. Anonymous requests are accepted.\n- Anonymous requests read published notices; set `name` to read only the notices of that tenant (the name must\n be the name of an existing tenant).\n\n- Authenticated tenant users read the published notices of the tenant of their token; `name` is ignored.\n- Users with the status-admin role read all notices of the tenant of their token, or the notices in `mode`.\n","security":[{},{"accessToken":[]}],"parameters":[{"name":"top","description":"Number of results to read.","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":50,"example":10}},{"name":"after","description":"Number of results to skip, as returned in the _next_ query string of a previous page.","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"example":10}},{"name":"mode","description":"Mode of notices to read. Only used for users with the status-admin role; `active` reads all notices except archived ones.\n","in":"query","required":false,"schema":{"type":"string","enum":["active","draft","published","archived"]}},{"name":"name","description":"Name of the tenant to read published notices for (case insensitive). Only used for anonymous requests.","in":"query","required":false,"schema":{"type":"string"},"example":"my-tenant"}],"responses":{"200":{"description":"Notices successfully retrieved.","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"description":"A list of notices that match the query","type":"array","items":{"$ref":"#/components/schemas/Notice"}},"page":{"$ref":"#/components/schemas/Page"}}},"example":{"results":[{"id":"6730c4f1a2b3c4d5e6f70812","message":"My Application will be down for weekly maintenance during the following hours.","tennantServRef":[{"id":"my-application","name":"My Application"}],"isAllApplications":false,"startDate":"2026-11-15T02:00:00.000Z","endDate":"2026-11-15T04:00:00.000Z","mode":"published","created":"2026-11-10T16:00:00.000Z","tenantId":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46","tenantName":"My Tenant"}],"page":{"after":0,"size":1,"next":null,"total":1}}}}}}},"post":{"tags":["Notices"],"description":"Creates a notice in draft mode for the tenant of the token. Requires the status-admin role.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["message","tennantServRef","startDate","endDate"],"properties":{"message":{"type":"string"},"tennantServRef":{"description":"Applications the notice applies to. Send an empty array with isAllApplications set to true for all applications.","type":"array","items":{"$ref":"#/components/schemas/NoticeApplicationRef"}},"isAllApplications":{"type":"boolean","default":false},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"}}},"example":{"message":"My Application will be down for weekly maintenance during the following hours.","tennantServRef":[{"id":"my-application","name":"My Application"}],"isAllApplications":false,"startDate":"2026-11-15T02:00:00.000Z","endDate":"2026-11-15T04:00:00.000Z"}}}},"responses":{"201":{"description":"Notice successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notice"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"}}}},"/notice/v1/notices/{id}":{"parameters":[{"$ref":"#/components/parameters/StatusNoticeId"}],"get":{"tags":["Notices"],"description":"Retrieves a notice of the tenant of the token. Requires an authenticated tenant user; published notices can be read by any user of the tenant, and other notices require the status-admin role.\n","responses":{"200":{"description":"Notice successfully retrieved.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notice"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}},"patch":{"tags":["Notices"],"description":"Updates a notice of the tenant of the token. Requires the status-admin role. All fields of a draft notice can be updated, and a draft notice can be published but not archived. Only the mode of a published notice can be updated, to archive it or return it to draft. Archived notices cannot be updated. Publishing a notice sends the application-notice-published event.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"tennantServRef":{"type":"array","items":{"$ref":"#/components/schemas/NoticeApplicationRef"}},"isAllApplications":{"type":"boolean"},"startDate":{"type":"string","format":"date-time"},"endDate":{"type":"string","format":"date-time"},"mode":{"type":"string","enum":["draft","published","archived"]}}},"examples":{"edit":{"summary":"Edit a draft notice","value":{"message":"My Application will be down for maintenance during the following hours.","endDate":"2026-11-15T05:00:00.000Z"}},"publish":{"summary":"Publish a draft notice","value":{"mode":"published"}},"archive":{"summary":"Archive a published notice","value":{"mode":"archived"}}}}}},"responses":{"200":{"description":"Notice successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notice"}}}},"400":{"description":"The mode is not valid, or the change is not allowed for the current mode of the notice.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"Value not valid for Update notice: Archived notice cannot be updated."}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}},"delete":{"tags":["Notices"],"description":"Deletes a draft notice of the tenant of the token. Requires the status-admin role. Published and archived notices cannot be deleted and respond 401.\n","responses":{"200":{"description":"Notice successfully deleted. The response is the deleted notice.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notice"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/public_status/v1/applications/{tenant}":{"get":{"tags":["Application Status"],"description":"Retrieves the applications of a tenant and their published statuses, sorted by name. Public; anonymous requests are accepted and any bearer token is ignored. The tenant is identified by name in the path.\n","security":[{}],"parameters":[{"name":"tenant","description":"Name of the tenant to retrieve applications for (case insensitive).","in":"path","required":true,"schema":{"type":"string"},"example":"my-tenant"}],"responses":{"200":{"description":"Successfully retrieved statuses.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Public-application"}}}}},"404":{"description":"Tenant not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"tenant with ID 'my-tenant' could not be found."}}}}}}},"/status/v1/applications":{"get":{"tags":["Application Monitoring"],"description":"Retrieves the applications of the tenant, with their statuses. Requires an authenticated tenant user; no specific role is required. The tenant is the tenant of the token; tokens without a tenant context respond 401.\n","responses":{"200":{"description":"Applications retrieved successfully.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Application"}}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"}}},"post":{"tags":["Application Monitoring"],"description":"Adds an application to the tenant for monitoring. The application key is generated from the name (in kebab case) if it is not provided. Monitoring is not enabled until requested.\n\nRequires the urn:ads:platform:status-service:status-admin role; users without it receive 403. The application is added to the tenant of the token.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApplicationInput"},{"type":"object","properties":{"appKey":{"type":"string","description":"Key of the application. Generated from the name if not set.","example":"my-application"},"status":{"type":"string","description":"Initial published status of the application.","enum":["operational","reported-issues","maintenance","outage"]}}}]},"example":{"name":"My Application","description":"Online application for a benefit program.","endpoint":{"url":"https://my-application.alberta.ca/health"},"monitorOnly":false,"status":"operational"}}}},"responses":{"201":{"description":"Application added.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"},"example":{"appKey":"my-application","name":"My Application","description":"Online application for a benefit program.","monitorOnly":false,"tenantId":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46","metadata":"","enabled":false,"statusTimestamp":null,"status":"operational","internalStatus":"stopped","endpoint":{"status":"offline","url":"https://my-application.alberta.ca/health"}}}}},"400":{"$ref":"#/components/responses/StatusBadRequest"},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"403":{"$ref":"#/components/responses/StatusForbidden"}}}},"/status/v1/applications/endpoint-status-entries":{"get":{"tags":["Application Monitoring"],"description":"Retrieves the raw results of the health check _pings_ recorded in the last `ageInMinutes` minutes. Requires an authenticated tenant user; no specific role is required.\n","parameters":[{"name":"ageInMinutes","description":"Number of minutes to read results for.","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":31,"example":20}}],"responses":{"200":{"description":"Data retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PingData"}}}}}}}},"/status/v1/applications/{appKey}":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"put":{"tags":["Application Monitoring"],"description":"Replaces the configuration of an application. Send every field to keep; fields left out are removed. Requires the urn:ads:platform:status-service:status-admin role; users without it receive 403. The application must belong to the tenant of the token.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApplicationInput"},{"type":"object","properties":{"autoChangeStatus":{"type":"boolean","description":"If true, health checks change the status from operational to reported-issues after failing for 5 minutes, and back to operational after succeeding for 5 minutes.\n"}}}]},"example":{"name":"My Application","description":"Online application for a benefit program.","endpoint":{"url":"https://my-application.alberta.ca/health"},"monitorOnly":false,"autoChangeStatus":true}}}},"responses":{"200":{"description":"Application updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"403":{"$ref":"#/components/responses/StatusForbidden"},"404":{"$ref":"#/components/responses/StatusNotFound"}}},"delete":{"tags":["Application Monitoring"],"description":"Deletes an application with its status and health check results, and stops monitoring it if monitoring is enabled. Requires the urn:ads:platform:status-service:status-admin role; users without it receive 403. The application must belong to the tenant of the token.\n","responses":{"204":{"description":"Application deleted."},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"403":{"$ref":"#/components/responses/StatusForbidden"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/disable":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"patch":{"tags":["Application Monitoring"],"description":"Turns off monitoring of the application. Health checks stop when the service next reloads its health checks (every 5 minutes); use the toggle operation to stop them immediately. Requires the urn:ads:platform:status-service:status-admin role; users without it receive 403. The application must belong to the tenant of the token.\n","responses":{"200":{"description":"Monitoring has been disabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"403":{"$ref":"#/components/responses/StatusForbidden"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/enable":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"patch":{"tags":["Application Monitoring"],"description":"Turns on monitoring of the application. Health checks start when the service next reloads its health checks (every 5 minutes); use the toggle operation to start them immediately. Requires the urn:ads:platform:status-service:status-admin role; users without it receive 403. The application must belong to the tenant of the token.\n","responses":{"200":{"description":"Monitoring has been enabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"403":{"$ref":"#/components/responses/StatusForbidden"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/endpoint-status-entries":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"get":{"tags":["Application Monitoring"],"description":"Retrieves the raw results of the health check _pings_ of the application, newest first. Requires an authenticated tenant user; no specific role is required. The application must belong to the tenant of the token.\n","parameters":[{"name":"topValue","description":"Number of results to read.","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":200,"example":20}}],"responses":{"200":{"description":"Data retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PingData"}}}}},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/status":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"patch":{"tags":["Application Status"],"description":"Sets the published status of the application, and sends the application-status-changed event. Requires the urn:ads:platform:status-service:status-admin role; users without it receive 403. The application must belong to the tenant of the token.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"description":"The published status to set.","type":"string","enum":["operational","reported-issues","maintenance","outage"]}}},"example":{"status":"maintenance"}}}},"responses":{"200":{"description":"Successfully updated status.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"403":{"$ref":"#/components/responses/StatusForbidden"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/applications/{appKey}/toggle":{"parameters":[{"$ref":"#/components/parameters/StatusAppKey"}],"patch":{"tags":["Application Monitoring"],"description":"Toggles monitoring of the application, from enabled to disabled or vice versa, and sends the health-check-started or health-check-stopped event that starts or stops the health checks. Requires the urn:ads:platform:status-service:status-admin role; users without it receive 403. The application must belong to the tenant of the token.\n","responses":{"200":{"description":"Monitoring has been toggled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Application"}}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"403":{"$ref":"#/components/responses/StatusForbidden"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}},"/status/v1/webhook/{id}/test/{eventName}":{"get":{"tags":["Application Monitoring"],"description":"Sends a test monitored-service-down or monitored-service-up event to a webhook of a monitored application. The webhook is read from the push service configuration of the tenant. The response is sent after a 2 second delay. Requires the urn:ads:platform:status-service:status-admin role; users without it receive 403. The webhook and its application must belong to the tenant of the token.\n","parameters":[{"name":"id","description":"ID of the webhook.","in":"path","required":true,"schema":{"type":"string"},"example":"my-application-webhook"},{"name":"eventName","description":"Event to send. monitored-service-down sends a service down event; any other value sends a service up event.\n","in":"path","required":true,"schema":{"type":"string"},"example":"monitored-service-down"}],"responses":{"200":{"description":"Test event sent. The response is a text summary of the event, including the application and webhook.","content":{"application/json":{"schema":{"type":"string"},"example":"event is sent - app: {\"appKey\":\"my-application\", ...}, user: {...}, webhook: {...}"}}},"401":{"$ref":"#/components/responses/StatusUnauthorized"},"403":{"$ref":"#/components/responses/StatusForbidden"},"404":{"$ref":"#/components/responses/StatusNotFound"}}}}},"components":{"securitySchemes":{"accessToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"parameters":{"StatusAppKey":{"name":"appKey","description":"Key of the application, as returned in `appKey` when the application was added.","in":"path","required":true,"schema":{"type":"string"},"example":"my-application"},"StatusNoticeId":{"name":"id","description":"ID of the notice.","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6730c4f1a2b3c4d5e6f70812"}},"schemas":{"Application":{"type":"object","properties":{"appKey":{"description":"A unique ID generated when the application is added to the Status Service for monitoring.","example":"my-application","type":"string"},"name":{"description":"The name of the application being monitored. The name must be unique for your Tenant.","example":"My Application","type":"string"},"description":{"description":"An optional, brief, description of the application being monitored.","type":"string","example":"Online application for a benefit program."},"status":{"description":"The published status of the application, set via the API or through the Tenant Admin Webapp. An empty string means no status has been set.\n","type":"string","enum":["operational","reported-issues","maintenance","outage",""],"example":"operational"},"monitorOnly":{"description":"If true, the application is not displayed on the public status page.","type":"boolean","example":false},"autoChangeStatus":{"description":"If true, health checks change the status from operational to reported-issues after failing for 5 minutes, and back to operational after succeeding for 5 minutes.\n","type":"boolean","example":false},"tenantId":{"description":"URN identifying the tenant to which the application belongs.","type":"string","example":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46"},"metadata":{"description":"Additional status information, if any.","example":""},"enabled":{"description":"Indicates whether or not monitoring (health checks) for the application has been turned on.","type":"boolean","example":true},"statusTimestamp":{"description":"Time the status was last set, in milliseconds since the epoch, or null if never set.","type":"number","nullable":true,"readOnly":true,"example":1794326400000},"internalStatus":{"description":"Health check state of the application.","type":"string","enum":["stopped","healthy","unhealthy","pending"],"readOnly":true,"example":"healthy"},"endpoint":{"type":"object","properties":{"url":{"description":"URL of the application endpoint that health checks request.","type":"string","example":"https://my-application.alberta.ca/health"},"status":{"description":"Result of the latest health check.","type":"string","enum":["online","offline","n/a","pending"],"readOnly":true,"example":"online"}}}},"example":{"appKey":"my-application","name":"My Application","description":"Online application for a benefit program.","monitorOnly":false,"autoChangeStatus":false,"tenantId":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46","metadata":"","enabled":true,"statusTimestamp":1794326400000,"status":"operational","internalStatus":"healthy","endpoint":{"status":"online","url":"https://my-application.alberta.ca/health"}}},"ApplicationInput":{"type":"object","required":["name","endpoint"],"properties":{"name":{"type":"string","description":"Name of the application. Must be unique for the tenant.","example":"My Application"},"description":{"type":"string","example":"Online application for a benefit program."},"endpoint":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"URL of the application endpoint that health checks request.","example":"https://my-application.alberta.ca/health"}}},"monitorOnly":{"type":"boolean","description":"If true, the application is not displayed on the public status page.","example":false}}},"Notice":{"description":"Detailed information to be posted about an application's status. The notice may include a message, a time period to which the notice applies, and the application status for the period.","type":"object","properties":{"id":{"description":"ID of the notice.","type":"string","readOnly":true,"example":"6730c4f1a2b3c4d5e6f70812"},"message":{"description":"The message portion the notice.","type":"string","example":"My Application will be down for weekly maintenance during the following hours."},"tennantServRef":{"description":"The tennantServRef (sic) identifies which applications the notice applies to. Use isAllApplications for a notice that applies to all applications of the tenant.\n","type":"array","items":{"$ref":"#/components/schemas/NoticeApplicationRef"}},"isAllApplications":{"description":"Indicates the notice applies to all applications of the tenant.","type":"boolean","example":false},"startDate":{"description":"The start of the time period to which the notice applies.","type":"string","format":"date-time","example":"2026-11-15T02:00:00.000Z"},"endDate":{"description":"The end of the time period to which the notice applies.","type":"string","format":"date-time","example":"2026-11-15T04:00:00.000Z"},"mode":{"description":"A notice is created in draft mode, can be published, and a published notice can be archived. Only published notices are displayed on the public status page.\n","type":"string","enum":["draft","published","archived"],"readOnly":true,"example":"draft"},"created":{"description":"Time the notice was created.","type":"string","format":"date-time","readOnly":true,"example":"2026-11-10T16:00:00.000Z"},"tenantId":{"description":"URN identifying the tenant of the notice.","type":"string","readOnly":true,"example":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46"},"tenantName":{"description":"Name of the tenant of the notice.","type":"string","readOnly":true,"example":"My Tenant"}},"example":{"id":"6730c4f1a2b3c4d5e6f70812","message":"My Application will be down for weekly maintenance during the following hours.","tennantServRef":[{"id":"my-application","name":"My Application"}],"isAllApplications":false,"startDate":"2026-11-15T02:00:00.000Z","endDate":"2026-11-15T04:00:00.000Z","mode":"draft","created":"2026-11-10T16:00:00.000Z","tenantId":"urn:ads:platform:tenant-service:v2:/tenants/61e9adcc9423490012a9ae46","tenantName":"My Tenant"}},"NoticeApplicationRef":{"type":"object","properties":{"id":{"description":"The application's appKey (or ID).","type":"string","example":"my-application"},"name":{"description":"The name of the Application.","type":"string","example":"My Application"}}},"Page":{"description":"Page descriptor, used when paging through a list of items.","type":"object","properties":{"after":{"description":"Number of items skipped before this page.","type":"number","example":0},"size":{"description":"The number of list items fetched.","type":"number","example":10},"next":{"description":"Query string for the next page (for example `after=10&top=10`), or null if this is the last page.\n","type":"string","nullable":true,"example":"after=10&top=10"},"total":{"description":"The total number of items in the list.","type":"number","example":231}},"example":{"after":0,"size":10,"next":"after=10&top=10","total":231}},"PingData":{"type":"object","properties":{"url":{"description":"The URL pinged.","type":"string","example":"https://my-application.alberta.ca/health"},"ok":{"description":"The success of the ping; set to false if the ping resulted in a 400 or 500 error.","type":"boolean","example":true},"timestamp":{"description":"The time of the ping, in milliseconds since the epoch.","type":"number","example":1794326400000},"responseTime":{"description":"The response time of the ping, in ms.","type":"number","example":178},"status":{"description":"The HTTP status code of the response, or a description of the error if there was no response.","oneOf":[{"type":"number"},{"type":"string"}],"example":200},"applicationId":{"description":"The application key, AKA application ID.","type":"string","example":"my-application"},"appKey":{"description":"The application key; same value as applicationId.","type":"string","example":"my-application"}},"example":{"url":"https://my-application.alberta.ca/health","ok":true,"timestamp":1794326400000,"responseTime":178,"status":200,"applicationId":"my-application","appKey":"my-application"}},"Public-application":{"type":"object","properties":{"id":{"description":"A unique ID used to identify an application; the application key.","example":"my-application","type":"string"},"name":{"description":"The name of the application being monitored. The name must be unique for your Tenant.","example":"My Application","type":"string"},"description":{"description":"An optional, brief, description of the application being monitored.","type":"string","example":"Online application for a benefit program."},"status":{"description":"The published status of the application, set via the API or through the Tenant Admin Webapp. An empty string means no status has been set.\n","type":"string","enum":["operational","reported-issues","maintenance","outage",""],"example":"operational"},"monitorOnly":{"description":"If true, the application is monitored but not meant to be displayed on the public status page. Clients displaying statuses should filter these out.\n","type":"boolean","example":false},"lastUpdated":{"description":"Timestamp indicating when the status was last updated, or null if never set.","type":"string","format":"date-time","nullable":true,"example":"2026-11-10T16:00:00.000Z"}},"example":{"id":"my-application","name":"My Application","description":"Online application for a benefit program.","status":"operational","monitorOnly":false,"lastUpdated":"2026-11-10T16:00:00.000Z"}},"StatusError":{"type":"object","properties":{"errorMessage":{"type":"string"}},"example":{"errorMessage":"Status application with ID 'my-application' could not be found."}}},"responses":{"StatusBadRequest":{"description":"Request is invalid, for example it would create a duplicate application or an invalid notice mode.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"Value not valid for status-service: Duplicate Application Name My Application"}}}},"StatusForbidden":{"description":"User does not have the status-admin role in the tenant.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"User Test User (ID: tester) not permitted to modify status applications."}}}},"StatusNotFound":{"description":"The resource was not found in the tenant of the request. Resources of other tenants also respond 404.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"Status application with ID 'my-application' could not be found."}}}},"StatusUnauthorized":{"description":"Request does not include a valid bearer token, the token has no tenant context, or the user does not have the role required for the operation. Anonymous requests receive a plain `Unauthorized` text body; the other cases receive an `errorMessage`. Notice role checks respond with 401; application role checks respond with 403.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusError"},"example":{"errorMessage":"missing tenant id"}}}}}},"security":[{"accessToken":[]}],"tags":[{"name":"Application Monitoring","description":"To control application _monitoring_. Note: You can manage which applications are monitored through the [Tenant Admin Webapp](https://adsp.alberta.ca)."},{"name":"Application Status","description":"To manage an application's published _status_"},{"name":"Notices","description":"To access and manage application _notices_. Note: You can also manage notices through the [Tenant Admin Webapp](https://adsp.alberta.ca)."}]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/adsp-sdk-mcp-server",
3
- "version": "1.35.0",
3
+ "version": "1.35.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Government of Alberta - MCP server for ADSP documentation and Node SDK reference lookup.",
6
6
  "repository": "https://github.com/GovAlta/adsp-monorepo",
package/provenance.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "kind": "release",
3
- "builtAt": "2026-11-17T18:17:12.393Z",
4
- "sourceCommit": "d24fa8454979b370e665c047aa58948775e7ed6d",
5
- "latestRelease": "1.34.0",
3
+ "builtAt": "2026-11-17T18:34:24.008Z",
4
+ "sourceCommit": "f5c0d85d9f792e05811055d17d4f51cfcd8ebef6",
5
+ "latestRelease": "1.35.0",
6
6
  "docsCommit": "115c27dc1aafa50c3335b44a618d73253c36a643",
7
7
  "sdk": {
8
8
  "version": "2.36.1",