Source Specs
Get source spec
Source Specs
Get source spec
Get a source spec by name
GET
/
v2
/
sourcespecs
/
{name}
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
name
string
*
name
Required
string
Name
curl --request GET \
--url https://api.portable.io/v2/sourcespecs/{name} \
--header 'Authorization: Bearer <token>'
{
"name": "google_calendar",
"displayName": "Google Calendar",
"website": "https://calendar.google.com",
"tagLine": "Calendar App",
"lifecycle": "STABLE",
"authenticationStrategy": "AUTH_CODE"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
name
string
requiredName
Response
200 - application/json
data
object
requireddata.name
string
data.displayName
string
data.website
string
data.tagLine
string
data.lifecycle
enum<string>
Available options:
ALPHA
, BETA
, STABLE
, DEPRECATED
data.authenticationStrategy
enum<string>
Available options:
NONE
, BASIC
, TOKEN
, AUTH_CODE
, CLIENT_CREDENTIALS
, FETCH_CREDENTIALS
, OIDC
data.instructions
string
data.propertyDefinitions
object[]
data.propertyDefinitions.name
string
requiredA machine-readable name for the property
data.propertyDefinitions.displayName
string
A human-readable name for the property
data.propertyDefinitions.type
enum<string>
requiredThe type of the property
Available options:
STRING
, PASSWORD
, TEXT
, NUMBER
, BOOLEAN
, DATE
, DATETIME
, TIME
data.propertyDefinitions.required
boolean
requiredWhether the property's value is required
data.propertyDefinitions.description
string
A human-readable description of the property
curl --request GET \
--url https://api.portable.io/v2/sourcespecs/{name} \
--header 'Authorization: Bearer <token>'
{
"name": "google_calendar",
"displayName": "Google Calendar",
"website": "https://calendar.google.com",
"tagLine": "Calendar App",
"lifecycle": "STABLE",
"authenticationStrategy": "AUTH_CODE"
}