Note that the build URL for snap revisions is already available at the "snap revisions" endpoint of the developer API[0] - but it needs authentication and permission to view the snap. E.g.:
surl -s production -e <email address hidden> https://dashboard.snapcraft.io/api/v2/snaps/the-snap-name/revisions/1234
Exposing the build URL on public API endpoints, otoh, will first require extending the ACL checks for the search/info API endpoints.
[0] https://dashboard.snapcraft.io/docs/v2/en/snaps.html#snap-revisions
Note that the build URL for snap revisions is already available at the "snap revisions" endpoint of the developer API[0] - but it needs authentication and permission to view the snap.
E.g.:
surl -s production -e <email address hidden> https:/ /dashboard. snapcraft. io/api/ v2/snaps/ the-snap- name/revisions/ 1234
Exposing the build URL on public API endpoints, otoh, will first require extending the ACL checks for the search/info API endpoints.
[0] https:/ /dashboard. snapcraft. io/docs/ v2/en/snaps. html#snap- revisions