Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Journals search endpoint no longer respecting content=false. #35

Open
zomglings opened this issue Jan 14, 2022 · 0 comments
Open

Journals search endpoint no longer respecting content=false. #35

zomglings opened this issue Jan 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@zomglings
Copy link
Member

$ time curl -H "Authorization: Bearer $BUGOUT_ACCESS_TOKEN" "https://spire.bugout.dev/journals/cf5c627f-ad54-4728-b9c9-9b890c13dbcc/search?q=tag:token_id:1&content=false" | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1149  100  1149    0     0   1584      0 --:--:-- --:--:-- --:--:--  1582
{
  "total_results": 1,
  "offset": 0,
  "next_offset": null,
  "max_score": 1,
  "results": [
    {
      "entry_url": "http://spire.bugout.dev/journals/cf5c627f-ad54-4728-b9c9-9b890c13dbcc/entries/c25f00ac-3f5b-42e0-a152-df34f6671bde",
      "content_url": "http://spire.bugout.dev/journals/cf5c627f-ad54-4728-b9c9-9b890c13dbcc/entries/c25f00ac-3f5b-42e0-a152-df34f6671bde/content",
      "title": "Bonnie Armando, token_id: 1",
      "content": "{\"token_id\": 1, \"metadata_url\": \"https://arweave.net/ToCvs8q3zlRK5sx_GGBcmNuYq1ipZm6w_ReAOy3umK8/1/metadata.json\", \"image_url\": \"https://arweave.net/ScDOvX1I7tC7DqHgxoXkYQWWKCpPB5J9g9AYOcRSd98/1/incubator.png\", \"name\": \"Bonnie Armando\", \"metadata_version\": 1, \"attributes\": {\"Class\": \"Moon\", \"Lifecycle\": \"Egg\", \"Origin\": 1}, \"owner\": \"0x0d3D6aA033652358Bb55f798690b5B8f17591133\"}",
      "tags": [
        "Lifecycle:Egg",
        "owner: 0x0d3D6aA033652358Bb55f798690b5B8f17591133",
        "metadata_version: 1",
        "token_id:1",
        "Mythic:-",
        "Class:Moon"
      ],
      "created_at": "2021-11-30 16:22:47.923752+00:00",
      "updated_at": "2021-12-01 12:25:04.429137+00:00",
      "score": 1,
      "context_type": "humbug",
      "context_id": "bf7ba2d7-2dcc-44aa-9cd6-3ab52dfe8d50",
      "context_url": null
    }
  ]
}
@zomglings zomglings added the bug Something isn't working label Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant