New answers tagged

1

The /search/excerpts method supports searching by tag and returns the excerpts you're looking for:


1

It's not explicitly mentioned in the documentation (perhaps because it uses the term URI, and says it must be 'under' a domain), but for the redirect URI I always use a 'full' address, including the scheme. E.g. https://example.github.io/example-repository/; could you give that a try? URL encoding the URI isn't necessary; forward slashes are allowed in the ...


1

When using the API to add/edit posts or comments, you need to ensure the preview parameter is set to false, otherwise it's just a 'test' request which does nothing (but allows you to test if the response parsing on your side works correctly). Just like writing content on the site itself, the body needs to be in Markdown. If you set preview to false, you'll ...


0

They're not announced via a dedicated channel, perhaps because there haven't been too much changes in years. Version 2.2 has been the latest stable release and while there is a newer 2.3 version to support the official mobile apps, it hasn't been released and probably never will be since the apps are deprecated. We regularly discuss the API on Meta Stack ...


0

You'll need an API token with write access, which is only available for registered Stack Apps. You might be able to use this very question to obtain a key for your application, or post another placeholder question. The /answers/{id}/edit method is the one you're looking for. It's a POST call; the id parameter needs to be in the URL, the other ones as ...


1

Can we get the list of data when clicking on the specific question and display the question detail page like the Stack Exchange app? Sure: use the /questions/{ids} method and apply the appropriate filter. The default filter doesn't return answers, comments or post contents, so you have to check a few checkboxes, e.g. answer → body, answer → ...


Top 50 recent answers are included