Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

Index

Índice
maxLevel4
outlinetrue
exclude.*ndex
stylenone

 


Speaking of REST services...

REST services allow you to safely access features and services outside the platform, using the authentication protocols OAuth 1, OAuth 2, and Basic authentication. This feature allows you to register, configure and test these services. For more technical and detailed information, see  REST services client authorization.

 


Basic path

 


01. From the main menu, click on Control panel

...

04. View the existing REST services. 


Alternative paths

...


Add REST service

 


01. In the REST Services window, click on Add.

...

Painel

The fields highlighted with an asterisk (*) are mandatory.

Code
Service identification code. 

Domain
 
Address corresponding to the service domain. Example: http://127.0.0.1:8080

Authentication type
Authentication protocol that will be used by the service. The available options are:
- OAuth 1;
- OAuth 2;
- Basic.

Consumer key
 Key to access the service. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 1".

Consumer secret
 Secrete key to access the service. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 1".

Access token
 Token to access the service. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 1" or "Rest OAuth 2".

Secret token
 
Secrete token to access the service. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 1".

Access token URL
URL for the token used to access the provider. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 1".

Token request URL
URL for the token used to request the provider. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 1".

User authorization URL
URL for the user's access authorization to the provider. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 1".

Client Id.
Unique client key. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 2". 

Client secret
Secret client key. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 2".  

Refresh token
Key to refresh token. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 2".  

Refresh token URL
URL to refresh token. This field is only displayed when the selected option in the Authentication type field is "Rest OAuth 2".

User
User sent in the request header.

Password
Password sent in the request header. 

Password confirmation
Confirmation of password sent in the request header.

URL for service test
Endpoint GET to test authentication of access to the provider.

03. Click on Save.


Edit REST service 

 


01. On the REST services window, select the service to be edited.

...

Painel

For more details about the fields displayed, see Add REST service.

04 . Click on Save.


Remove REST service 


01. On the REST services window, select the service to be removed.

...

03. In the message that opens, click on Confirm to remove the service.

 


Test REST service

...

 


01. On the REST services window, select the service that you wish to test.

...