There is /revisions API described here https://www.dropbox.com/developers/core/docs#revisions.
rev_limit Default is 10. Max is 1,000. When listing a file, the service won't report listings containing more than the amount specified and will instead respond with a 406 (Not Acceptable) status response.
Does it mean that if I will update file on my dropbox more than 1000 times then I wont be able to get any revision history of this file using DropBox Core API?
If there is a limit of 1000 revisions why this api wont just return LAST 1000 revisions instead of returning NOTHING when there is more than 1000 revisions??
In actuality, this endpoint will returned the most recent n revisions, up to rev_limit. I'm updating the documentation to match.
Related
I'm getting inconsistency with getting filenames using this api call https://api.github.com/search/code?q=org:Org name +filename. I am able to get filenames of what I'm looking for but the files being returned are inconsistent. For example, there are 3 file names I'm looking for called xyz.yml. Sometimes the GitHub API returns 1 and sometimes it returns 3. The amount of files get returned varies. Is this a GitHub API issue and why is it doing this?
All,
I am trying to pull all data from successfactors using oData API but it give only 1000 rows at a time
How to pull all the data at a time?
Thanks
The OData API can return a maximum number of 1000 records in a single page.
To get the next page of your dataset, you have to call the __next API (which carries a skip token) from previous response. Repeat this action until you get all data via API.
I am trying to retrieve a list of all the files included in a pull request.
The Github API documentation in the following URL - https://developer.github.com/v3/pulls/#list-pull-requests-files mentions that it can retrieve a maximum of 300 files. However, when i run the request from Advanced Rest Client, i get a list of only 30 files.
Is there any way i could retrieve a list of all the files included in the pull request?
Github API paginates data in sets of 30 or 100 (depending on what you are requesting). You could consider increasing the per_page count to a higher value or just traverse through the pages. Ref: Github Pagination
I need to retrieve how many branches there are in a specified repository. If I call this
GET /repos/:owner/:repo/branches
I get the first 30, but I want them all
How do I tell the API to return everything? Or at least specify a different count to 30
The answer is to pass
?per_page=100&page=1
in the URL. 100 records at a time is the maximum.
https://developer.github.com/v3/#pagination
Is there any restriction on the number of entries that are retrieved using a single call to the Network Updates API? I found this forum comment "The per-user limit is per call, so 300 requests with however many updates they have." on the thread
http://developer.linkedin.com/forum/increase-search-api-throttle-limit
I want to confirm that indeed there is no limit. I have received as many as 106 entries in a single call.
Thanks in advance.
The maximum number of updates returned from the Network Updates API appears to be 250. Performing the following query as an example:
http://api.linkedin.com/v1/people/~/network/updates?count=500
Even if I try to specify the start parameter at, say, 250, I can't get the next 250 updates from the API:
http://api.linkedin.com/v1/people/~/network/updates?count=250&start=250
So it looks like 250 is the max, with no ability to page beyond that.
UPDATE:
Have verified that 250 is the maximum number returned, either in a single call or via the paging parameters. Looks like the documentation has been updated to reflect this.