Skip to content

Instantly share code, notes, and snippets.

@thekingofspain
Last active January 27, 2023 23:14
Show Gist options
  • Save thekingofspain/8c78c26b6fbdbb594d4404ada5fe8e0a to your computer and use it in GitHub Desktop.
Save thekingofspain/8c78c26b6fbdbb594d4404ada5fe8e0a to your computer and use it in GitHub Desktop.
# Visual Studio Code Rest API Client File
# For: https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/LifeTime_API_v2
@baseUrl = https://<lifetime>/lifetimeapi/rest/v2
@header = Authorization: Bearer <token>
###
@IncludeEnvStatus=
@IncludeModules=
### ​/applications​
GET {{baseUrl}}/applications
?IncludeEnvStatus={{IncludeEnvStatus}}
&IncludeModules={{IncludeModules}}
{{header}}
################################
### ​/deployments
################################
@MinDate=
@MaxDate=
@TargetEnvironmentKey=
GET {{baseUrl}}/deployments
?MinDate={{MinDate}}
&MaxDate={{MaxDate}}
&TargetEnvironmentKey={{TargetEnvironmentKey}}
{{header}}
################################
### /downloads
################################
@DownloadKey=
GET {{baseUrl}}/downloads
?DownloadKey={{DownloadKey}}
{{header}}
################################
### ​/environments
################################
@EnvironmentData=
GET {{baseUrl}}/environments?EnvironmentData={{EnvironmentData}}
{{header}}
################################
### ​/modules
################################
@IncludeEnvStatus=
GET {{baseUrl}}/modules
?IncludeEnvStatus={{IncludeEnvStatus}}
{{header}}
################################
### ​/roles
################################
@IncludeEnvPermissions=
GET {{baseUrl}}/roles
?IncludeEnvPermissions={{IncludeEnvPermissions}}
{{header}}
################################
### /teams
################################
@IncludeUsers=
@IncludeApplications=
GET {{baseUrl}}/teams
?IncludeUsers={{IncludeUsers}}
&IncludeApplications={{IncludeApplications}}
{{header}}
################################
### ​/users
################################
@IncludeInactive=
@IncludeTeams=
@IncludeApplicationRoles=
GET {{baseUrl}}/users
?IncludeInactive={{IncludeInactive}}
&IncludeTeams={{IncludeTeams}}
&IncludeApplicationRoles={{IncludeApplicationRoles}}
{{header}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment