Watson Workspace will no longer be available after February 28, 2019. Learn more.

Developers

API for REST to graphql endpoint doc is wrong

Comments

3 comments

  • Official comment
    Avatar
    Luis Benitez

    This has been fixed now. Thanks for reporting it. 

  • Avatar
    CARLOS MANIAS

    You're right Bernd, there's an inconsistency between the docs and the current actual behaviour of the API.

    - It currently only accepts jwt: <token> header

    - It will soon also accept Authentication: Bearer <token>

    - We will then deprecate jwt header and eventually remove it.

     

     

    Since Authentication: Bearer is the header we want to support going forward I think the best approach would be to try to expedite enabling support for that header rather than temporarily changing the documentation.

     

    Thanks for bringing this up!

  • Avatar
    Christian Guedemann

    Thanks for the response Carlos. Can you give us a heads up when you have implemented the change. At this point we have to change the JaveSDK, that we are building (see here --> https://github.com/OpenCode4Workspace/Watson-Work-Services-Java-SDK)

Please sign in to leave a comment.