google / google/deps.dev

`:capabilities` endpoint returns 404 for valid Go packages

Open
#266 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
443
Forks
54
Avg merge
1d 22h
Merged PRs (30d)
3

Description

While testing the `v3alpha` API as part of GUAC integration https://github.com/guacsec/guac/issues/2047 , I noticed the `:capabilities` endpoint returns 404 for valid Go packages and versions even though other endpoints like `:dependents` work fine.

### Example

```bash
# This works
curl 'https://api.deps.dev/v3alpha/systems/go/packages/github.com%2Fguacsec%2Fguac/versions/v1.0.0:dependents'

# This returns 404
curl 'https://api.deps.dev/v3alpha/systems/go/packages/github.com%2Fguacsec%2Fguac/versions/v1.0.0:capabilities'
```
Also tested with github.com/antlabs/deepcopy. The website shows Capabilities under the analysis tab for the same modules, it's just not available via the API.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.