BSD Ports

Ports — daemonports API

One port of one system, with the same software in the others.

A FreeBSD port, or a category of another system

GET /{category}/{port}/index.json

/www/nginx/index.json is FreeBSD's www/nginx (kind: port); /openbsd/www/index.json is OpenBSD's www category (kind: category).

Authorization: none

Parameters

Name In Type Description
category (required) path string A FreeBSD category, or a system (openbsd, netbsd, dragonfly …)
port (required) path string A port's directory, or the system's category

Responses

Status Description Body
200 The port or the category. oneOf Port | Category (application/json)
404 No such page. The body is the site's HTML 404 page, not JSON.

A port of a system other than FreeBSD

GET /{system}/{category}/{port}/index.json

/openbsd/www/nginx/index.json, /netbsd/wip/aircrack-ng/index.json. OpenBSD's origins can be three levels deep (lang/lua/5.1): add the segment, /openbsd/lang/lua/5.1/index.json.

Authorization: none

Parameters

Name In Type Description
system (required) path SystemPath
category (required) path string
port (required) path string

Responses

Status Description Body
200 The port. Port (application/json)
404 No such page. The body is the site's HTML 404 page, not JSON.