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

Add more endpoints to APILayoutStrategy #1335

Merged
merged 11 commits into from
May 3, 2024

Conversation

thomas-maschler
Copy link
Contributor

Related Issue(s):

  • NA

Description:

Update the API Layout Strategy to optionally allow users to provide only the StacObject ID instead of the full object.
Add new methods to generate hrefs for API-specific endpoints such as items, collections, search, conformance etc.
Update documentation and link APILayoutStrategy in API Reference page.

PR Checklist:

  • pre-commit hooks pass locally
  • Tests pass (run scripts/test)
  • Documentation has been updated to reflect changes, if applicable
  • This PR maintains or improves overall codebase code coverage.
  • Changes are added to the CHANGELOG. See the docs for information about adding to the changelog.

docs/conf.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Apr 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.22%. Comparing base (1f0409a) to head (1772a95).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1335      +/-   ##
==========================================
+ Coverage   91.20%   91.22%   +0.02%     
==========================================
  Files          51       51              
  Lines        7024     7043      +19     
  Branches     1005     1008       +3     
==========================================
+ Hits         6406     6425      +19     
  Misses        443      443              
  Partials      175      175              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

CHANGELOG.md Show resolved Hide resolved
@gadomski gadomski added this pull request to the merge queue May 3, 2024
Merged via the queue into stac-utils:main with commit 3432392 May 3, 2024
24 checks passed
@gadomski gadomski mentioned this pull request May 3, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants