...
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.
...
4/ Click on the Clone button. The newly created Get all Payloads Request should show in the table under the Requests tab.
...
Click on the X button on the top RHS to close the Collections and Requests panel.
...
5/ In the Tree View of the SpaceX Data RESTful repository, expand the Get all Payloads Request. Syndeia will send the Request and if successful, the Response will be shown under the Request.
As shown in the figure below, the Response includes data for 136 payloads. Expand the first payload, as shown in the figure below. You will see a payload with payload_id FalconSAT-2.
...
6/ In this step, you will create a new Collection. Launch the Collections and Requests panel, as you did in Step 1. You will see the Collections tab with 1 Collection listed in the table.
Click on the + Add button and specify the Name and Description for the new Collection, as shown in the figure below. Click on the Create button.
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Collections are logical grouping of Requests. A Collection typically includes many Requests. A Request can be in multiple Collections. Collections can be created based on different criteria, such as:
|
...
7/ Repeat the previous step to create another Collection with the following details.
Name = Payloads
Description = Requests related to Payloads
After successful creation, the Collections table will show the new Payloads and Rockets Collections.
...
8/ Now, you will add existing Requests to the two new Collections created in the steps above. Click on the Requests tab.
...
Then, click on the Edit Request (Pencil) icon under the Actions column of the Get all Rockets Request row, as shown in the figure below.
...
9/ In the Update Request panel, click on the Select Collections drop down. Check the Rockets Collection and uncheck the Default RESTful Request Collection, as shown in the figure below. Click on the Update button.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Since a Request can be a part of multiple Collections, you can check multiple Collections in the Select Collections drop-down. |
...
10/ Repeat the step above for the Get all Payloads Request and add it to the Payloads Collection. Click on X on the top RHS to close the Collections and Requests panel.
...
11/ In the Repository Tree View, collapse and expand the SpaceX Data repository. You should now see the two new Collections - Payloads and Rockets, as shown in the figure below. Expand the Collections and you should see:
Get all Payloads Request under the Payloads Collection
Get all Rockets Request under the Rockets Collection
...