API Overview

De Wiki1000
(Différences entre les versions)
(Authentication)
(Data oriented API)
Ligne 19 : Ligne 19 :
 
See $connect API to manage user connection
 
See $connect API to manage user connection
  
=Data oriented API=
+
=Data oriented APIs=
 +
Data oriented APIs let you access the Application data.
 +
 
 +
Data oriented APIs don't require using DSM and can be use on any classes of the Application
 +
 
 +
{{tip|In the context of FRP 1000, data means objects and doesnt' mean SQL database data. There are no API to access raw SQL Data.}}
 +
 
 
==SDATA REST API==
 
==SDATA REST API==
 +
SDATA API is a REST API which could be uses to query data, execute CRUD operations, BATCH operations and calling classes and objects methods.
 +
 +
SDATA REST API supports XML and Json format.
  
 
==$connect API==
 
==$connect API==
 +
$connect API is an API to manage user authentication.
 +
 +
This API can be use :
 +
* To authenticate a user using a single call to $connect
 +
* To build a login form using a set of API calls.
  
 
==Build in feeds==
 
==Build in feeds==
 +
Build in feeds are data feeds and services which are exposed under the SDATA API.
 +
 +
Build In feed let you access administration and exploitation information.
 +
 +
{{tip|The user, behind the API call, must have administration role to use accesses some of these feeds}}
  
 
=Service oriented API=
 
=Service oriented API=

Version du 20 novembre 2020 à 11:58

Sommaire

Authentication

API accesses must be authentified

There are two ways to manage authentication :

  • Token based
  • Session based

Authentication using token

A token contains all information relative to a user session, including user, folder and share context identifications. Authentication tokens are managed by administrator using administration interfaces. Tokens are under customer control and could expire or be revoked.

Token must be set in the Authorization http header of requests in bearer format.

Authentication using session cookies

Session cookies are set when a user connects to an Application. To use session cookies your application must act behind a user and manage user connection prior to execute API requests.

See $connect API to manage user connection

Data oriented APIs

Data oriented APIs let you access the Application data.

Data oriented APIs don't require using DSM and can be use on any classes of the Application

Tip-20px.png Tip : In the context of FRP 1000, data means objects and doesnt' mean SQL database data. There are no API to access raw SQL Data.

SDATA REST API

SDATA API is a REST API which could be uses to query data, execute CRUD operations, BATCH operations and calling classes and objects methods.

SDATA REST API supports XML and Json format.

$connect API

$connect API is an API to manage user authentication.

This API can be use :

  • To authenticate a user using a single call to $connect
  • To build a login form using a set of API calls.

Build in feeds

Build in feeds are data feeds and services which are exposed under the SDATA API.

Build In feed let you access administration and exploitation information.

Tip-20px.png Tip : The user, behind the API call, must have administration role to use accesses some of these feeds

Service oriented API

Legacy APIs

SOAP API

[[category:



Whos here now:   Members 0   Guests 1   Bots & Crawlers 0
 
Outils personnels