University of St Andrews · Example Payload

University Of St Andrews Listnotices Example

EducationHigher EducationUniversityResearchOpen AccessOAI-PMHScotlandUnited Kingdom

University Of St Andrews Listnotices Example is an example object payload from University of St Andrews, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

noticesmeta

Example Payload

Raw ↑
{
  "notices": [
    {
      "id": 1,
      "type": "unplanned",
      "timeline_state": "present",
      "state": "investigating",
      "subject": "Current Incident",
      "url": "https://status.st-andrews.ac.uk/notices/xxx-current-incident",
      "began_at": "2023-01-01T00:00:00.000Z",
      "ended_at": null,
      "created_at": "2023-01-01T00:00:00.000Z",
      "updated_at": "2023-01-01T00:00:00.000Z",
      "tag_list": [],
      "links": {
        "self": "/api/notices/1"
      },
      "latest_update": {
        "state": "investigating",
        "content": "We are currently investigating an issue with our service.",
        "created_at": "2023-01-01T00:00:00.000Z",
        "updated_at": "2023-01-01T00:00:00.000Z"
      }
    },
    {
      "id": 2,
      "type": "planned",
      "timeline_state": "future",
      "state": "scheduled",
      "subject": "Planned Maintenance",
      "url": "https://status.st-andrews.ac.uk/notices/xxx-planned-maintenance",
      "begins_at": "2023-01-01T00:00:00.000Z",
      "ends_at": "2023-01-01T01:00:00.000Z",
      "began_at": null,
      "ended_at": null,
      "created_at": "2023-01-01T00:00:00.000Z",
      "updated_at": "2023-01-01T00:00:00.000Z",
      "tag_list": [],
      "links": {
        "self": "/api/notices/2"
      },
      "latest_update": {
        "state": "scheduled",
        "content": "We have some upcoming maintenance planned.",
        "created_at": "2023-01-01T00:00:00.000Z",
        "updated_at": "2023-01-01T00:00:00.000Z"
      }
    }
  ],
  "meta": {
    "count": 25,
    "total_count": 263,
    "next_page": "/api/v1/notices.json?page=2"
  }
}