generated from NASA-PDS/template-repo-java
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
thomas loubrieu
committed
Oct 9, 2023
1 parent
a577ad5
commit 7790428
Showing
1 changed file
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "478f45c4-7b67-4c79-829b-18373bc14aba", | ||
"name": "Planetary Data System API Reference Tests", | ||
"_postman_id": "23f6b1ba-f2d6-4126-9385-1cb78121b18c", | ||
"name": "Planetary Data System API Reference Tests Copy 2", | ||
"description": "Federated PDS API which provides actionable end points standardized\nbetween the different nodes.\n\n\nContact Support:\n Email: [email protected]", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | ||
"_exporter_id": "11337552", | ||
"_collection_link": "https://interstellar-satellite-406261.postman.co/workspace/My-Workspace~2ee1fece-93c6-4f38-806d-fa321e2e92d5/collection/11337552-478f45c4-7b67-4c79-829b-18373bc14aba?action=share&source=collection_link&creator=11337552" | ||
"_collection_link": "https://interstellar-satellite-406261.postman.co/workspace/My-Workspace~2ee1fece-93c6-4f38-806d-fa321e2e92d5/collection/11337552-23f6b1ba-f2d6-4126-9385-1cb78121b18c?action=share&source=collection_link&creator=11337552" | ||
}, | ||
"item": [ | ||
{ | ||
|
@@ -708,7 +708,7 @@ | |
"", | ||
"pm.test(\"C2488844 Response contains same number of properties\", () => {", | ||
" const responseJson = pm.response.json();", | ||
" pm.expect(responseJson.length).to.be.eql(140);", | ||
" pm.expect(responseJson.length).to.be.eql(141);", | ||
"});", | ||
"", | ||
"pm.test(\"C2488844 Response property objects follow expected schema\", () => {", | ||
|
@@ -789,6 +789,42 @@ | |
} | ||
}, | ||
"response": [] | ||
}, | ||
{ | ||
"name": "NASA-PDS/registry-api#375 csv response, use | as inner list separator", | ||
"request": { | ||
"method": "GET", | ||
"header": [ | ||
{ | ||
"key": "Accept", | ||
"value": "text/csv", | ||
"type": "text" | ||
} | ||
], | ||
"url": { | ||
"raw": "{{baseUrl}}/products/:lidvid?fields=lid,pds:File.pds:file_size", | ||
"host": [ | ||
"{{baseUrl}}" | ||
], | ||
"path": [ | ||
"products", | ||
":lidvid" | ||
], | ||
"query": [ | ||
{ | ||
"key": "fields", | ||
"value": "lid,pds:File.pds:file_size" | ||
} | ||
], | ||
"variable": [ | ||
{ | ||
"key": "lidvid", | ||
"value": "urn:nasa:pds:mars2020.spice::1.0" | ||
} | ||
] | ||
} | ||
}, | ||
"response": [] | ||
} | ||
] | ||
} | ||
|