Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attributes not attrs for V1 #10

Open
Aloento opened this issue Oct 14, 2024 · 0 comments
Open

attributes not attrs for V1 #10

Aloento opened this issue Oct 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Aloento
Copy link
Member

Aloento commented Oct 14, 2024

definitions: 
  attributes: 
    type: array
    items: 
      type: object
      properties: 
        name: 
          type: string
        value: 
          type: string
  id: 
    type: number
  incidents: 
    type: array
    items: 
      type: object
      properties: 
        end_date: 
          type: string
        id: 
          type: number
        impact: 
          type: number
        start_date: 
          type: string
        text: 
          type: string
        updates: 
          type: array
          items: 
            type: object
            properties: 
              status: 
                type: string
              text: 
                type: string
              timestamp: 
                type: string
  name: 
    type: string

example

{
  "attributes": [
    {
      "name": "category",
      "value": "Network"
    },
    {
      "name": "region",
      "value": "EU-NL"
    },
    {
      "name": "type",
      "value": "vpn"
    }
  ],
  "id": 283,
  "incidents": [
    {
      "end_date": "2024-03-26 08:38",
      "id": 144,
      "impact": 1,
      "start_date": "2024-03-26 07:34",
      "text": "Incident",
      "updates": [
        {
          "status": "resolved",
          "text": "The services were checked and the metrics show no errors. The healthbars stayed green the whole time. ",
          "timestamp": "2024-03-26 08:38"
        }
      ]
    }
  ],
  "name": "Virtual Private Network"
}
@Aloento Aloento added the bug Something isn't working label Oct 14, 2024
@Aloento Aloento changed the title attributes not attrs attributes not attrs for V1 Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants