Empty branch list for API V3


I’m doing swift api client for API V3.
I encountered problem with empty array of branches in given repo.

I’m fetching repo info with https://api.travis-ci.org/repo/28390159

  "id": 28390159,
  "name": "swift-app3",
  "slug": "mkowalski-pgs/swift-app3",
  "description": "just to test travis-ci",
  "github_id": 252157707,
  "vcs_id": "252157707",
  "vcs_type": "GithubRepository",
  "github_language": null,
  "active": false,
  "private": false,
  "owner": {
    "@type": "user",
    "id": 2087103,
    "login": "mkowalski-pgs",
    "@href": "/user/2087103"
  "owner_name": "mkowalski-pgs",
  "vcs_name": "swift-app3",
  "default_branch": {
    "@type": "branch",
    "@href": "/repo/28390159/branch/master",
    "@representation": "minimal",
    "name": "master"
  "starred": false,
  "managed_by_installation": false,
  "active_on_org": null,
  "migration_status": null,
  "history_migration_status": null,
  "shared": false

now when i want to get list of branches for given repo I’m reciving response which seems correct but list of branches is empty. There should be develop and master branch.


  "@type": "branches",
  "@href": "/repo/28390159/branches",
  "@representation": "standard",
  "@pagination": {
    "limit": 25,
    "offset": 0,
    "count": 0,
    "is_first": true,
    "is_last": true,
    "next": null,
    "prev": null,
    "first": {
      "@href": "/repo/28390159/branches",
      "offset": 0,
      "limit": 25
    "last": {
      "@href": "/repo/28390159/branches?limit=25&offset=-25",
      "offset": -25,
      "limit": 25
  "branches": [

Any suggestion what may be wrong?