Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This is the second hands-on exercise to learn about the Syndeia RESTful Integration capability introduced in Syndeia 3.5.

In this exercise, we will use the open-source SpaceX Data REST API that provides endpoints to fetch data about SpaceX rockets, launches, ships, star links, and other missions.

Objectives

The learning objectives of this exercise are as follows:

  1. Add multiple Requests to a RESTful repository in the Syndeia Web Dashboard

  2. Create Collections

  3. Organize Requests in Collections

  4. Clone and Edit Requests

Preparation

This exercise assumes that the student has done the following preparations.

  1. Reviewed the content presented in Introduction to REST APIs and Syndeia RESTful Integration

  2. Able to access Syndeia Cloud 3.5 with a valid user account

  3. User account in Syndeia Cloud 3.5 has RESTFUL WRITE permission (contact Syndeia Cloud admin to verify)

  4. Successfully completed the first tutorial - Exercise 29.1 - Adding your first RESTful Repository and Request

Exercise

The first tutorial included step-by-step instructions to create a new RESTful repository and adding a new Request. This tutorial includes step-by-step instructions to create multiple Requests and organizing Requests in Collections.

1/ Right-click on the SpaceX Data repository or the default Collection and click on Manage RESTful Collections & Requests menu to open the Collections and Requests panel.


2/ The Request to get all payloads is similar to the one to get all rockets. So, we will clone the Get all Rockets Request and modify it. Click on the Clone icon shown under the Actions columns of the Get all Rockets row.


3/ In the Clone Request form, update the following fields as specified below.

  • Name = Get all Payloads

  • Description = Request to get all Payloads

  • URL = Replace rockets with payloads in the URL path, as shown below.

Click on the Test button to verify the new Request. If the Request is successful, the Response should be shown in a green box.


4/ Click on the Clone button. The newly created Get all Payloads Request should show in the table under the Requests tab.


  • No labels