Can't access character list through API

greg_althaus's Avatar


20 Feb, 2016 07:05 PM

I do an api call to get the campaign and I see the characters, but when I try to get a specific character or wiki page through the campaigns url, I get can't find campaigns, even though I can get that campaign.

CAMP_ID = 2003bb20776111e093d540403656340d
returns json blob about campaign.

returns 404 - campaign is not found.

This also fails:

I think wiki pages are returning the same error, but not sure.

This seems to have happened in that last 2 months.

  1. 1 Posted by AaSampson on 22 Feb, 2016 07:11 PM

    AaSampson's Avatar

    Roping in a superuser for more information.

  2. 2 Posted by ChainsawXIV on 22 Feb, 2016 07:16 PM

    ChainsawXIV's Avatar

    The API is one technical area where I have zero expertise, unfortunately. This will probably need to get kicked up to the tech guys.

  3. 3 Posted by AaSampson on 22 Feb, 2016 07:50 PM

    AaSampson's Avatar

    Thanks chainsaw.

    @Greg, I'll run this by tech and get back to you by the end of the week Greg. Sorry for the wait and thank you for your patience.

  4. 4 Posted by greg_althaus on 23 Feb, 2016 02:22 PM

    greg_althaus's Avatar

    No problem. Thanks for the effort and work.

  5. 5 Posted by greg_althaus on 23 Feb, 2016 02:24 PM

    greg_althaus's Avatar

    One of my players noted that the campaign now has a different sorted view of the characters. I wonder if that change messed up some API calls.

  6. 6 Posted by greg_althaus on 05 Mar, 2016 11:35 PM

    greg_althaus's Avatar

    Any word?

  7. 7 Posted by AaSampson on 06 Mar, 2016 06:35 PM

    AaSampson's Avatar

    Hi Greg. I'm still waiting on an answer I'm sorry to say. I'll send another reminder and I really appreciate your patience on this issue. Please reach out to me anytime.

  8. 8 Posted by greg_althaus on 04 Apr, 2016 04:12 PM

    greg_althaus's Avatar

    Anything? Is there source code somewhere I can look at? :-)

  9. Support Staff 9 Posted by OPSupport on 07 Apr, 2016 04:02 AM

    OPSupport's Avatar

    Hi Greg,

    Could you provide the end-to-end scenario you were using the API for? That would help us greatly. There is currently some internal discussion as to what level of support we can extend around the existing legacy API moving forward.

  10. 10 Posted by greg_althaus on 08 Apr, 2016 02:52 PM

    greg_althaus's Avatar

    Is there a new API?

    I found that the UI extensions where not useful for what I wanted to do. I wrote my own character sheet single page app for our campaign. I use the API to get lists of characters and then use the wiki and blob sections (the blog write didn't work well) to store my data. I also display some fields from the character and player sections. I also update the character comments to have a link to the UI view of the character.

  11. Support Staff 11 Posted by OPSupport on 09 Apr, 2016 03:15 AM

    OPSupport's Avatar

    Hi Greg,

    Is it possible that you provide a link to the SPA / website itself for the character app so we can get a live repro?

    OP Support

  12. 12 Posted by greg_althaus on 11 Apr, 2016 12:25 AM

    greg_althaus's Avatar

    This should generate a list of characters from our Resolute campaign. It returns empty or errors and I don't error check as well as I should.

    This should render one of the characters. It seems to now kinda work a little. It uses two pieces of data (at least). THe first is the character data from the character itself. This is the empty view you see. It also retrieves a base64 encode compressed json blob from the wiki page section of the campaign associated with the character. This is because the raw blob in the character object would never work for me. Anyway, this blob holds most of the character data. You can see it in ledger. It is the nuts and bolts of the WWW_d20 system we are using. It appears to be readable now, but I can't save to it. I think the save failure is because I try and update the character info section with the latest link to this page.

  13. 13 Posted by OPSupport on 12 Apr, 2016 12:15 AM

    OPSupport's Avatar

    Hi Greg,

    Thank you. This helps. I will escalate to the development team, as I know they are currently working to better understand the future direction of the existing API.

    OP Support

Discussions are closed to public comments.
If you need help with Obsidian Portal please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac