Questions about API methods that add or modify content on Stack Exchange sites. These methods must be invoked via HTTP POST.

learn more… | top users | synonyms

2
votes
1answer
53 views

How do I add newlines when editing a post body via the API?

I am editing the tags of a question via the API, and to do that you have to pass the body and title etc. I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
1
vote
0answers
28 views

A step by step approach for posting questions and answers?

I am trying to learn a step by step approach for posting questions and answers on stackoverflow.com using the Stack Exchange API. Could someone help me with this?
2
votes
1answer
45 views

Why is the API giving a different response for preview true/false with POST requests?

Update This expression will evaluate to show the cause. The only requirement is an emacs with url. As you can see, the result from using curl and that from using the url package is different. ...
1
vote
1answer
52 views

“We are no longer accepting questions from this account.”. Error with write access, using the API

I have created an application for testing write-access APIs. After registration, I can successfully retrieve an access token by hitting the URL: ...
0
votes
1answer
50 views

“access_denied” error in the write answer at stackoverflow [duplicate]

I am providing an application (windows application), This application can search in the stackoverflow and show results. Then User can write answer for that Question or write comment for that, Now my ...
2
votes
1answer
31 views

Syntax for Adding a Question as a Favorite?

I would like to be able to have my application make a request to the Stack Exchange API to favorite a question for the current user. The API specifies that this can be done via: ...
3
votes
0answers
45 views

Allow registrant to use write access without linking Stack Apps post

Especially in light of the Flatiron School using the Stack Exchange API* as a part of a student-created program, it'd be useful if you could use write methods without the required Stack Apps post so ...
3
votes
0answers
44 views

How to quickly retag a question from the API?

I'm playing with the write API, and I'd like to simply retag a question. This is the code I have so far: $editURL = 'https://api.stackexchange.com/2.2/questions/' . $question->{"question_id"} . ...
1
vote
1answer
43 views

Should HTML or Markdown be passed to /questions/{id}/edit?

I'm making an app that supports editing questions. Should HTML or Markdown source be passed to the body parameter of /questions/{id}/edit?
1
vote
1answer
58 views

API support for close actions

Background I would like to create an app for general Stack Overflow browsing to improve upon the UI. One of the things that I am targeting is the lack of certain options in the close dialog. I ...
5
votes
0answers
60 views

Tell us that POST is required to write

While troubleshooting /posts/{id}/comments/add in order to answer Why am I getting a 404 when trying to post a comment?, it was noticed that the API path in question only responded to POST requests. ...
1
vote
1answer
60 views

Any news of more write APIs?

It's been a while since I was last here. Is there any news on further updates to the API? (I'm specifically thinking about adding more write methods.)
0
votes
1answer
80 views

API v2.1 supports write access, but is anyone using it?

Over the weekend, I attended an NHS "Hackday" where we tried to solve a problem one of the junior doctors brought. We hacked together a stack exchange alternative for medical doctors to ask questions. ...
0
votes
1answer
74 views

Write comment API failing with error_id: 500

I am trying to test post comment with the following URL ...
1
vote
1answer
60 views

Posting answers via Stack Exchange API

Can I post answers via an app using the API, is it possible? And if so, what are the limitations; linked with the reputation of users? So if someone has 1 reputation he can also post answers, like a ...
2
votes
2answers
83 views

Once authorized, is there a way to auto-login with a browser?

Assuming I've created an app that authenticates the user against api-v2, is there a method to get a token or cookie that I can pass to a browser instance set to load a stack exchange site that will ...
3
votes
1answer
74 views

When will the API allow posting of questions and answers? [duplicate]

I am planning on building a client for the Stack Exchange Sites, but it seems you cannot post any information via the API yet. Is this going to happen at any time soon? It seems a pain to force users ...
28
votes
1answer
1k views

Announcing API version 1.1 and Roadmap

As has been announced on the blog, we're rolling out a minor revision of our existing read-only API. While the blog post gives some high level details, I figured [app] developers would appreciate ...
13
votes
1answer
290 views

Will the API support the chat system?

Having read through come of the questions on here it's my understanding that v 1.0 of the API is for read-only access to real-time data, pretty much what's available in the data dump. Write support is ...
2
votes
2answers
177 views

Abuse potential in API write-access?

I understand some of the use-cases for write-access in v2 of the API -- primarily to enable full access to StackExchange sites without a web browser. And I'm sure it will be a hit for people who want ...