API 1 - Swagger Petstore
mpc2 (1.01)
Download OpenAPI specification:Download
Response samples
- 200
Content type
application/json
{- "hardware_id": 0,
- "account_id": 0,
- "device_id": "string",
- "max_resolution": "string",
- "channel_name": "string",
- "playback_url": "string",
- "ingest_endpoint": "string",
- "stream_key": "string",
- "device_name": "string",
- "arn": "string",
- "s3_recording_prefix": "string"
}/hardware/register
Authorizations:
api_key
Request Body schema: application/json
| device_id required | string |
| max_resolution required | string |
| channel_name required | string |
| playback_url required | string |
| ingest_endpoint required | string |
| stream_key required | string |
| device_name required | string |
| arn required | string |
| s3_recording_prefix | string |
Responses
Request samples
- Payload
Content type
application/json
{- "device_id": "string",
- "max_resolution": "string",
- "channel_name": "string",
- "playback_url": "string",
- "ingest_endpoint": "string",
- "stream_key": "string",
- "device_name": "string",
- "arn": "string",
- "s3_recording_prefix": "string"
}Response samples
- 200
Content type
application/json
{- "hardware_id": 0,
- "account_id": 0,
- "device_id": "string",
- "max_resolution": "string",
- "channel_name": "string",
- "playback_url": "string",
- "ingest_endpoint": "string",
- "stream_key": "string",
- "device_name": "string",
- "arn": "string",
- "s3_recording_prefix": "string"
}Request samples
- Payload
Content type
application/json
{- "token": "string"
}Response samples
- 200
Content type
application/json
[- {
- "recording_id": 0,
- "hardware_id": 0,
- "account_id": 0,
- "file_name": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "date": "2019-08-24"
}
]/account/password
Request Body schema: application/json
| username required | string |
| token | string |
| password required | string |
| code required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "username": "string",
- "token": "string",
- "password": "string",
- "code": "string"
}Response samples
- 200
Content type
application/json
{ }Response samples
- 200
Content type
application/json
[- {
- "hardware_id": 0,
- "account_id": 0,
- "device_id": "string",
- "max_resolution": "string",
- "channel_name": "string",
- "playback_url": "string",
- "ingest_endpoint": "string",
- "stream_key": "string",
- "device_name": "string",
- "arn": "string",
- "s3_recording_prefix": "string"
}
]Response samples
- 200
Content type
application/json
[- {
- "hardware_id": 0,
- "account_id": 0,
- "device_id": "string",
- "max_resolution": "string",
- "channel_name": "string",
- "playback_url": "string",
- "ingest_endpoint": "string",
- "stream_key": "string",
- "device_name": "string",
- "arn": "string",
- "s3_recording_prefix": "string"
}
]Response samples
- 200
Content type
application/json
[- {
- "hardware_id": 0,
- "account_id": 0,
- "device_id": "string",
- "max_resolution": "string",
- "channel_name": "string",
- "playback_url": "string",
- "ingest_endpoint": "string",
- "stream_key": "string",
- "device_name": "string",
- "arn": "string",
- "s3_recording_prefix": "string"
}
]/account/verify/device
header Parameters
| x-api-key | string |
| Content-type | string |
Request Body schema: application/json
| token required | string |
| device_id required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "token": "string",
- "device_id": "string"
}Response samples
- 200
Content type
application/json
{ }