Available in Classic and VPC
Get the application list.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v1/applications |
Request headers
For information about the headers common to all Ncloud Single Sign-On APIs, see Ncloud Single Sign-On request headers.
Request query parameters
You can use the following query parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
searchColumn |
String | Conditional | Search column
|
searchWord |
String | Optional | Search keyword
|
page |
Integer | Optional | Page number
|
size |
Integer | Optional | Page output count
|
Request example
The request example is as follows:
curl --location --request GET 'https://sso.apigw.ntruss.com/api/v1/applications?searchColumn=applicationName&searchWord=application&page=0&size=20' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
page |
Number | - | Page number |
totalPages |
Number | - | Total number of pages |
totalItems |
Number | - | Number of response results |
isFirst |
Boolean | - | Whether it is the first page
|
isLast |
Boolean | - | Whether it is the last page
|
hasPrevious |
Boolean | - | Whether previous page exists
|
hasNext |
Boolean | - | Whether next page exists
|
items |
Array | - | Application list |
items
The following describes items
.
Field | Type | Required | Description |
---|---|---|---|
applicationId |
String | - | Application ID |
name |
String | - | Application name |
description |
String | - | Application description |
applicationUrl |
String | - | Application URL |
applicationType |
String | - | Application type
|
mbrLoginAllow |
String | - | Whether to allow main account login
|
createdAt |
String | - | Application creation date and time
|
updatedAt |
String | - | Application modification date and time
|
clientId |
String | - | Application client ID
|
clientAuthMethod |
String | - | Application authentication method
|
redirectUris |
Array | - | Application redirection URI list
|
accessType |
String | - | Application access method
|
grantTypes |
Array | - | Authorization method
|
scopes |
Array | - | Application accessible information range
|
accessTokenValidity |
Number | - | Access token validity time (second)
|
refreshTokenValidity |
Number | - | Refresh token validity time (second)
|
protocol |
String | - | Application authentication protocol
|
Response status codes
For information about the response status codes common to all Ncloud Single Sign-On APIs, see Ncloud Single Sign-On response status codes.
Response example
The response example is as follows:
{
"page" : 0,
"totalPages" : 1,
"totalItems" : 1,
"isFirst" : true,
"isLast" : true,
"hasPrevious" : false,
"hasNext" : false,
"items" : [
{
"applicationId" : "88d2009c-****-****-****-59bf9afd5695",
"name" : "application000",
"description" : "aplication000 description",
"applicationUrl" : "http://****.com",
"applicationType" : "web",
"mbrLoginAllow" : "ALLOW",
"createdAt" : "2025-01-17T05:09:54Z",
"updatedAt" : "2025-01-17T05:09:54Z",
"clientId" : "88d2009c-****-****-****-59bf9afd5695",
"clientAuthMethod" : "client_secret_basic",
"redirectUris" : [
"http://****.com"
],
"accessType" : "confidential",
"grantTypes" : [
"authorization_code",
"refresh_token"
],
"scopes" : [
"profile"
],
"accessTokenValidity" : 43200,
"refreshTokenValidity" : 2592000,
"protocol" : "OAUTH2"
}
]
}