Questions tagged [api-v2]

This tag is for questions about the Stack Exchange API version 2. First released Feb 2012.

Filter by
Sorted by
Tagged with
1 vote
0 answers
62 views

Has someone implemented code(in javascript) to get last seven days consolidated reputation thorough API?

I am trying to get user's reputation for last seven days. I want to get total reputation user has earned on specific day. Has someone implemented a way to do this in javascript? I know I can do this ...
Nikhil N's user avatar
  • 111
1 vote
0 answers
229 views

/oauth/access_token not redirecting back to my redirect_uri

I am trying to implement Stack Exchange using oAuth 2.0. I am able to get CODE but, when I try to get access_token through this code: <?php if(isset($_GET['code'])) { ?> <form method="...
Amit Parmar's user avatar
1 vote
0 answers
25 views

Why are Meta sites' "site_state" = "linked_meta"?

In 2.0 there are the site_type and site_state fields. On Meta sites these fields give the same information, site_type = meta_site and site_state = linked_meta Instead it would be more useful if ...
Jonathan.'s user avatar
  • 3,128
1 vote
1 answer
38 views

API 2.0 is not returning Programmers in list of sites

Run https://api.stackexchange.com/2.0/sites. programmers.stackexchange.com is not in the response.
Adam's user avatar
  • 809
1 vote
1 answer
67 views

Site_Type returns "main_site" for meta.stackoverflow.com

For Meta Stack Overflow, the 2.0/sites endpoint returns "main_site" rather than "meta_site". All other site_type for other stackexchange sites return correctly. URL: https://api.stackexchange.com/2.0/...
Crashthatch's user avatar
1 vote
1 answer
45 views

Add last_access_date field to the shallow_user object

Would it be possible to add the last_access_date field to the shallow_user object? I presume this corresponds to the seen field when visiting someone's profile. My reasoning is that it saves the ...
Marvin Pinto's user avatar
1 vote
1 answer
48 views

Failed beta sites are showing up in the /sites method.

3D Graphics and Game of Go are both failed beta sites. I would not expect them to show up in the /sites list - but they do. Indeed, attempting to list questions on one of the sites fails: http://...
Nathan Osman's user avatar
  • 23.3k
1 vote
0 answers
31 views

Auth dialog improvements (who's logged in, etc)

The auth dialog (client side) could do with a bit of improvement. Specifically, showing the currently logged in user, and a link saying "not you?". Facebook does this and allows you log in as someone ...
Jonathan.'s user avatar
  • 3,128
1 vote
0 answers
41 views

Removing StackExchange dropdown and mobile version of auth dialog

Would it be possible to remove the StackExchange drop down (hot questions, sites, inbox) from the Auth dialog? Typically when displaying dialog, you don't want the user to start browsing questions ...
Jonathan.'s user avatar
  • 3,128
1 vote
1 answer
37 views

What are the paging parameters to the info method used for?

As far as I can tell, there can only be one info object returned from the info method, so why does the method take page and page_size?
lfoust's user avatar
  • 6,075
1 vote
1 answer
51 views

Policy on shipping working examples that use the explicit authentication flow in an SDK?

I'd like to ship a working example of using the explicit authentication flow in Stack.PHP. I have no trouble embedding the API key and app ID in the example. The problem lies in embedding the client ...
Nathan Osman's user avatar
  • 23.3k
0 votes
1 answer
65 views

Are the "body", "comments" and "answers" parameters supported in the API version 2.x?

Earlier with version 1.x, the parameters: body, comments and answers etc. were available. But these don't seem to be supported with API version 2.x. Are these parameters not supported in new API? Are ...
Sanjiv's user avatar
  • 325
0 votes
1 answer
87 views

Searching answers with API

I'm very new to the API and I was looking for a way to get answers of a user. E.g. something like if you click on a tag in your tags section of your profile. For questions this seems to be quiet easy ...
rekire's user avatar
  • 185
0 votes
1 answer
72 views

Add message ID to inbox items

Feature request: The inbox item object should include a message_id field. The ID should identify inbox messages uniquely within StackExchange.
Adam's user avatar
  • 809
0 votes
1 answer
60 views

Is there any API to support creating a new question on stackoverflow? [duplicate]

I know there is api for stackoverflow. It looks like the APIs are read-only, supporting the Get/Search operation. Is there any API to support creating a new question on stackoverflow?
iamsyt's user avatar
  • 3
0 votes
1 answer
594 views

400 Error when attempting to retrieve authenticated user data

I am attempting to use the /me API to retrieve an authenticated user's details but I am receiving a 400 error. I am able to complete the OAuth2 dance and have been able to capture the access token ...
rhinds's user avatar
  • 101
0 votes
1 answer
64 views

2.0 tags API returns only created tags

Searching for tags, using the inname parameter AND a date range returns only the tags that were created in that period, not the tags that were used in that period. When searching by inname only, or ...
Kevin's user avatar
  • 101
0 votes
1 answer
49 views

Support for OR constraint when querying questions based on tags [duplicate]

Right now, there is no way (as far as I know) to query for questions based on multiple tags using an OR constraint. You can query for questions tagged with multiple of these tags, but not with one or ...
tolgap's user avatar
  • 103
0 votes
1 answer
381 views

Serel returns a JSON Parse error for the 'C#' tag

When I try requesting the tag c# via Serel, I get an error. This is the error I am getting: INFO][2013-02-25 02:06:42] Making request to /2.0/tags/c#/info?site=stackoverflow&key=mykey JSON::...
marcamillion's user avatar
0 votes
1 answer
25 views

Relevance value on /similar route

Given that the /similar method can be sorted by relevance there must be a numeric rank for each question. Would it be possible to have access to the value? Off by default, but can be enabled by using ...
Jonathan.'s user avatar
  • 3,128
0 votes
1 answer
36 views

Why does badges/ids/recipients return badges not users?

I can't understand why badges/{ids}/recipients returns badges and not users? You must pass the badge ID in, so it should be given that you already know what the badge is. If it returns 30 objects you ...
Jonathan.'s user avatar
  • 3,128
0 votes
1 answer
60 views

How do I get a filter to let through the fields I specify?

I've created a filter based on the "none" filter with include fields for all those I will need for my application. While the filter I created looks fine to me, it doesn't appear to return any results ...
patridge's user avatar
  • 435
0 votes
1 answer
65 views

Removing/disallowing app does nothing

I have just deleted/disallowed, the console app and the app I'm currently writing. For the console the access token I was using before deleting the app carried on working, and when I got a new token, ...
Jonathan.'s user avatar
  • 3,128
0 votes
1 answer
35 views

Error when requesting the last page of results.

When I try to view the following URL: http://api.stackexchange.com/2.0/questions?page=93781&site=stackoverflow I get the error: { "error_id": 500, "error_name": "internal_error", "...
Nathan Osman's user avatar
  • 23.3k
0 votes
1 answer
76 views

Security certificate error when logging in with myOpenID

I have written an application that embeds the WebKit rendering engine (the same rendering engine used in Safari and Chrome). This application makes use of the /inbox route and therefore requires the ...
Nathan Osman's user avatar
  • 23.3k
-4 votes
1 answer
114 views

I Cannot Perform Oauth [closed]

My Clientn id = 4784 and Key = cB0l6XiaOW5l5vsBnBeIUg((. What do I do for Oauth and to get an access token?
SOURABH DOLIYA's user avatar

1 2 3 4
5