Get Program
GEThttps://platform.nativeframe.com/program/api/v1/projects/:projectID/programs/:id
Get program by ID
Generate JWTRequest
Path Parameters
id stringrequired
ID of the program
projectID stringrequired
ID of the project
Responses
- 200
- 404
- 500
Get program
- application/json
- Schema
- Example (from schema)
Schema
idstring
projectIDstring
programNamestring
programSlugstringrequired
clientReferrerstring
defaultCompositionstring
modestring
createdBystring
updatedBystring
createdOnstring
updatedOnstring
{
"id": "string",
"projectID": "string",
"programName": "string",
"programSlug": "string",
"clientReferrer": "string",
"defaultComposition": "string",
"mode": "string",
"createdBy": "string",
"updatedBy": "string",
"createdOn": "string",
"updatedOn": "string"
}
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/programs/:id");
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