Skip to content

JSON HTTP API for retrieving a `package.json` file from GitHub (and potentially other sources).

Notifications You must be signed in to change notification settings

irinazheltisheva/david-project-api

 
 

Repository files navigation

project-api

JSON HTTP API for retrieving a package.json file from GitHub (and potentially other sources).

API

GET /:service/:owner/:repo?ref=&path=

Path params:

  • :service - the service hosting the repo that contains the package.json. Currently only GitHub is supported ("gh").
  • :owner - user or organisation name that owns the repo.
  • :repo - repository name where the package.json lives.

Query params:

  • path - path to the package.json file from the root of the repo (if not at root).
  • ref - commitish or branch/tag name.

Response:

The package.json contents.

About

JSON HTTP API for retrieving a `package.json` file from GitHub (and potentially other sources).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.9%
  • Dockerfile 3.1%