Endpoint to support add accept command

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
api, cli

Research direction

Start by reading feature request #18 and tracing the existing classroom CLI commands that use an instructor token. Identify the current classroom and assignment endpoints, then define the student-authenticated GET/PUT behavior and verify that students can access only the classrooms and assignments available to them.

Written by the indexing model from the issue text.

Description

api-request

Proposed endpoint

Add the necessary get/put endpoints to support feature request #18 in the cli. This would be from the students perspective not the instructors. Currently all commands in the classroom cli return information using the instructors token.

For this to work for a student, this endpoint would need to return all the classrooms and assignments that a student can access with their own auth token.

Justification

This will be used to implement #18 and make classrooms usable without a student having to use a browser. Lots of schools provide ssh access to local clusters that don't support x11 forwarding so we need tools that are 100% cli to help foster adoption :)

Dominant language
Go
Stars
126
Forks
21
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from github/gh-classroom

All issues in github/gh-classroom

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.