hypothesis / hypothesis/h-api

While creating a new annotation permissions are not set correctly

Open
#9 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Using endpoint https://h.readthedocs.io/en/latest/api-reference/v1/#tag/annotations I want to create a new annotation.
I'm using API key as Bearer Token.
Request body looks like this:
Screen Shot 2021-05-11 at 10 43 07

Response data of registered annotation looks like this:
Screen Shot 2021-05-11 at 10 44 17

Permissions from response looks like this:
Screen Shot 2021-05-11 at 10 33 50

I want that annotation should be available for anyone, but instead it's private. Setting permissions explicitly in request body does not work.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.