All URIs are relative to http://localhost
Method | HTTP request | Description ------------- | ------------- | ------------- Billing | GET /api/profile/billing | List billing projects for a user BillingAccounts | GET /api/profile/billingAccounts | List billing accounts for a user BillingProjectStatus | GET /api/profile/billing/{projectName} | billing project status GetAll | GET /register/profile | Returns a list of all keys and values stored in the user profile service for the currently logged-in user. GetProxyGroup | GET /api/proxyGroup/{email} | Returns the proxy group email for the current user GetTerraPreference | GET /api/profile/terra | Returns the current user's preference for Terra UI vs. Legacy view GetUserStatus | GET /register | Passes through to the Rawls userinfo API and returns its response ImportStatus | GET /api/profile/importstatus | Check the user's ability to import a method config into a workspace IsCurator | GET /api/library/user/role/curator | Query to see if you're a library curator Me | GET /me | Returns registration and activation status for the current user SetFCPreference | DELETE /api/profile/terra | Sets the current user's preference to use Legacy view, not Terra UI SetProfile | POST /register/profile | Sets a profile object in the user profile service for the currently logged-in user. SetTerraPreference | POST /api/profile/terra | Sets the current user's preference to use Terra UI, not Legacy view UpdateProfile | POST /api/profile/preferences | Update the preferences for the user UserInfo | GET /register/userinfo | Passes through to Google's userinfo API and returns its response
array[BillingProjectMembership] Billing()
List billing projects for a user
library(openapi)
#List billing projects for a user
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$Billing()
dput(result)
This endpoint does not need any parameter.
array[BillingProjectMembership]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - | | 404 | User Not Found | - | | 500 | Internal Server Error | - |
array[BillingAccount] BillingAccounts()
List billing accounts for a user
library(openapi)
#List billing accounts for a user
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$BillingAccounts()
dput(result)
This endpoint does not need any parameter.
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - | | 403 | Forbidden - redirect to Google to enable appropriate scopes | - | | 500 | Internal Server Error | - |
BillingProjectStatus BillingProjectStatus(project.name)
billing project status
billing project status
library(openapi)
var.project.name <- 'project.name_example' # character | Name of the billing project
#billing project status
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$BillingProjectStatus(var.project.name)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- project.name | character| Name of the billing project |
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - | | 404 | Project Not Found | - | | 500 | Internal Server Error | - |
RegisterProfile GetAll()
Returns a list of all keys and values stored in the user profile service for the currently logged-in user.
library(openapi)
#Returns a list of all keys and values stored in the user profile service for the currently logged-in user.
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetAll()
dput(result)
This endpoint does not need any parameter.
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - | | 500 | Internal server error | - |
character GetProxyGroup(email)
Returns the proxy group email for the current user
library(openapi)
var.email <- 'email_example' # character | User email whose proxy group to retrieve
#Returns the proxy group email for the current user
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetProxyGroup(var.email)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- email | character| User email whose proxy group to retrieve |
character
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | user proxy group | - | | 404 | user not found | - | | 500 | Internal Error | - |
TerraPreference GetTerraPreference()
Returns the current user's preference for Terra UI vs. Legacy view
library(openapi)
#Returns the current user's preference for Terra UI vs. Legacy view
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetTerraPreference()
dput(result)
This endpoint does not need any parameter.
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Success | - | | 500 | Internal Server Error | - |
RawlsMe GetUserStatus()
Passes through to the Rawls userinfo API and returns its response
library(openapi)
#Passes through to the Rawls userinfo API and returns its response
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$GetUserStatus()
dput(result)
This endpoint does not need any parameter.
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - | | 404 | User Not Found. | - | | 500 | Internal Server Error determining Rawls user status. | - |
UserImportPermission ImportStatus()
Check the user's ability to import a method config into a workspace
library(openapi)
#Check the user's ability to import a method config into a workspace
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$ImportStatus()
dput(result)
This endpoint does not need any parameter.
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - | | 500 | Internal Server Error | - |
CuratorStatus IsCurator()
Query to see if you're a library curator
gets the curator status of a user
library(openapi)
#Query to see if you're a library curator
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$IsCurator()
dput(result)
This endpoint does not need any parameter.
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | are you a curator? | - | | 500 | Rawls Internal Error | - |
Me Me(user.details.only=FALSE)
Returns registration and activation status for the current user
library(openapi)
var.user.details.only <- FALSE # character | when set to true does not check the various enabled statuses of the user
#Returns registration and activation status for the current user
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$Me(user.details.only=var.user.details.only)
dput(result)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- user.details.only | character| when set to true does not check the various enabled statuses of the user | [optional] [default to FALSE]
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - | | 401 | Unauthorized. User is not allowed in FireCloud or has not signed in. | - | | 403 | Forbidden. User is registered in FireCloud, but not activated. | - | | 404 | Not Found. User is authenticated to Google but not a FireCloud member. | - | | 500 | Internal Server Error determining user status. | - | | 503 | Service Unavailable. Could not reach underlying services to determine user status. | - |
TerraPreference SetFCPreference()
Sets the current user's preference to use Legacy view, not Terra UI
library(openapi)
#Sets the current user's preference to use Legacy view, not Terra UI
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$SetFCPreference()
dput(result)
This endpoint does not need any parameter.
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Success | - | | 500 | Internal Server Error | - |
SetProfile(profile=var.profile)
Sets a profile object in the user profile service for the currently logged-in user.
library(openapi)
var.profile <- Profile$new("firstName_example", "lastName_example", "title_example", "institute_example", "institutionalProgram_example", "programLocationCity_example", "programLocationState_example", "programLocationCountry_example", "pi_example", "nonProfitStatus_example", "contactEmail_example") # Profile | A complete profile
#Sets a profile object in the user profile service for the currently logged-in user.
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$SetProfile(profile=var.profile)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- profile | Profile| A complete profile | [optional]
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - | | 400 | Bad request | - | | 500 | Internal server error | - |
TerraPreference SetTerraPreference()
Sets the current user's preference to use Terra UI, not Legacy view
library(openapi)
#Sets the current user's preference to use Terra UI, not Legacy view
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
result <- api.instance$SetTerraPreference()
dput(result)
This endpoint does not need any parameter.
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | Success | - | | 500 | Internal Server Error | - |
UpdateProfile(preferences)
Update the preferences for the user
library(openapi)
var.preferences <- TODO # map(character) | The preferences to set as a Map[String, String]
#Update the preferences for the user
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$UpdateProfile(var.preferences)
Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- preferences | named list( map(character) )| The preferences to set as a Map[String, String] |
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 204 | Success (No Content) | - | | 500 | Internal Server Error | - |
UserInfo()
Passes through to Google's userinfo API and returns its response
See https://developers.google.com/+/web/api/rest/openidconnect/getOpenIdConnect for response info. Userinfo endpoint lives at https://www.googleapis.com/oauth2/v3/userinfo.
library(openapi)
#Passes through to Google's userinfo API and returns its response
api.instance <- ProfileApi$new()
# Configure OAuth2 access token for authorization: googleoauth
api.instance$apiClient$accessToken <- 'TODO_YOUR_ACCESS_TOKEN';
api.instance$UserInfo()
This endpoint does not need any parameter.
void (empty response body)
| Status code | Description | Response headers | |-------------|-------------|------------------| | 200 | OK | - |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.