PureCloud API CH1 API Overview Flashcards

1
Q

API

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

API Explorer

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Code Editor

A

Code Editor

The Code Editor allows you to run code samples against the Genesys Cloud JavaScript SDK.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Search Query Builders

A

The Search Query Builder provides a user interface that speeds up the creation of search queries. You pick the search criteria.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Archy

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

REST (REpresentational State Transfer)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is considered a REST

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is considered a restful api?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Platform APIs?

A

The Genesys Cloud API endpoints that contain data or functions to configure the interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In a REST API, the primary data representation?

A

Resource

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

collection resource

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

singleton resource

A

https://api.example.com/user-management/users/userID is referred to as a singleton resource because it is used to identify a specific user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

HTTP Methods

A

HTTP is the most common protocol used by REST API web service requests and responses. CRUD.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Data Formats

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Common format for REST API?

A

JSON (JavaScript Object Notation) and XML (eXtensible Markup Language)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

REST API Requests component dependent on HTTP method.

A

1) Request Type (HTTP Method)
2) API endpoint URL (Resource)
3) Authorization (access token) is the security token, as discussed in the Authorization lesson of this chapter.
4) Content-Type (Data Format) this is generally in the format of Content (media) and the Type (e.g. JSON). Content-Type for JSON is application/json. The HTTP headers | Content-Type web page provides more details Content-Type.

Body: Key-Value in the body based on the endpoint schema.