Important: API Update!

Printer Friendly Version Attach Files

wdavatar?user=leiger
leiger
11 Mar 2011 14:12. Edited 2 times. (Edit, Permalink)

Wikidot has made some changes to the Wikidot API that will temporarily make STE stop working - because all API keys have been reset. To fix this issue, you simply need to retrieve your new API key and then enter it into STE's settings dialog again.

Steps:

  1. Go to My account > Settings
  2. Click on "API access"
  3. Copy either your read-only or read-write key and paste it into STE's settings dialog

Note: Pro users no longer need to request a key!
"From now on all ProLite, Pro and Pro+ users have access to the API keys. [If] you don't have a paid account but still want to try the API, please request it [here]." — Gabrys, Wikidot.com Team

In terms of what you can do with STE, here is the difference:

API key type Import Export Preview Rename pages
Read-Only key Yes No No No
Read-Write key Yes Yes Yes Yes

If you do not enter your API key into STE, by default the application uses a bot account instead. This bot account is currently not working due to these changes, but will be fixed soon!

Note: You must be a site member!
As a result of this change, you can no longer use the API to access any public site. From this point onwards, you must be a member of the site, otherwise you will be given an "Unauthorized" message when you attempt to import or export.

Website owners

Site administrators will also need to activate API access on a site-by-site basis! Therefore not only do you need to change your key, but if you are the administrator of a website that you want to enable API access for, you will need to set this up as well.

Steps:

  1. Go to the admin:manage page for your Wikidot site
  2. Choose "API access"
  3. Tick the box labelled "Enable API access to this site"
  4. Choose your permissions (read or write, for both members and site administrators)
    • For example, you might give members read-only access but give admins write access
  5. Don't forget to click the "Save" button!

Questions

A lot of things have changed with the API today, so if you have any questions regarding this or need some help getting things set up how you'd like them to be, please post a question on this page and we'll be happy to help! ;-)

Included page "inc:signature" does not exist (create it now)

wdavatar?user=robelliott
RobElliott

11 Mar 2011 20:21. Edited 2 times. (Edit, Permalink)
I just "Access Forbidden" every time I try to use STE now with any site, both with the read and the read-write API. Seriously not happy. I was being a numpty. You have to enable API for each site. Lesson to self: read the instructions.

Included page "inc:signature" does not exist (create it now)

wdavatar?user=leiger
leiger

11 Mar 2011 23:38. Edited 0 times. (Edit, Permalink)
Yes, there's a few extra steps involved now. Not sure if it's necessarily the best way to do it (I would argue that master admins should have access by default), but the end result is more control for admins and users — and that is a good thing! ;-)

Included page "inc:signature" does not exist (create it now)

Post Reply

Add reply on "Important: API Update!"

Printer Friendly Version Attach Files

CSS Theme, Images and Code on this website are © Shane Smith 2010-2012. All forum posts by users and documentation licensed under Creative Commons BY-NC-SA 3.0 License.