api September 4, 2012

Stack Exchange API V2.1

There’s been a low-key beta of the latest Stack Exchange API revision, V2.1, under way for the last month or so.  I’m happy to announce that it’s official, API V2.1 is public, frozen, and out the door. What’s new in this release? Full Reputation History Notifications Tab Improved Search User Merge history Oh, and our…
Avatar for Kevin Montrose
Team Lead, Data - Former

There’s been a low-key beta of the latest Stack Exchange API revision, V2.1, under way for the last month or so.  I’m happy to announce that it’s official, API V2.1 is public, frozen, and out the door.

What’s new in this release?

  • Full Reputation History
  • Notifications Tab
  • Improved Search
  • User Merge history

Oh, and our first set of write methods.

It’s now possible to create, edit, and delete comments via the Stack Exchange API

We’re starting small, with the least important of our content, to safeguard the quality of our content.

Comments created with the API show which app created them when you hover over them, like so:

The link shown will take you to an app’s Stack Apps post, letting you find new apps right from your favorite sites (as well as report malicious ones easily).

The following restrictions apply to the write comment methods:

  • Your app must have an undeleted Stack Apps post
  • Your app_ _must be authorized by a user to perform write operations
  • The authenticated user must have the comment everywhere privilege
  • A user’s daily quota of write operations increases with reputation

So head on over to the documentation and

Get Started

Podcast logo The Stack Overflow Podcast is a weekly conversation about working in software development, learning to code, and the art and culture of computer programming.

Related

code-for-a-living June 20, 2022

What Apple’s WWDC 2022 means for developers

Improvements to SwiftUI, new weather SDK, better machine learning tools, and more.
code-for-a-living April 11, 2022

The complete guide to protecting your APIs with OAuth2 (part 1)

OAuth2 is one of the most popular specifications for API authentication today, though wrapping your head around it can be a challenge.
community June 14, 2022

WSO2 joins Collectives™ on Stack Overflow

From inception, WSO2 had a firm belief in the power of open-source software. Its co-founders were early members of the Apache foundation, and their vision for WSO2 always incorporated the innovation and commitment of a global developer community. Over a decade ago, WSO2 helped to popularize the use of open source in the enterprise and…
code-for-a-living April 14, 2022

The Authorization Code grant (in excruciating detail) Part 2 of 2

Previously, I examined OAuth at a high level, including the standards and the grants outlined in the specifications. If you haven’t you may want to read that article. In this post, you’ll learn the nuts and bolts of integrating OAuth to protect resources like APIs. While there are a number of different ways to do…