Hudu

App · 20 actions

Read Hudu companies, assets, layouts and expirations and manage knowledge base articles.

Actions

ActionWhat it does
Create an articleCreate an article.
Delete an articleDelete an article.
Get a articleGet a article.
Get a asset layoutGet a asset layout.
Get a companyGet a company.
Get a folderGet a folder.
Get a procedureGet a procedure.
Get a websiteGet a website.
Get an assetRead an asset and its fields from the selected company.
Get Hudu API informationGet Hudu API information.
List articlesList articles.
List asset layoutsList asset layouts.
List assetsList assets.
List companiesList companies.
List expirationsList expirations.
List foldersList folders.
List listsList lists.
List proceduresList procedures.
List websitesList websites.
Update an articleUpdate an article.

Create an article

Create an article.

Inputs

NamenametextRequired
Name.
ContentcontenttextRequired
Content.
Companycompany_idnumber
Company ID.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "article": {
      "content": "example",
      "id": 1,
      "name": "example"
    }
  }
}

Delete an article

Delete an article.

Inputs

Articlearticle_idtextRequired
Article ID.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {}
}

Get a article

Get a article.

Inputs

Articlearticle_idtextRequired
Article ID.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "article": {
      "company_id": 1,
      "content": "example",
      "enable_sharing": true,
      "folder_id": 1,
      "id": 1,
      "name": "example"
    }
  }
}

Get a asset layout

Get a asset layout.

Inputs

Asset layoutasset_layout_idtextRequired
Asset layout ID.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "asset_layout": {
      "created_at": "example",
      "id": 1,
      "name": "example",
      "updated_at": "example"
    }
  }
}

Get a company

Get a company.

Inputs

Companycompany_idtextRequired
Company ID.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "company": {
      "created_at": "example",
      "id": 1,
      "name": "example",
      "updated_at": "example"
    }
  }
}

Get a folder

Get a folder.

Inputs

Folder IDfolder_idtextRequired
Folder ID.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "folder": {
      "created_at": "example",
      "id": 1,
      "name": "example",
      "updated_at": "example"
    }
  }
}

Get a procedure

Get a procedure.

Inputs

Procedure IDprocedure_idtextRequired
Procedure ID.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "procedure": {
      "created_at": "example",
      "id": 1,
      "name": "example",
      "updated_at": "example"
    }
  }
}

Get a website

Get a website.

Inputs

Website IDwebsite_idtextRequired
Website ID.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "website": {
      "created_at": "example",
      "id": 1,
      "name": "example",
      "updated_at": "example"
    }
  }
}

Get an asset

Read an asset and its fields from the selected company.

Inputs

Companycompany_idnumberRequired
Company that owns the asset.
Assetasset_idnumberRequired
Asset in the selected company.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "asset": {
      "asset_layout_id": 1,
      "company_id": 1,
      "fields": [
        {}
      ],
      "id": 1,
      "name": "example"
    }
  }
}

Get Hudu API information

Get Hudu API information.

Inputs

None.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {}
}

List articles

List articles.

Inputs

Namenametext
Filter by article name
Companycompany_idnumber
Filter by company_id
Pagepagenumber
Get current page of results
Page sizepage_sizenumber
Number of results to return
Searchsearchtext
Filter by search query

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "articles": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}

List asset layouts

List asset layouts.

Inputs

Namenametext
Filter by the name of the Asset Layout
Pagepagenumber
Get the current page of results

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "asset_layouts": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}

List assets

List assets.

Inputs

Companycompany_idnumber
Filter assets by the parent company's ID
Namenametext
Filter assets by their name
Asset layoutasset_layout_idnumber
Filter assets by their associated asset layout's ID
Pagepagenumber
Specify the page number of results to return
Archivedarchivedtrue/false
Set to true to display only archived assets
Page sizepage_sizenumber
Limit the number of assets returned per page
Searchsearchtext
Filter assets using a search query

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "assets": [
      {
        "company_id": 1,
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}

List companies

List companies.

Inputs

Pagepagenumber
Retrieve the specified page of results
Page sizepage_sizenumber
Specify the number of results to return per page
Namenametext
Filter companies by name
Searchsearchtext
Filter companies by a search query

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "companies": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}

List expirations

List expirations.

Inputs

Pagepagenumber
The current page of results to retrieve
Companycompany_idnumber
Filter expirations by company ID
Archivedarchivedtrue/false
Filter by archived status (true for archived, false for active). Defaults to false (active only).
Page sizepage_sizenumber
The number of results to return per page

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "expirations": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}

List folders

List folders.

Inputs

Namenametext
Filter folders by name
Companycompany_idnumber
Filter folders by company ID
Pagepagenumber
The current page of results to retrieve
Page sizepage_sizenumber
The number of results to return per page

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "folders": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}

List lists

List lists.

Inputs

Namenametext
Filter by exact list name

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "lists": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}

List procedures

List procedures.

Inputs

Namenametext
Filter by the name of the process or run (case-insensitive exact match).
Companycompany_idnumber
Filter by the associated company ID.
Archivedarchivedtext
Filter by archived status: 'true' or '1' to show only archived processes/runs, 'false' or '0' to show only non-archived (default). If not specified, only non-archived items are returned.
Pagepagenumber
The current page of results.
Page sizepage_sizenumber
The number of results to return per page (default: 25, max: 1000).

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "procedures": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}

List websites

List websites.

Inputs

Pagepagenumber
Get current page of results
Namenametext
Filter websites by name
Page sizepage_sizenumber
Number of results to return per page
Searchsearchtext
Filter by search query

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "websites": [
      {
        "created_at": "example",
        "id": 1,
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}

Update an article

Update an article.

Inputs

Articlearticle_idtextRequired
Article ID.
Namenametext
Name.
Contentcontenttext
Content.

Outputs

dataobject
The response from Hudu.
Example output
{
  "data": {
    "article": {
      "content": "example",
      "id": 1,
      "name": "example"
    }
  }
}

On this page