Service

Abstract endpoint for Service Provider (parameters apply to other HTTP methods as well)

This is an abstract service (business specific) endpoint to show how any Service Provider that adheres to iSHARE MUST apply iSHARE conformant OAuth to every iSHARE enabled service. Request can make use of any HTTP method and can contain any extra headers. For convenience this documentation only defines the GET method. Parameters are undefined because they vary for each Service Provider due to their business specific logic. Note: Additional headers for security, statefulnes, application functionality could be added and is out of scope of this specification.

GEThttps://isharetest.net/service
Authorization
Header parameters
Response

OK

Body
service_content_1string
service_content_nstring
Request
const response = await fetch('https://isharetest.net/service', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
{
  "service_content_1": "text",
  "service_content_n": "text"
}

Note

This page must be considered part of the iSHARE Trust Framework

Last updated

Logo

Copyright © 2024 iSHARE Foundation