API share with ids #538
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status quo
Due to unknown reasons API team sharing of entries has been based on team names rather than team ids. One reason might have been the need for another endpoint to fetch the corresponding id for a given team neam.
Enhancement
Since API sharing (or API usage at all) is quite unfrequently used, we could take an approach, where the developers ask beforehand for the needed ids of the teams, they want to share entries with. Ids can be easily extracted from the admin webinterface.
Therefore the team sharing should be extended in a way, that ids as well as team names are supported. Working with ids should be the default from now on.
Merged in #539