Skip to main content

Questions tagged [write-access]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
225 views

Error calling Stack Overflow Teams API using Python requests library

I'm trying to call a PUT/DELETE request using the Stack Overflow Teams API in Python, but I'm encountering errors. As an FYI, I have a working PAT that allows me to make get requests for articles and ...
0 votes
0 answers
57 views

Placeholder - Question for getting access token with write access

I created this question to get an access token with write access.
1 vote
1 answer
173 views

How to apply an access token in order to scrape the recommended answers?

I'm trying to scrape some data which needs the access token, and I received 'Applications must have a registered Stack Apps post to write' Does that mean I need to post a question on Stack Exchange ...
0 votes
1 answer
107 views

PLACEHOLDER - Sync markdown content from GitHub repo to answers in a Stack Overflow Teams community

I think this Stack Apps post is required to gain write access to the API.
0 votes
1 answer
126 views

Write comment API failing with error_id: 500

I am trying to test post comment with the following URL https://api.stackexchange.com/2.1/posts/10305691/comments/add?key=HIDDEN&access_token=HIDDEN&site=stackoverflow&preview=true&...
2 votes
1 answer
271 views

What write in app access for sending data

Here is my app's code: However, I get this error:
30 votes
1 answer
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 some ...
2 votes
1 answer
106 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 ...
3 votes
0 answers
149 views

How to get write_access to comment/answer on Stack Exchange

I'm trying to integrate the Stack Exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and ...
6 votes
1 answer
131 views

Does a closed and/or deleted Stack Apps post still provide access to the API?

Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API. What happens if the question is closed because of ...
2 votes
1 answer
106 views

App post got deleted

I'm currently writing an app using the Stack Exchange API. Today I wanted to rework the login component, but after signing in I get the following message: Application must have a registered Stack ...
3 votes
1 answer
270 views

PLACEHOLDER - How to get write_access to comment/answer on Stack Exchange

I'm trying to integrate the Stack Exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and ...
2 votes
1 answer
77 views

What happened to the links to a Stack App mentioned in the documentation about write access?

The documentation about write access states: The application responsible for creating content via the API may be indicated with a link to an app's Stack Apps post. The exact manner of display is ...
4 votes
0 answers
104 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
0 answers
120 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?
1 vote
1 answer
58 views

Can I pass a filter to a write method?

I was wondering if I'm allowed to pass a filter to methods that use write access? Like for example /answers/{id}/accept. There is no "filter" parameter, and changing the filter doesn't seem to change ...
10 votes
0 answers
277 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. ...
3 votes
1 answer
134 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 ...
3 votes
1 answer
572 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. ...
0 votes
1 answer
127 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. ...
2 votes
1 answer
109 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: https://stackexchange.com/oauth/dialog?client_id=3973&...
2 votes
1 answer
340 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 ...
4 votes
1 answer
66 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: /2.2/questions/{id}/...
4 votes
1 answer
98 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 ...
2 votes
1 answer
79 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.)
4 votes
0 answers
101 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 ...
2 votes
1 answer
72 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
1 answer
77 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
2 answers
140 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 ...
24 votes
1 answer
402 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
2 answers
233 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 ...