NSLS2 / NSLS2/nsls2api

Add writeable counterpart(s) to GET `/beamline/{name}/service-accounts`

Open
#232 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
0
Forks
13
Avg merge
1h 17m
Merged PRs (30d)
1

Description

Currently there is no endpoint to create or update a Beamline's service accounts. There should be an admin-protected POST (and probably also a PUT) route for /beamline/{name}/service-accounts to create (and update) these resources.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing GET /beamline/{name}/service-accounts route in the nsls2api codebase and review its resource and authentication handling. Define the admin-protected POST behavior, decide whether a PUT route is needed, and verify that creating and updating service-account resources work through the API tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
fastapi, python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.