Skip to content

Commit

Permalink
search on observational products in cookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas loubrieu committed Jan 31, 2023
1 parent 8ff2eff commit e6bf631
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/source/guides/search/cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Search for all Observational Products targeting Bennu:
:caption: curl command
:substitutions:
curl --get 'https://pds.nasa.gov/api/search/|search_user_guide_api_version|/classes/collections' \
curl --get 'https://pds.nasa.gov/api/search/|search_user_guide_api_version|/classes/observationals' \
--data-urlencode 'q=(ref_lid_target eq "urn:nasa:pds:context:target:asteroid.101955_bennu")'
Expand All @@ -101,7 +101,10 @@ Search all products which are referring to a given LID:
--data-urlencode 'limit=200' \
--data-urlencode 'q=((pds:Internal_Reference.pds:lid_reference eq "urn:nasa:pds:context:investigation:mission.orex") or (pds:Internal_Reference.pds:lid_reference like "urn:nasa:pds:context:investigation:mission.orex::*"))' | json_pp
----
Search only observational products
----------------------------------

Search observational products which target is

Search for DOIs
===============
Expand Down

0 comments on commit e6bf631

Please sign in to comment.