Skip to content

Make return value for create/update API calls more consistent #1724

@tw4l

Description

@tw4l

In some resource creation API endpoints we return the id for the object created, in others we don't. This could use a consistency pass.

@SuaYoo suggested returning the entire created object under a data key, which seems like a good idea to me!

@emma-sg suggested doing the same for PATCH requests so that we don't need to make follow-up requests from the frontend

Metadata

Metadata

Assignees

Labels

back endRequires back end dev workfront endRequires front end dev work

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions