Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3/ In the Create repository form, specify the following values for the fields.

  • Repository type = RESTful (already selected)

  • URL = https://api.spacexdata.com/v3

  • Name = SpaceX Data

  • Description = SpaceX Data RESTful repository.

  • Authentication Type = None

...

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7

It is helpful to give meaningful names and descriptions to your repositories so that you can easily identify them later. You can use set the name and description fields in the form above to other values.

...

4/ Click on the Create button.

...

9/ Click the Requests tab and then click on the + Add button. You will see an empty form to create a new Request, as shown in Figure 8 below.

...

10/ Click the Requests tab and then click on the + Add button. You will see an empty form to create a new Request, as shown in Figure 8 below. In the Create Request form, specify the following values for the fields.

  • Name = Get all Rockets

  • Description = Request to get all Rockets

  • Method = GET(selected by default)

  • URL = https://api.spacexdata.com/v3/rockets

    • The URL for the RESTful repository (https://api.spacexdata.com/v3) with a forward slash (/) is already filled out.

    • You will add rockets to that URL path, as shown in the figure below.

...

11/ Click the Test button. Syndeia will send the request to the RESTful repository and if successful the response will be shown in a green box, as shown in the figure below. The response is in the JSON format, which is the most common data format for RESTful APIs.

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7

It is a good idea to test a Request before creating it. Testing a request verifies that the URL and other details in the Request are specified correctly.

...

12/ Click the Save button. You should see a green-colored message dialog stating Request created successfully. The Request should show in the table under the Requests tab of the Collections and Requests panel.

...

...