From cf0f2bec371c189cbc704f5a97e80da06c2c73f1 Mon Sep 17 00:00:00 2001 From: thomas loubrieu Date: Thu, 14 Sep 2023 19:21:59 -0400 Subject: [PATCH] wip: adapt tests to new reference datasets, connect to testrail --- docker/postman/postman_collection.json | 8867 +----------------------- 1 file changed, 114 insertions(+), 8753 deletions(-) diff --git a/docker/postman/postman_collection.json b/docker/postman/postman_collection.json index 12f0283..62755cd 100644 --- a/docker/postman/postman_collection.json +++ b/docker/postman/postman_collection.json @@ -1,8734 +1,13 @@ { "info": { - "_postman_id": "8264807d-79e5-4ec2-9895-aadd666cca4f", + "_postman_id": "478f45c4-7b67-4c79-829b-18373bc14aba", "name": "Planetary Data System API Reference Tests", "description": "Federated PDS API which provides actionable end points standardized\nbetween the different nodes.\n\n\nContact Support:\n Email: pds-operator@jpl.nasa.gov", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "11337552" + "_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" }, "item": [ - { - "name": "products", - "item": [ - { - "name": "lidvid resolver", - "item": [ - { - "name": "default", - "item": [ - { - "name": "found", - "item": [ - { - "name": "default", - "item": [ - { - "name": "non supported", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 406\", () => {", - " pm.response.to.have.status(406);", - "});", - "", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": {} - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/not-supported", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:not_found::2.1" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - } - ] - }, - { - "name": "application/pds4+xml", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": {} - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/vnd.nasa.pds.pds4+xml", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - } - ] - }, - { - "name": "application/pds4+json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has meta\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('meta');", - "});", - "", - "pm.test(\"Meta has ops:Tracking_Meta\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson.meta).to.have.property('ops:Tracking_Meta');", - "});", - "", - "pm.test(\"Ops:Tracking_Meta has ops:archive_status\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson.meta[\"ops:Tracking_Meta\"]).to.have.property('ops:archive_status');", - "});", - "", - "pm.test(\"Ops:archive_status value is archived\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson.meta[\"ops:Tracking_Meta\"]['ops:archive_status']).to.eql('archived');", - "});", - "", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/vnd.nasa.pds.pds4+json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - } - ] - }, - { - "name": "application/json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has id\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('id');", - "});", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": {} - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - } - ] - }, - { - "name": "application/xml", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/xml", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - } - ] - }, - { - "name": "application/kvp+json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has pds:Citation_Information.pds:description\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('pds:Citation_Information.pds:description');", - "});", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": {} - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/kvp+json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - } - ] - } - ] - } - ] - }, - { - "name": "not found", - "item": [ - { - "name": "does not exist", - "item": [ - { - "name": "application/not-supported", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "magna voluptate irure ullamco in", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - }, - { - "name": "text/csv", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "text/csv", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "magna voluptate irure ullamco in", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - }, - { - "name": "application/json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "magna voluptate irure ullamco in", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - }, - { - "name": "application/xml", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "magna voluptate irure ullamco in", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - }, - { - "name": "application/pds4+xml", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/vnd.nasa.pds.pds4+xml", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "magna voluptate irure ullamco in", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - }, - { - "name": "application/pds4+json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/vnd.nasa.pds.pds4+json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "magna voluptate irure ullamco in", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - }, - { - "name": "default", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "magna voluptate irure ullamco in", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - } - ] - }, - { - "name": "status is still staged", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_calibrated:hp3_rad_cal_00014_20181211_073042::1.0", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - } - ] - } - ] - }, - { - "name": "all", - "item": [ - { - "name": "application/json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has summary\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('summary');", - "});", - "", - "pm.test(\"Has data\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('data');", - "});", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": {} - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid/all", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid", - "all" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - } - ] - }, - { - "name": "application/vnd.nasa.pds.pds4+json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has summary\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('summary');", - "});", - "", - "pm.test(\"Has data\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('data');", - "});", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/vnd.nasa.pds.pds4+json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid/all", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid", - "all" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_derived::7.0", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - } - ] - } - ] - }, - { - "name": "latest", - "item": [ - { - "name": "application/json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has id\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('id');", - "});", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": {} - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid/latest", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid", - "latest" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - } - ] - } - ] - } - ] - }, - { - "name": "search", - "item": [ - { - "name": "all", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/classes/observationals?limit=10", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "observationals" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "all fields", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/classes/observationals?limit=10&fields=\"pds:Time_Coordinates/pds:start_date_time\"", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "observationals" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "fields", - "value": "\"pds:Time_Coordinates/pds:start_date_time\"" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "eq no result", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/classes/observationals?limit=10&q=title eq \"InSight HP3 *\"", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "observationals" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "title eq \"InSight HP3 *\"" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "eq one result (title)", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/classes/observationals?limit=10&q=pds:Identification_Area.pds:title eq \"InSight HP3 Radiometer Experiment Derived Product:hp3_rad_der_00014_20181211_073042\"&fields=title,lid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "observationals" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "pds:Identification_Area.pds:title eq \"InSight HP3 Radiometer Experiment Derived Product:hp3_rad_der_00014_20181211_073042\"" - }, - { - "key": "fields", - "value": "title,lid" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "eq one result", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "text/csv", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/classes/observationals?limit=10&q=pds:Identification_Area.pds:title eq \"InSight HP3 Radiometer Experiment Derived Product:hp3_rad_der_00014_20181211_073042\"&fields=title", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "observationals" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "pds:Identification_Area.pds:title eq \"InSight HP3 Radiometer Experiment Derived Product:hp3_rad_der_00014_20181211_073042\"" - }, - { - "key": "fields", - "value": "title" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "ne", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableUrlEncoding": false - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "text/csv", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/classes/observationals?limit=100&q=pds:Identification_Area.pds:title ne \"InSight HP3 Radiometer Experiment Derived Product:hp3_rad_der_00014_20181211_073042\"&fields=title", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "observationals" - ], - "query": [ - { - "key": "limit", - "value": "100", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "pds:Identification_Area.pds:title ne \"InSight HP3 Radiometer Experiment Derived Product:hp3_rad_der_00014_20181211_073042\"" - }, - { - "key": "fields", - "value": "title" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "like with wildcard", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "text/csv", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/classes/observationals?limit=10&q=pds:Identification_Area.pds:title like \"InSight HP3 Rad*\"&fields=title", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "observationals" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "pds:Identification_Area.pds:title like \"InSight HP3 Rad*\"" - }, - { - "key": "fields", - "value": "title" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "lt", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/classes/observationals?limit=10&q=(pds:Table_Character.pds:records gt 75000)", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "observationals" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "(pds:Table_Character.pds:records gt 75000)" - }, - { - "key": "fields", - "value": "title", - "disabled": true - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "search q", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products?limit=10", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "kvp+json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/kvp+json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products?limit=10&fields=lidvid&fields=pds:File.pds:file_name", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "fields", - "value": "lidvid" - }, - { - "key": "fields", - "value": "pds:File.pds:file_name" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "text/csv", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "text/csv", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products?limit=10&fields=lidvid&fields=title", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "fields", - "value": "lidvid" - }, - { - "key": "fields", - "value": "title" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - } - ] - }, - { - "name": "links", - "item": [ - { - "name": "product's collection", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/classes/observationals/urn:nasa:pds:insight_rad:data_derived:hp3_rad_der_00014_20181211_073042::1.0/member-of/member-of", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "observationals", - "urn:nasa:pds:insight_rad:data_derived:hp3_rad_der_00014_20181211_073042::1.0", - "member-of", - "member-of" - ] - } - }, - "response": [] - }, - { - "name": "product's bundle", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/classes/bundles/urn:nasa:pds:insight_rad:data_derived::7.0/members", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "bundles", - "urn:nasa:pds:insight_rad:data_derived::7.0", - "members" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "collections", - "item": [ - { - "name": "lidvid resolver", - "item": [ - { - "name": "default", - "item": [ - { - "name": "Found", - "item": [ - { - "name": "not supported format", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 406\", () => {", - " pm.response.to.have.status(406);", - "});", - "", - "pm.test(\"Has message\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('message');", - "});", - "", - "pm.test(\"Message value\", function () {", - " pm.expect(pm.response.json().name).to.eql(pm.environment.get(\"The Accept header value application/not-supported is not supported, supported values are application/csv, application/xml, text/html, application/json, */*, application/vnd.nasa.pds.pds4+json, text/csv, text/xml, application/kvp+json, application/vnd.nasa.pds.pds4+xml\"));", - "});", - "", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/not-supported", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/collections/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_derived::7.0" - } - ] - } - }, - "response": [] - }, - { - "name": "application/pds4+xml", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/vnd.nasa.pds.pds4+xml", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/collections/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_derived::7.0" - } - ] - } - }, - "response": [] - }, - { - "name": "application/pds4+json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/vnd.nasa.pds.pds4+json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/collections/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_derived::7.0" - } - ] - } - }, - "response": [] - }, - { - "name": "application/json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/collections/:lidvid/all", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections", - ":lidvid", - "all" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_derived::7.0" - } - ] - } - }, - "response": [] - } - ] - }, - { - "name": "Not found", - "item": [ - { - "name": "does not exists", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "something which does not exists" - } - ] - } - }, - "response": [] - }, - { - "name": "is not a collection", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_derived:hp3_rad_der_00014_20181211_073042::1.0" - } - ] - } - }, - "response": [] - }, - { - "name": "collection is still staged", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_calibrated::7.0" - } - ] - } - }, - "response": [] - } - ] - } - ] - } - ] - }, - { - "name": "links", - "item": [ - { - "name": "collection's products", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid/members", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid", - "members" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_derived::7.0" - } - ] - } - }, - "response": [] - } - ] - }, - { - "name": "search", - "item": [ - { - "name": "collections, complex requests", - "item": [ - { - "name": "request PDS collections group", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=(pds/Primary_Result_Summary/pds/processing_level eq \"Raw\")", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "(pds/Primary_Result_Summary/pds/processing_level eq \"Raw\")", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "request PDS collections group not", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=not (pds/Primary_Result_Summary/pds/processing_level eq \"Raw\")", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "not (pds/Primary_Result_Summary/pds/processing_level eq \"Raw\")", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - }, - { - "name": "request PDS collections nested group", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=((pds/Primary_Result_Summary/pds/processing_level eq \"Raw\"))", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "((pds/Primary_Result_Summary/pds/processing_level eq \"Raw\"))", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - }, - { - "name": "request PDS collections and statement", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=((pds:Primary_Result_Summary.pds:processing_level eq \"Raw\") and not (ops:Data_File_Info.ops:file_size ge 8942))", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "86952436", - "description": "offset in matching result list, for pagination", - "disabled": true - }, - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "((pds:Primary_Result_Summary.pds:processing_level eq \"Raw\") and not (ops:Data_File_Info.ops:file_size ge 8942))" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "request PDS collections or statement", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=((pds/Primary_Result_Summary/pds/processing_level eq \"Raw\") or not (_file_size le 8942))", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "((pds/Primary_Result_Summary/pds/processing_level eq \"Raw\") or not (_file_size le 8942))", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - } - ] - }, - { - "name": "collection, unit comparison requests", - "item": [ - { - "name": "request PDS collections q is null", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "request PDS collections q is empty", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 400\", () => {", - " pm.response.to.have.status(400);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/classes/collections?q=\"\"", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "classes", - "collections" - ], - "query": [ - { - "key": "q", - "value": "\"\"", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "request PDS collections EQual String", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?q=pds:Primary_Result_Summary/pds:processing_level eq \"Raw\"", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "q", - "value": "pds:Primary_Result_Summary/pds:processing_level eq \"Raw\"", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - }, - { - "name": "request PDS collections Not EQual String", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?q=pds/Primary_Result_Summary/pds/processing_level ne \"Raw\"", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "q", - "value": "pds/Primary_Result_Summary/pds/processing_level ne \"Raw\"", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - }, - { - "name": "request PDS collections Greater Than String", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?q=pds/Primary_Result_Summary/pds/processing_level gt \"Partially Processed\"", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "q", - "value": "pds/Primary_Result_Summary/pds/processing_level gt \"Partially Processed\"", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "request PDS collections Lower Than String", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?q=pds:Primary_Result_Summary/pds:processing_level lt \"Partially Processed\"", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "q", - "value": "pds:Primary_Result_Summary/pds:processing_level lt \"Partially Processed\"", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "request PDS collections Greater or Equal String", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?q=pds:Primary_Result_Summary/pds:processing_level ge \"Partially Processed\"", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "q", - "value": "pds:Primary_Result_Summary/pds:processing_level ge \"Partially Processed\"", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - }, - { - "name": "request PDS collections Lower or Equal String", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=pds:Primary_Result_Summary/pds:processing_level le \"Partially Processed\"", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "pds:Primary_Result_Summary/pds:processing_level le \"Partially Processed\"", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "request PDS collections file zie (num q)", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=_file_size eq 8042", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "_file_size eq 8042", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "request PDS collections Not Equal file size (num q)", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=_file_size ne 8042", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "_file_size ne 8042", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - }, - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - } - ] - }, - { - "name": "request PDS collections greater Than file size (num q)", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=_file_size gt 8963", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "_file_size gt 8963", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - }, - { - "name": "request PDS collections greater or equal file size (num q)", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=_file_size ge 8963", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "_file_size ge 8963", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - }, - { - "name": "request PDS collections lower than file size (num q)", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=_file_size lt 8963", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "_file_size lt 8963", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - }, - { - "name": "request PDS collections lower or equal file size (num q)", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?limit=10&q=_file_size le 8963", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "limit", - "value": "10", - "description": "maximum number of matching results returned, for pagination" - }, - { - "key": "q", - "value": "_file_size le 8963", - "description": "search query" - } - ] - } - }, - "response": [ - { - "name": "Bad request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"url\": \"https://pds.nasa.gov/api/1.0/collections\",\n \"resource\": \"/collections\",\n \"query\": \"q=mission qt 12\",\n \"message\": \"query operator gt not supported on field mission\"\n}" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/collections?start=&limit=&q=&fields=&fields=&sort=&sort=", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "collections" - ], - "query": [ - { - "key": "start", - "value": "" - }, - { - "key": "limit", - "value": "" - }, - { - "key": "q", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "fields", - "value": "" - }, - { - "key": "sort", - "value": "" - }, - { - "key": "sort", - "value": "" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Total-Count", - "value": "86952436", - "description": "Total number of records maching the request." - }, - { - "key": "Content-Type", - "value": "application/json" - } - ], - "cookie": [], - "body": "{\n \"metadata\": {\n \"q\": \"consectetur mollit magna dolor\",\n \"start\": -27309082,\n \"limit\": 85105165,\n \"sort\": [\n \"voluptate sint sit\",\n \"fugiat irure\"\n ]\n },\n \"data\": \"schema type not provided\"\n}" - } - ] - } - ] - } - ] - } - ] - }, - { - "name": "bundles", - "item": [ - { - "name": "lidvid resolver", - "item": [ - { - "name": "default", - "item": [ - { - "name": "found", - "item": [ - { - "name": "application/json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has id\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('id');", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/bundles/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "bundles", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - } - ] - }, - { - "name": "no found", - "item": [ - { - "name": "is not a bundle", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad:data_calibrated:hp3_rad_cal_00014_20181211_073042::1.0", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - }, - { - "name": "does not exists", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 404\", () => {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid", - "value": "not existing id", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - } - ] - } - ] - }, - { - "name": "all", - "item": [ - { - "name": "found", - "item": [ - { - "name": "application/json", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has summary\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('summary');", - "});", - "", - "pm.test(\"Has data\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('data');", - "});", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid/all", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid", - "all" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1", - "description": "(Required) lidvid (urn)" - } - ] - } - }, - "response": [ - { - "name": "lidvid not found", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Not Found", - "code": 404, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - }, - { - "name": "Successful request", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "xml", - "header": [ - { - "key": "Content-Type", - "value": "application/xml" - } - ], - "cookie": [], - "body": "magna voluptate irure ullamco in" - }, - { - "name": "Internal server error", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/products/:lidvid", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid" - ], - "variable": [ - { - "key": "lidvid" - } - ] - } - }, - "status": "Internal Server Error", - "code": 500, - "_postman_previewlanguage": "text", - "header": [ - { - "key": "Content-Type", - "value": "text/plain" - } - ], - "cookie": [], - "body": "" - } - ] - } - ] - } - ] - } - ] - }, - { - "name": "links", - "item": [ - { - "name": "bundle's collections", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has data\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('data');", - "})", - "", - "pm.test('Number of results > 0', function () {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson.data.length).to.be.above(0);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid/members", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid", - "members" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1" - } - ] - } - }, - "response": [] - }, - { - "name": "bundle's collections with classes", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has data\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('data');", - "})", - "", - "pm.test('Number of results > 0', function () {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson.data.length).to.be.above(0);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/products/:lidvid/members/members", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "products", - ":lidvid", - "members", - "members" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1" - } - ] - } - }, - "response": [] - }, - { - "name": "bundle's products", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", - " pm.expect(pm.response.responseTime).to.be.below(1000); ", - "});", - "", - "pm.test(\"Status code is 200\", () => {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Has data\", () => {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('data');", - "})", - "", - "pm.test('Number of results > 0', function () {", - " const responseJson = pm.response.json();", - " pm.expect(responseJson.data.length).to.be.above(0);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{baseUrl}}/bundles/:lidvid/products", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "bundles", - ":lidvid", - "products" - ], - "variable": [ - { - "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1" - } - ] - } - }, - "response": [] - } - ] - }, - { - "name": "search", - "item": [ - { - "name": "all", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{baseUrl}}/bundles", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "bundles" - ] - } - }, - "response": [] - } - ] - } - ] - }, { "name": "cookbook examples", "item": [ @@ -8794,12 +73,42 @@ "name": "requirements", "item": [ { - "name": "NASA-PDS/pds-api#99", + "name": "NASA-PDS/pds-api#99 free text search", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"C2488859 Status code is 200\", () => {", + " pm.response.to.have.status(200);", + "});", + "", + "pm.test(\"C2488859 Response takes less than 1s\", () => {", + " pm.expect(pm.response.responseTime).to.be.below(1000); ", + "});", + "", + "var data = pm.response.json().data;", + "", + "pm.test(\"C2488859 Number of results is 6\", () => {", + " pm.expect(data.length).to.equal(6); ", + "});", + "", + "pm.test(\"C2488859 title contains Perseverance\", () => {", + " pm.expect(data[0].title).to.match(/Perseverance/); ", + "});", + "", + "", + "" + ], + "type": "text/javascript" + } + } + ], "request": { "method": "GET", "header": [], "url": { - "raw": "{{baseUrl}}/products?keywords=insight", + "raw": "{{baseUrl}}/products?keywords=Perseverance", "host": [ "{{baseUrl}}" ], @@ -8809,7 +118,7 @@ "query": [ { "key": "keywords", - "value": "insight" + "value": "Perseverance" } ] } @@ -8817,24 +126,24 @@ "response": [] }, { - "name": "NASA-PDS/pds-api#72", + "name": "NASA-PDS/pds-api#72 search by a temporal range as an ISO-8601 time interval", "event": [ { "listen": "test", "script": { "exec": [ - "pm.test(\"C1274687 Status code is 200\", () => {", + "pm.test(\"C2488851 Status code is 200\", () => {", " pm.response.to.have.status(200);", "});", "", "var data = pm.response.json().data;", "", - "pm.test(\"C1274687 Number of results is 1\", () => {", + "pm.test(\"C2488851 Number of results is 1\", () => {", " pm.expect(data.length).to.equal(1); ", "});", "", - "pm.test(\"C1274687 time found in range\", () => {", - " pm.expect(data[0].start_date_time).to.eql(\"2018-05-05T00:00:00Z\"); ", + "pm.test(\"C2488851 time found in range\", () => {", + " pm.expect(data[0].start_date_time).to.eql(\"2021-03-03T01:36:46.542Z\"); ", "});", "", "" @@ -8847,7 +156,7 @@ "method": "GET", "header": [], "url": { - "raw": "{{baseUrl}}/products?&q=((pds:Time_Coordinates.pds:start_date_time gt \"2018-05-04T00:00:00Z\") and (pds:Time_Coordinates.pds:start_date_time lt \"2018-05-06T00:00:00Z\"))", + "raw": "{{baseUrl}}/products?=&q=((pds:Time_Coordinates.pds:start_date_time gt \"2021-03-03T01:36:00.000Z\") and (pds:Time_Coordinates.pds:start_date_time lt \"2021-03-03T02:36:46.542Z\"))", "host": [ "{{baseUrl}}" ], @@ -8856,12 +165,12 @@ ], "query": [ { - "key": null, + "key": "", "value": "" }, { "key": "q", - "value": "((pds:Time_Coordinates.pds:start_date_time gt \"2018-05-04T00:00:00Z\") and (pds:Time_Coordinates.pds:start_date_time lt \"2018-05-06T00:00:00Z\"))" + "value": "((pds:Time_Coordinates.pds:start_date_time gt \"2021-03-03T01:36:00.000Z\") and (pds:Time_Coordinates.pds:start_date_time lt \"2021-03-03T02:36:46.542Z\"))" } ] } @@ -8869,31 +178,31 @@ "response": [] }, { - "name": "NASA-PDS/registry-api#80", + "name": "NASA-PDS/registry-api#80 select fields in response for lid/lidvid resolution", "event": [ { "listen": "test", "script": { "exec": [ - "pm.test(\"Response takes less than 1s\", () => {", + "pm.test(\"C2488846 Response takes less than 1s\", () => {", " pm.expect(pm.response.responseTime).to.be.below(1000); ", "});", "", - "pm.test(\"Status code is 200\", () => {", + "pm.test(\"C2488846 Status code is 200\", () => {", " pm.response.to.have.status(200);", "});", "", - "pm.test(\"Has lid\", () => {", + "pm.test(\"C2488846 Has lid\", () => {", " const responseJson = pm.response.json();", " pm.expect(responseJson).to.have.property('lid');", "});", "", - "pm.test(\"Has pds:Primary_Result_Summary.pds:purpose\", () => {", + "pm.test(\"C2488846 Has pds:File.pds:file_size\", () => {", " const responseJson = pm.response.json();", - " pm.expect(responseJson).to.have.property('pds:Primary_Result_Summary.pds:purpose');", + " pm.expect(responseJson).to.have.property('pds:File.pds:file_size');", "});", "", - "pm.test(\"Has not ref_lid_instrument\", () => {", + "pm.test(\"C2488846 Has not ref_lid_instrument\", () => {", " const responseJson = pm.response.json();", " pm.expect(responseJson).to.not.have.property('ref_lid_instrument');", "});", @@ -8913,7 +222,7 @@ } ], "url": { - "raw": "{{baseUrl}}/products/:lidvid?fields=lid,pds:Primary_Result_Summary.pds:purpose", + "raw": "{{baseUrl}}/products/:lidvid?fields=lid,pds:File.pds:file_size", "host": [ "{{baseUrl}}" ], @@ -8924,13 +233,13 @@ "query": [ { "key": "fields", - "value": "lid,pds:Primary_Result_Summary.pds:purpose" + "value": "lid,pds:File.pds:file_size" } ], "variable": [ { "key": "lidvid", - "value": "urn:nasa:pds:insight_rad::2.1" + "value": "urn:nasa:pds:mars2020.spice::1.0" } ] } @@ -8938,17 +247,69 @@ "response": [] }, { - "name": "NASA-PDS/registry-api#326 get retrievable product categories", + "name": "NASA-PDS/registry#153 all properties are searchable", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"C2488821 Status code is 200\", () => {", + " pm.response.to.have.status(200);", + "});", + "", + "var data = pm.response.json().data;", + "", + "pm.test(\"C2488821 Number of results is 1\", () => {", + " pm.expect(data.length).to.equal(1); ", + "});", + "", + "pm.test(\"C2488821 checksum value is eb8339b9dc7b6ea1934a3e19bc4ad9b9\", () => {", + " pm.expect(data[0][\"properties\"][\"ops:Label_File_Info.ops:md5_checksum\"][0]).to.eql(\"eb8339b9dc7b6ea1934a3e19bc4ad9b9\"); ", + "});", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/products?q=(ops:Label_File_Info.ops:md5_checksum eq \"eb8339b9dc7b6ea1934a3e19bc4ad9b9\")", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "products" + ], + "query": [ + { + "key": "q", + "value": "(ops:Label_File_Info.ops:md5_checksum eq \"eb8339b9dc7b6ea1934a3e19bc4ad9b9\")" + } + ] + } + }, + "response": [] + } + ] + }, + { + "name": "other tickets", + "item": [ + { + "name": "NASA-PDS/registry-api#326 list product classes", "event": [ { "listen": "test", "script": { "exec": [ - "pm.test(\"Status code is 200\", () => {", + "pm.test(\"C2488845 Status code is 200\", () => {", " pm.response.to.have.status(200);", "});", "", - "pm.test(\"Returns correct values\", () => {", + "pm.test(\"C2488845 Returns correct values\", () => {", " const responseJson = pm.response.json();", " const values = new Set(responseJson);", " const expectedValues = new Set([\"any\",\"bundles\",\"collections\",\"documents\",\"observationals\"]);", @@ -8987,20 +348,20 @@ "listen": "test", "script": { "exec": [ - "pm.test(\"Status code is 200\", () => {", + "pm.test(\"C2488844 Status code is 200\", () => {", " pm.response.to.have.status(200);", "});", "", - "pm.test(\"Response takes less than 100ms\", () => {", + "pm.test(\"C2488844 Response takes less than 100ms\", () => {", " pm.expect(pm.response.responseTime).to.be.below(1000); ", "});", "", - "pm.test(\"Response contains sane number of properties\", () => {", + "pm.test(\"C2488844 Response contains same number of properties\", () => {", " const responseJson = pm.response.json();", - " pm.expect(responseJson.length).to.be.greaterThan(100);", + " pm.expect(responseJson.length).to.be.eql(98);", "});", "", - "pm.test(\"Response property objects follow expected schema\", () => {", + "pm.test(\"C2488844 Response property objects follow expected schema\", () => {", " const responseJson = pm.response.json();", " const expectedKeys = new Set([\"property\", \"type\"]);", " for (const propertyObj of responseJson) {",