All URIs are relative to https://api.frame.io
Method | HTTP request | Description |
---|---|---|
createPresentation | POST /v2/assets/{asset_id}/presentations | Create a Presentation Link for an asset |
deletePresentation | DELETE /v2/presentations/{presentation_id} | Delete a Presentation |
getAssetPresentations | GET /v2/assets/{asset_id}/presentations | Get Presentation Links for a particular asset |
getProjectPresentations | GET /v2/projects/{project_id}/presentations | Get a paginated list of Presentations |
getUserPresentations | GET /v2/presentations | Get global presentation links |
showPresentation | GET /v2/presentations/{presentation_id} | Show a Presentation |
updatePresentation | PUT /v2/presentations/{presentation_id} | Update a Presentation |
Presentation createPresentation(assetId, createPresentationRequest)
Create a Presentation Link for an asset
Create a new Presentation Link
// Import classes:
//import dev.androidbroadcast.framesdk.infrastructure.*
//import dev.androidbroadcast.framesdk.models.*
val apiInstance = PresentationsApi()
val assetId : kotlin.String = eefb57e0-79f2-4bc7-9b70-99fbc175175c // kotlin.String | Asset ID
val createPresentationRequest : CreatePresentationRequest = // CreatePresentationRequest | Presentation to create
try {
val result : Presentation = apiInstance.createPresentation(assetId, createPresentationRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PresentationsApi#createPresentation")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PresentationsApi#createPresentation")
e.printStackTrace()
}
| assetId | kotlin.String| Asset ID | |
Name | Type | Description | Notes |
---|---|---|---|
createPresentationRequest | CreatePresentationRequest | Presentation to create | [optional] |
Configure OAuth2: ApiClient.accessToken = "" Configure OAuth2: ApiClient.accessToken = "" Configure JWT: ApiClient.accessToken = "" Configure DeveloperToken: ApiClient.accessToken = ""
- Content-Type: application/json
- Accept: application/json
Presentation deletePresentation(presentationId)
Delete a Presentation
Delete a given Presentation Link
// Import classes:
//import dev.androidbroadcast.framesdk.infrastructure.*
//import dev.androidbroadcast.framesdk.models.*
val apiInstance = PresentationsApi()
val presentationId : kotlin.String = presentationId_example // kotlin.String | Presentation Link ID
try {
val result : Presentation = apiInstance.deletePresentation(presentationId)
println(result)
} catch (e: ClientException) {
println("4xx response calling PresentationsApi#deletePresentation")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PresentationsApi#deletePresentation")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
presentationId | kotlin.String | Presentation Link ID |
Configure OAuth2: ApiClient.accessToken = "" Configure OAuth2: ApiClient.accessToken = "" Configure JWT: ApiClient.accessToken = "" Configure DeveloperToken: ApiClient.accessToken = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<Presentation> getAssetPresentations(assetId)
Get Presentation Links for a particular asset
Get a paginated list of Presentation Links attached to a particular asset ID
// Import classes:
//import dev.androidbroadcast.framesdk.infrastructure.*
//import dev.androidbroadcast.framesdk.models.*
val apiInstance = PresentationsApi()
val assetId : kotlin.String = eefb57e0-79f2-4bc7-9b70-99fbc175175c // kotlin.String | Asset ID
try {
val result : kotlin.collections.List<Presentation> = apiInstance.getAssetPresentations(assetId)
println(result)
} catch (e: ClientException) {
println("4xx response calling PresentationsApi#getAssetPresentations")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PresentationsApi#getAssetPresentations")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
assetId | kotlin.String | Asset ID |
kotlin.collections.List<Presentation>
Configure OAuth2: ApiClient.accessToken = "" Configure OAuth2: ApiClient.accessToken = "" Configure JWT: ApiClient.accessToken = "" Configure DeveloperToken: ApiClient.accessToken = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<Presentation> getProjectPresentations(projectId)
Get a paginated list of Presentations
Get a paginated list of Presentations
// Import classes:
//import dev.androidbroadcast.framesdk.infrastructure.*
//import dev.androidbroadcast.framesdk.models.*
val apiInstance = PresentationsApi()
val projectId : kotlin.String = eefb57e0-79f2-4bc7-9b70-99fbc175175c // kotlin.String | Project ID
try {
val result : kotlin.collections.List<Presentation> = apiInstance.getProjectPresentations(projectId)
println(result)
} catch (e: ClientException) {
println("4xx response calling PresentationsApi#getProjectPresentations")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PresentationsApi#getProjectPresentations")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
projectId | kotlin.String | Project ID |
kotlin.collections.List<Presentation>
Configure OAuth2: ApiClient.accessToken = "" Configure OAuth2: ApiClient.accessToken = "" Configure JWT: ApiClient.accessToken = "" Configure DeveloperToken: ApiClient.accessToken = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<Presentation> getUserPresentations()
Get global presentation links
Get recently created Presentation Links across a user's account
// Import classes:
//import dev.androidbroadcast.framesdk.infrastructure.*
//import dev.androidbroadcast.framesdk.models.*
val apiInstance = PresentationsApi()
try {
val result : kotlin.collections.List<Presentation> = apiInstance.getUserPresentations()
println(result)
} catch (e: ClientException) {
println("4xx response calling PresentationsApi#getUserPresentations")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PresentationsApi#getUserPresentations")
e.printStackTrace()
}
This endpoint does not need any parameter.
kotlin.collections.List<Presentation>
Configure OAuth2: ApiClient.accessToken = "" Configure OAuth2: ApiClient.accessToken = "" Configure JWT: ApiClient.accessToken = "" Configure DeveloperToken: ApiClient.accessToken = ""
- Content-Type: Not defined
- Accept: application/json
Presentation showPresentation(presentationId)
Show a Presentation
Fetch a particular presentaiton link's id
// Import classes:
//import dev.androidbroadcast.framesdk.infrastructure.*
//import dev.androidbroadcast.framesdk.models.*
val apiInstance = PresentationsApi()
val presentationId : kotlin.String = presentationId_example // kotlin.String | Presentation Link ID
try {
val result : Presentation = apiInstance.showPresentation(presentationId)
println(result)
} catch (e: ClientException) {
println("4xx response calling PresentationsApi#showPresentation")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PresentationsApi#showPresentation")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
presentationId | kotlin.String | Presentation Link ID |
Configure OAuth2: ApiClient.accessToken = "" Configure OAuth2: ApiClient.accessToken = "" Configure JWT: ApiClient.accessToken = "" Configure DeveloperToken: ApiClient.accessToken = ""
- Content-Type: Not defined
- Accept: application/json
Presentation updatePresentation(presentationId, updatePresentationRequest)
Update a Presentation
Update a Presentation Link via it's ID
// Import classes:
//import dev.androidbroadcast.framesdk.infrastructure.*
//import dev.androidbroadcast.framesdk.models.*
val apiInstance = PresentationsApi()
val presentationId : kotlin.String = presentationId_example // kotlin.String | Presentation Link ID
val updatePresentationRequest : UpdatePresentationRequest = // UpdatePresentationRequest | Presentation to update
try {
val result : Presentation = apiInstance.updatePresentation(presentationId, updatePresentationRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PresentationsApi#updatePresentation")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PresentationsApi#updatePresentation")
e.printStackTrace()
}
| presentationId | kotlin.String| Presentation Link ID | |
Name | Type | Description | Notes |
---|---|---|---|
updatePresentationRequest | UpdatePresentationRequest | Presentation to update | [optional] |
Configure OAuth2: ApiClient.accessToken = "" Configure OAuth2: ApiClient.accessToken = "" Configure JWT: ApiClient.accessToken = "" Configure DeveloperToken: ApiClient.accessToken = ""
- Content-Type: application/json
- Accept: application/json