-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Describe the bug
It seems that the BCO API requires authentication. This is new behavior - I used to be able to validate BCOs from the command line without being authenticated. When trying to access a BCO through the API (I also have a test script), I get the error message:
Testing URL: https://biocomputeobject.org/BMK_000012/0.1
Status Code: 403
Full response:
{
"message": "User, AnonymousUser, does not have draft permissions for BMK_000012."
}
To Reproduce
Steps to reproduce the behavior:
- Open the Terminal (or any command-line interface)
- Run the command for an existing BCO:
curl https://biocomputeobject.org/BMK_000012/0.1 - See error
{"message":"User, AnonymousUser, does not have draft permissions for BMK_000012."}
Expected behavior
Being able to access BCO through the API without having to authenticate. Alternatively, please provide steps on how to obtain the authentication token for command-line use.