All URIs are relative to https://api.frame.io
Method | HTTP request | Description |
---|---|---|
getMe | GET /v2/me | Get the current authenticated User |
getSharedProjects | GET /v2/projects/shared | Get Projects where User is a Collaborator |
User getMe()
Get the current authenticated User
Get information about the currently authenticated user
// Import classes:
//import dev.androidbroadcast.framesdk.infrastructure.*
//import dev.androidbroadcast.framesdk.models.*
val apiInstance = UsersApi()
try {
val result : User = apiInstance.getMe()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#getMe")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#getMe")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure C2COAuth2: ApiClient.accessToken = "" 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<Project> getSharedProjects(filterAccountId, filterArchived, filterName, page, pageSize)
Get Projects where User is a Collaborator
Fetch all of the Projects that a User has Collaborator access to (not team-member)
// Import classes:
//import dev.androidbroadcast.framesdk.infrastructure.*
//import dev.androidbroadcast.framesdk.models.*
val apiInstance = UsersApi()
val filterAccountId : kotlin.String = 38400000-8cf0-11bd-b23e-10b96e4ef00d // kotlin.String | Filter projects to those belonging to the specified account
val filterArchived : kotlin.Boolean = true // kotlin.Boolean | Filter projects by archival status
val filterName : kotlin.String = filterName_example // kotlin.String | Filter projects by name
val page : kotlin.Double = 8.14 // kotlin.Double | The current page number in this Paginated Response
val pageSize : kotlin.Double = 8.14 // kotlin.Double | Number of pages in this Paginated Response
try {
val result : kotlin.collections.List<Project> = apiInstance.getSharedProjects(filterAccountId, filterArchived, filterName, page, pageSize)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#getSharedProjects")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#getSharedProjects")
e.printStackTrace()
}
| filterAccountId | kotlin.String| Filter projects to those belonging to the specified account | [optional] | | filterArchived | kotlin.Boolean| Filter projects by archival status | [optional] [default to false] | | filterName | kotlin.String| Filter projects by name | [optional] | | page | kotlin.Double| The current page number in this Paginated Response | [optional] |
Name | Type | Description | Notes |
---|---|---|---|
pageSize | kotlin.Double | Number of pages in this Paginated Response | [optional] |
kotlin.collections.List<Project>
Configure OAuth2: ApiClient.accessToken = "" Configure OAuth2: ApiClient.accessToken = "" Configure JWT: ApiClient.accessToken = "" Configure DeveloperToken: ApiClient.accessToken = ""
- Content-Type: Not defined
- Accept: application/json