GET /oauth/auz/grants/{GrantID}/provider/resources/{Resource}

Returns the logo for the OAuth provider, based on the specified GrantID, as part of the OAuth grant provisioning UI. In the developer portal, the logo is uploaded as part of the OAuth Provider domain setup (OAuth Provider domain setup, Branding tab). It can be retrieved using this operation. The resource name is always logo.

Authorization Roles/Permissions: Must be the resource owner.

This topic includes the following sections:

HTTP Method

GET

Back to top

URL

https://{oauth-provider-url}/oauth/auz/grants/{GrantID}/provider/resources/{Resource}

Back to top

Sample Request

The example below shows a request for the logo for the OAuth provider.

Request URL

https://{oauth-provider-url}/oauth//auz/grants/ge6ij9k4fbea/provider/resources/logo

Sample request headers

GET /oauth/auz/grants/ge6ij9k4fbea/provider/resources/logo HTTP/1.1
Accept: image/png,image/*;q=0.8,*/*;q=0.5

Sample request body

Not applicable.

Back to top

Request Headers

For general information on request header values, refer to HTTP Request Headers.

Header Description
Accept image/jpg

Back to top

Request Parameters

Parameter Parm Type Data Type Required Description
GrantID Path string Required The unique ID for a specific instance of an OAuth grant.
Resource Path String Required The logo for the OAuth provider.

Back to top

Response

If successful, this operation returns HTTP status code 200, with the requested logo.

Back to top

Sample Response

The sample response below shows successful completion of this operation.

Sample response headers

HTTP/1.1 200 OK
Content-Type: image/jpeg
Expires: Wed, 22 Jul 2015 15:40:57 GMT

Sample response body

The response body is the logo for the OAuth provider.

Back to top

Response Headers

For general information on response header values, refer to HTTP Response Headers.

Header Description
Content-Type image/jpg

Back to top

Response Body

The response body is the logo for the OAuth provider.

Back to top

Error Codes/Messages

If the call is unsuccessful an error code/message is returned. One or more examples of possible errors for this operation are shown below.

Item Value
500 An error occurred processing the call.

More information about Enterprise API Platform API error messages.

Back to top

Related Topics