Implement "PUT /objects/{object_id}" #24
Labels
flag: good 1st issue
Good for newcomers
priority: medium
Medium priority
type: feature
New feature or request
type flag: spec change
Proposed change requires spec changes
workload: hours
Likely takes hours to resolve
Description
Currently, there are only
POST
andDELETE
endpoints for registering/indexing and removing objects, respectively. However, this presents a user from choosing their own identifier during registration and also makes it impossible to update any given object. While DRS objects are generally meant to be permanent, and so updating an object is not required, in some situations, e.g., when registering objects that are inherently temporary, such functionality would be desirable.Proposed solution
PUT /objects/{object_id}
endpoint to the DRS-Filer custom OpenAPI specification here; an example for aPUT
endpoint definition can be found in the TRS-Filer repositoryPOST /objects
so that it supportsPUT
ting objects as well; an example for how the same controller is used for bothPOST
ing andPUT
ting resources can be found in the TRS-Filer repositoryThe text was updated successfully, but these errors were encountered: