Skip to content

Create endpoints for ARO user #361

@Yarik-Popov

Description

@Yarik-Popov

Background

We want a way for the ARO frontend to get and update information about the current user. This task is to implement this feature

Requirements

Create the endpoints for /api/v1/aro/endpoints/aro_user.py

Post/

Creates a new user based on the first name, email, call sign, phone number, optionally email. Returns the data sent along with the user's id.

Get /

Gets the current user’s info. See the db schema for information on what data to be sent back. Return the data under the data field.

Put /

Modifies the current user’s info based on the payload. Check the db schema for data that can be modified. The user can’t change their email address or password using this method. User can't modify ID

Return the new user’s info under the data field. So basically you will have to reuse the logic that was in get /

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions