BlueBrain / BlueBrain/nexus

Add a fetch endpoint for directories

Open
#4,976 0 comments 0 reactions 0 assignees View on GitHub
delta feature
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

**Motivation**
With #4924, directories can now be created via a link operation and we need an endpoint to fetch it in the same manner as the other entity

**Acceptance criteria**
1. Access permission is performed
2. It is possible to fetch the latest revision, at a given tag or at a given revision
3. Like other entities, proper errors are returned when the revision or the tag does not exist

This section should be about results in domain terms, not implementation details.

**Implementation notes**
Add any technical details which might be helpful here. Which classes will need to change? What things do you need to know about which might not be obvious?

**API changes**
Example request/response if applicable.

**Mockups**
Screenshots or XD export if applicable.

**Not in scope**
1. The X will not be...
2. The Y will be handled separately...

Contributor guide

Open the contributing guide

Research direction

No files, classes, tests, or entry points are named. Start by comparing existing entity fetch endpoints and the directory link operation from #4924; done means permission checks work, latest/tag/revision fetches work, and missing tags or revisions return the established errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.