Skip to content

Plugin List

Eliza Margaretha edited this page May 6, 2022 · 7 revisions

** WARNING: This service is experimental and may change without any notice.

List all plugins registered by a user.

Available in: full version

Method: POST

Service URL: root/oauth2/client/plugins

Parameters

Header Parameters

Name Required Authentication scheme Value
Authorization yes HTTP authentication with scheme: Bearer, Api OAuth2 access token or user authentication token
Content-Type yes content type of the input data application/x-www-form-urlencoded

Request body

URL-encoded form parameters

Name Required Description Type
super_client_id yes A super client identifier obtained on client registration. String
super_client_secret yes A super client secret obtained on client registration. String

Examples

Request

curl -H 'Content-Type: application/x-www-form-urlencoded' 
     -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' 
     -d 'super_client_id=fCBbQkA2YzIxYmY1Ng==&super_client_secret=
         Z0yTxWfoVPT3APmkU8mQoc7lyA9' 
     http://localhost:8089/api/v1.0/oauth2/client/plugins

Response

[
    {
        "source": {"id": "52atrL0ajex_3_5imd9Mgw"},
        "super": false,
        "permitted": true,
        "client_id": "52atrL0ajex_3_5imd9Mgw",
        "client_name": "Confidential plugin",
        "client_type": "CONFIDENTIAL",
        "client_description": "Example confidential plugin",
        "client_url": "https://confidential.plugin.com",
        "registered_by": "username",
        "refresh_token_expiry": 31536000
    }
]
Clone this wiki locally