UiPath Documentation
data-service
2.2610
true
Guide de l'utilisateur de Data Fabric
  • Démarrage
    • Introduction
    • Interface utilisateur
    • Data Fabric Configuration Checklist
    • Installation d'Automation Suite
  • Paramétrage et configuration
  • Using Data Fabric
  • Référence (Reference)
    • Activités Studio de Data Service
    • Accès à l’API
  • Exemples et tutoriels

Accès à l’API

Data Fabric Open API for managing Data Fabric resources from an external application using OAuth 2.0 authorization.

Vue d'ensemble (Overview)​

Data Fabric Open API allows you to manage UiPath Data Fabric resources from an external application of your choice, and does so by enabling you to authorize the external app without sharing any credentials, through the Oauth 2.0 authorization framework.

Découvrez comment enregistrer l’application externe dansUiPath® Automation Suite.

Autorisations d'API​

To use the Data Fabric OpenAPI, you must grant API permissions to the external application. These API permissions are known as scopes, and there are three types for Data Fabric:

  • DataService.Schema.Read - this User Scope allows your external app to read your tenant's Data Fabric schema, and it's dependent on the user's permissions.
  • DataService.Data.Read - this User Scope allows your external app to read your tenant's Data Fabric data, and it's dependent on the user's permissions.
  • DataService.Data.Write - this User Scope allows your external app to edit your tenant's Data Fabric data by deleting, updating or creating new data, and it's dependent on the user's permissions.

Learn more about the user roles and permissions in Data Fabric.

Télécharger la spécification OpenAPI​

With your external application and the user permissions set, it's time to download the OpenAPI specification of your tenant's Data Fabric data. Do so by navigating to the top-right menu on the tenant's Data Fabric tab > API Access > Download OpenAPI file (JSON).

This will get you the OpenAPI 3.0 specifications of your tenant's Data Fabric entities, in JSON format. Clicking Copy OpenAPI link copies the API endpoint that generates the tenant's Data Fabric OpenAPI specification.

Autoriser les appels d'API​

To access the user-scoped resources of Data Fabric, authorize your external application with one of the following methods:

Points de terminaison de l’API​

OAuth2.0 authorization framework helps you generate a access token that allows your external application to make REST API calls to Data Fabric endpoints, for a limited time (one hour).

Pour continuer à appeler les API, vous devez générer un nouveau jeton d'accès ou demander un jeton d'actualisation.

A Data Fabric API endpoint has the following syntax:

  • HTTP method + BaseURL + The resource category + The Data Fabric entity + The Operation + Path variables and query parameters

    Data Fabric Entity Example

    To describe each API request/response body, we are using the Olympics entity fields created in the Data Fabric. While we document the generic endpoint, such as Get Entity Records, your endpoint contains the exact name of your entity (for example, Get Olympics Records). The response and request bodies include all the fields from your entity, replicating the entity's structure.

    Further, let's use the Data Fabric API guide to dive into each endpoint and discover how you can put it to good use.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour