HarborHarbor
DocumentationGuidesPlugins
All plugins

Netlify API

Official Netlify API imported from Netlify's OpenAPI spec

APICategory: devPopularity 66netlify_api

Official Netlify API imported from Netlify's OpenAPI spec

Install

hrbr plugins install netlify-api

Harbor calls https://api.netlify.com/api/v1 (driven by the upstream OpenAPI spec).

Quick start

hrbr exec 'return await netlify_api.get({ /* see schema */ })'

Or from a Function:

import { defineOrbitJob } from "@hrbr/orbit";

export default defineOrbitJob({
  name: "netlify-api-example",
  handler: async (ctx) => {
    return await ctx.plugins.netlify_api.list({ limit: 5 });
  },
});

Tools

Tools are generated from the upstream OpenAPI spec. Inspect with:

hrbr plugins tools netlify-api

Or open the dashboard plugin page for the live tool list.