Kinto / Kinto/kinto

Rename object id

Open
#903 7 comments 0 reactions 0 assignees View on GitHub
enhancement protocol stale
Dominant language
Python
Stars
4.4k
Forks
437
Avg merge
1d 2h
Merged PRs (30d)
15

Description

Suggested by @n1k0

Example:

```
echo '{"data": {"id":"tutu"}}' | http PUT :8888/v1/buckets/test --auth user:pass
```

Rename object id specified in URI using the id from the body payload.

Todo:

- rename `id` column
- rename `parent_id`
- change permissions object URI

Thoughts ?

Contributor guide

Open the contributing guide

Research direction

Reproduce the PUT example against the bucket API, then trace how the URI id and body id are handled. Review the id and parent_id columns and the permissions object URI; done means the requested rename behavior and all listed references are consistently updated.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.