Configure APIs and Methods Privacy

Configure APIs and Methods Privacy

Summary

You can define the privacy of your APIs and methods to grant access only to users you want, or revoke accesses when you require it.



Privacy rules

You can set up the visibility of APIs and methods, i.e. whether they would be public or private.

The following table explains the possible privacy combinations of APIs and methods:

Privacy Policy
Public method
Private method
Public API
AllRegitated developers can access the API and the method.


Unauthenticated visiting users can see the details of the API and the method
Only developers you shared at least one API method can access the API and only the methods that have been shared


Unauthenticated visiting users can access the API but cannot see the details of the methods
Private API
AllRegitated developers can access the API and the method.


Unauthenticated visiting users cannot access the API
Only developers you shared at least one API method can access the API and only the methods that have been shared


Unauthenticated visiting users cannot access the API

The visibility of APIs could define it when creating or editing the API, while the visibility of methods when creating or editing the method. In both cases, the option would be engraved with the visibility selector.

Applications

Applications are managed on the developer portal. Users accessing the portal can create, edit and delete their applications containing credentials to consult APIs methods.

Applications contain a Key API that would be used to make requests to methods when they are protected under that mode. Key APIs do not expire, although the user who owns the application can refresh their values.

When your account has enabled the protection functionality of methods using OAuth20, the applications would contain a ClientId and ClientSecret which should be used to make them.

Set up API privacy

If you define the API as private, a lock icon would be displayed.

Keep in mind that APIs are not shared with developer users, what are shared are their methods.

Set up privacy of methods

Methods can be protected by Keys API or the OAuth2.0 protocol.

Keys API protection

You can protect your methods using Keys APIs by setting up whether they should be sent as a signer or as a header.

If you set up As parameter the value of the Key API should be sent in the auth_key parameter.

If you set up As header API Key should be sent as the Authorization header value.

OAuth20 protection

In protecting your methods with OAuth20 you should complete a form with the appropriate configuration.


Access to private methods

When accessing the developer's portal, if a user does not have access to the method, an information message would be displayed.



    • Related Articles

    • Audit API

      Summary The Audit API allows you to consult audit records in detail of applications received and responses submitted from APIs methods. Through this API you can learn the details of each of the requests made to your APIs and the responses submitted. ...
    • Administrative APIs: introduction

      Administrative APIs would allow you to check your account data. Administrative APIs you can consult: Statistics for the use of your APIs Audit queries made to your APIs and responses delivered Health of Methods (SLO) List of users of your account ...
    • APIs catalog and documentation

      Summary Once you have accessed the developer portal with your credentials, you can access the APIs catalog and its documentation. APIs Catalogue In the APIs Catalog you could learn about available APIs and access their documentation. API ...
    • Introduction to WorkSpace

      Summary Workspace is where owners, administrators, publishers, and editors access to manage APIs. In this section, you can find the workspace documentation. We suggest reading What are data resources. If you were unable to access it, please read ...
    • Configure developers portal branding

      Summary You can set up the branding (graphical styles) of the developer portal. To apply the cofigurations you must go to Settings > Developer Portal > Branding. General customizations In this section you can: Define the page item is the item shown ...