Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

wulkanowy/bitrise-redirector

Repository files navigation

Bitrise Redirector

CircleCI Codecov StyleCI Latest Stable Version Total Downloads BCH compliance Scrutinizer Code Quality

Extends the Bitrise REST API with deterministic/bookmarkable URLs for:

  • latest build on a specific branch
  • build artifact download links

Deploy

Public instance

A public instance of bitrise-redirector is running here:

URL Patterns

API v0.1

Get redirected to the latest build on a specific branch (example):

  • GET /v0.1/apps/{slug}/builds/{branch}

Get json list of build artifacts for the latest build on a specific branch (example):

  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts

Get redirected to the download link of a specific build artifact:

  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts/{filename} - example
  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts/{index} - example

Get info of last artifact on specific branch:

  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts/{filename}/info - example
  • GET /v0.1/apps/{slug}/builds/{branch}/artifacts/{index}/info example

Development

Installation:

$ composer create-project wulkanowy/bitrise-redirector

Start server with API_KEY and DEBUG variable:

$ bin/console server:run

Open the webapp in browser:

http://127.0.0.1:8000