Define the GET operation for the /items path

How to define the operation by creating z/OS® Assets and mapping the relationship between your API request and the endpoint.

zosConnect-3.0 Applies to zosConnect-3.0.

Containers Applies to z/OS Connect container deployments.

Paths are endpoints or resources that are exposed by your API, such as /items. Each resource has one or more operations, which are HTTP methods that are used to manipulate these resources. For example, GET, PUT, POST, or DELETE.

The paths are defined by the OpenAPI definition that you imported in the task Starting the z/OS Connect Designer with Docker and importing an OpenAPI definition. In the z/OS Connect Designer, the available operations appear in the navigation panel under Paths.

Figure 1. The paths page
The paths page.

You create z/OS Assets to configure the relationship between your API request and the endpoint. For example, you create a z/OS Asset that is called catalogProgram that uses the GET /items operation to retrieve information about a specific item from the CICS® Catalog Manager Program.