Get Streams
GEThttps://platform.nativeframe.com/program/api/v1/projects/:projectID/streams
Get all streams by project ID
Generate JWTRequest
Path Parameters
projectID stringrequired
ID of the project
Query Parameters
page integer
Page number
limit integer
Limit
q string
Search query, may include stream name or stream ID
active boolean
Active
Responses
- 200
- 404
- 500
Get streams
- application/json
- Schema
- Example (from schema)
Schema
streams
object[]
totalCountinteger
{
"streams": [
{
"id": "string",
"programId": "string",
"streamName": "string",
"ingress": {
"rtmp": "string",
"webrtc": "string"
},
"manifestUrl": "string",
"streamKey": "string",
"active": true,
"transcode": true,
"authType": "private"
}
],
"totalCount": 0
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
messagestringrequired
Error message for the end user
errorCodestring
Code that can be set that supplies a specific reason for why a request failed
invalidFields
object[]
internalstring
Internal user only
{
"message": "string",
"errorCode": "string",
"invalidFields": [
{
"name": "string",
"reason": "string",
"errorCode": "string"
}
],
"internal": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
messagestringrequired
Error message for the end user
errorCodestring
Code that can be set that supplies a specific reason for why a request failed
invalidFields
object[]
internalstring
Internal user only
{
"message": "string",
"errorCode": "string",
"invalidFields": [
{
"name": "string",
"reason": "string",
"errorCode": "string"
}
],
"internal": "string"
}
Authorization: http
name: JWTtype: httpscopes: aud:internal-account,service-account,roles:internal-account,service-account
scheme: bearerbearerFormat: JWTdescription: Bearer Token authentication for applications
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://platform.nativeframe.com/program/api/v1/projects/:projectID/streams");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear