#3337 Add a new /-whoami API endpoint
Merged by pingou. Opened by pingou.
api_whoami  into  master

Download 3337.patch

Fixes https://pagure.io/pagure/issue/3327

Is the dash in the URL to avoid collision with a project name?

@pingou Why not use /-/<action> for APIs? It's not possible for projects to be named just -.

Is the dash in the URL to avoid collision with a project name?

Yes :)

Why not use /-/<action> for APIs? It's not possible for projects to be named just -.

Good idea, I'll do that and it'll allow us to port some of the existing endpoints to that namespace as well (like the version endpoint, which exists and isn't black-listed...)

rebased onto 668a626039041a73c27425f9a456b76fb2cf4ce1

rebased onto e59df4e9a55c07d41dbb9cad34ef875a05b007e6

Pretty please pagure-ci rebuild

rebased onto 72b266f80111436d3b837e01a58c417875570a31

rebased onto 6cb865f18a40be81b32de013f8022a26769ae260

rebased onto 0d95043a3df5a654cf97a5318f738fbdd806cb7b

Pretty please pagure-ci rebuild

rebased onto c3564974a5f016bcb9af7f6af02b7168d609e447

rebased onto 56f3a7429a63a3b2106a1dc9fb93df4697a1e8a2

Pretty please pagure-ci rebuild

rebased onto 08bc4d632c899917f1640f0bfa8a01278f85eff9

rebased onto 02d9b10ea07d9061eb99a852a6244090186ef37d

Do you have ETA when It could be merged?

Once it's reviewed?

:thumbsup:

rebased onto fc8b3f132c5629f95df8d865f47961b2775277cd

Pretty please pagure-ci rebuild

Pull-Request has been merged by pingou

Metadata