Versions Compared

Key

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

...

Code Block
breakoutModewide
languagebash
/usr/bin/curl --fail --silent \
  "https://core.fairandsmart.com/api/organisations/MY_ORG/consents?limit=1000&serial=MY_MODELSERIAL"  \
  -H "accept: application/json" \
  -H "authorization: Bearer ACCESS_TOKEN" \
| /usr/bin/jq -c '.values[] | select( .value | contains("0-1"))' \
| /usr/bin/jq -c '{"userid": (.author)}' \
| /usr/bin/jq -s .    

...