What does the remaining captures mean in the api response requested by travis ci build?

Subj.

Does this mean that in a free account I have a limited number of api requests?

An example of a part of the answer:

{
  "@type": "pending",
  "remaining_requests": 9,
  "repository": {
    "@type": "repository",

When I sent my first answer, the value was 10. After the second answer, it was 9 ...

+4
source share
1 answer

I think it's an hour. API code is here .

It says:

TIME_FRAME = 1.hour
LIMIT = 10

...

def remaining_requests(repository)
  api_builds_rate_limit = limit(repository)
  return api_builds_rate_limit if access_control.full_access?
  count = query(:requests).count(repository, TIME_FRAME)
  count > api_builds_rate_limit ? 0 : api_builds_rate_limit - count
end
+2
source

All Articles