PureCloud API CH1 API Overview Flashcards
API
An API (Application Programming Interface) is a set of functions that allows applications to access data and interact with external software components, operating systems, or microservices.
API Explorer
The API Explorer is a simple web interface to perform most of the API operations. Consider the API Explorer as a web app to make requests to API endpoints.
Code Editor
Code Editor
The Code Editor allows you to run code samples against the Genesys Cloud JavaScript SDK.
Search Query Builders
The Search Query Builder provides a user interface that speeds up the creation of search queries. You pick the search criteria.
Archy
Archy
Archy is a Genesys Cloud Architect YAML ( “YAML Ain’t Markup Language” ) processor that lets you create Architect flows from YAML files you write.
REST (REpresentational State Transfer)
Software architectural style used by the client to request services/data and the server to process the request and deliver a response to the client.
What is considered a REST
1) Client-server separation: the client determines how responses are displayed to the user, allowing the server to parse the request and produce the response.
2) Stateless requests: the server does not have to store any context between requests—everything needed is within each request.
3) Resource identifiers: the interface is designed around resources that are identified by URLs.
What is considered a restful api?
A Web service that follows these REST API style guidelines is called RESTful. Such a Web service must provide its Web resources in a textual representation and allow them to be read and modified with a stateless protocol, such as HTTP, and a predefined set of operations.
What is Platform APIs?
The Genesys Cloud API endpoints that contain data or functions to configure the interface
In a REST API, the primary data representation?
Resource
collection resource
https://api.example.com/user-management/users indicates that a resource identified by its location in the api.example.com domain can be accessed using the HTTP protocol
singleton resource
https://api.example.com/user-management/users/userID is referred to as a singleton resource because it is used to identify a specific user.
HTTP Methods
HTTP is the most common protocol used by REST API web service requests and responses. CRUD.
Data Formats
REST API process flow must be able to understand each other and they do that by providing metadata that indicates the format of the data being presented by the request and the response.
Common format for REST API?
JSON (JavaScript Object Notation) and XML (eXtensible Markup Language)