Skip to content
This repository has been archived by the owner on Aug 5, 2023. It is now read-only.

Commit

Permalink
Update response examples in swagger definition
Browse files Browse the repository at this point in the history
  • Loading branch information
curtgrimes committed Feb 19, 2018
1 parent 6fe532a commit b495cfe
Showing 1 changed file with 193 additions and 47 deletions.
240 changes: 193 additions & 47 deletions docs/spec/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,59 @@ paths:
[
{
"inputId": 1,
"type": "Xaml",
"title": "NewsHD2.xaml",
"state": "Paused",
"position": 0,
"duration": 0,
"loop": false,
"type": "ImageSequence",
"title": "MVC-001F.JPG",
"state": {
"running": false,
"paused": false,
"completed": true
},
"isActive": false,
"isPreview": false
"isPreview": true,
"media": {
"position": 0,
"duration": 0,
"loop": false,
"muted": null,
"volume": null,
"balance": null,
"solo": null,
"audiobusses": null,
"audioMeter": {
"left": null,
"right": null
}
},
"list": null,
"fields": []
},
{
"inputId": 2,
"type": "Xaml",
"title": "TimerClock.xaml",
"state": "Paused",
"position": 0,
"duration": 0,
"loop": false,
"type": "VirtualSet",
"title": "CircularStudio",
"state": {
"running": false,
"paused": true,
"completed": false
},
"isActive": false,
"isPreview": true
"isPreview": false,
"media": {
"position": 0,
"duration": 0,
"loop": false,
"muted": null,
"volume": null,
"balance": null,
"solo": null,
"audiobusses": null,
"audioMeter": {
"left": null,
"right": null
}
},
"list": null,
"fields": []
}
]
501:
Expand All @@ -83,15 +117,43 @@ paths:
examples:
application/json:
{
"inputId": 1,
"inputId": 4,
"type": "Xaml",
"title": "NewsHD2.xaml",
"state": "Paused",
"position": 0,
"duration": 0,
"loop": false,
"isActive": false,
"isPreview": false
"title": "NewsHD.xaml",
"state": {
"running": false,
"paused": true,
"completed": false
},
"isActive": true,
"isPreview": false,
"media": {
"position": 0,
"duration": 0,
"loop": false,
"muted": null,
"volume": null,
"balance": null,
"solo": null,
"audiobusses": null,
"audioMeter": {
"left": null,
"right": null
}
},
"list": null,
"fields": [
{
"fieldId": "Headline",
"type": "text",
"text": "News Brief"
},
{
"fieldId": "Description",
"type": "text",
"text": "January 1, 2020"
}
]
}
501:
description: "Unable to connect to vMix"
Expand Down Expand Up @@ -127,15 +189,43 @@ paths:
examples:
application/json:
{
"inputId": 1,
"inputId": 4,
"type": "Xaml",
"title": "NewsHD2.xaml",
"state": "Paused",
"position": 0,
"duration": 0,
"loop": false,
"isActive": false,
"isPreview": false
"title": "NewsHD.xaml",
"state": {
"running": false,
"paused": true,
"completed": false
},
"isActive": true,
"isPreview": false,
"media": {
"position": 0,
"duration": 0,
"loop": false,
"muted": null,
"volume": null,
"balance": null,
"solo": null,
"audiobusses": null,
"audioMeter": {
"left": null,
"right": null
}
},
"list": null,
"fields": [
{
"fieldId": "Headline",
"type": "text",
"text": "News Brief"
},
{
"fieldId": "Description",
"type": "text",
"text": "January 1, 2020"
}
]
}
501:
description: "Unable to connect to vMix"
Expand All @@ -154,15 +244,43 @@ paths:
examples:
application/json:
{
"inputId": 2,
"inputId": 4,
"type": "Xaml",
"title": "NewsHD2.xaml",
"state": "Paused",
"position": 0,
"duration": 0,
"loop": false,
"title": "NewsHD.xaml",
"state": {
"running": false,
"paused": true,
"completed": false
},
"isActive": true,
"isPreview": false
"isPreview": false,
"media": {
"position": 0,
"duration": 0,
"loop": false,
"muted": null,
"volume": null,
"balance": null,
"solo": null,
"audiobusses": null,
"audioMeter": {
"left": null,
"right": null
}
},
"list": null,
"fields": [
{
"fieldId": "Headline",
"type": "text",
"text": "News Brief"
},
{
"fieldId": "Description",
"type": "text",
"text": "January 1, 2020"
}
]
}
204:
description: "No active input found"
Expand All @@ -183,15 +301,43 @@ paths:
examples:
application/json:
{
"inputId": 1,
"inputId": 4,
"type": "Xaml",
"title": "NewsHD2.xaml",
"state": "Paused",
"position": 0,
"duration": 0,
"loop": false,
"title": "NewsHD.xaml",
"state": {
"running": false,
"paused": true,
"completed": false
},
"isActive": false,
"isPreview": true
"isPreview": true,
"media": {
"position": 0,
"duration": 0,
"loop": false,
"muted": null,
"volume": null,
"balance": null,
"solo": null,
"audiobusses": null,
"audioMeter": {
"left": null,
"right": null
}
},
"list": null,
"fields": [
{
"fieldId": "Headline",
"type": "text",
"text": "News Brief"
},
{
"fieldId": "Description",
"type": "text",
"text": "January 1, 2020"
}
]
}
204:
description: "No preview input found"
Expand Down Expand Up @@ -223,12 +369,12 @@ paths:
{
"fieldId": "Headline",
"type": "text",
"text": "Breaking News"
"text": "News Brief"
},
{
"fieldId": "Description",
"type": "text",
"text": "Some text about the breaking news here"
"text": "January 1, 2020"
}
]
501:
Expand Down Expand Up @@ -261,7 +407,7 @@ paths:
{
"fieldId": "Headline",
"type": "text",
"text": "Breaking News"
"text": "News Brief"
}
501:
description: "Unable to connect to vMix"
Expand Down

0 comments on commit b495cfe

Please sign in to comment.