Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Weka Hosts API

The Hosts API from Weka — 14 operation(s) for hosts.

Weka Hosts API is one of 45 APIs that Weka publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Hosts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 18 operations across 14 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 5.1.

Requests are made against a single base URL, /api/v2.

18 operations 14 paths 3 schemas 3 DELETE5 GET9 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
5.1
Base URL
https://api.docs.weka.io/api/v2
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Weka Hosts API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 18

Across 14 paths, the API surfaces 18 operations — 3 DELETE, 5 GET, 9 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Hosts 18
GET
/hostsdeprecated
Get all hosts - deprecated, use GET /containers
getHosts → 200401
POST
/hostsdeprecated
Add host to cluster - deprecated, use POST /containers
addHost body → 200400401
GET
/hosts/{uid}deprecated
Get single host - deprecated, use GET /containers/{uid}
getSingleHost 1 param → 200401404
PUT
/hosts/{uid}deprecated
Configure host - Need to apply host after - deprecated use PUT /containers/{uid}
updateHost 1 param body → 200400401404
DELETE
/hosts/{uid}deprecated
Remove host from cluster - deprecated use DELETE /containers/{uid}
removeHost 1 param → 200401
POST
/hosts/applydeprecated
Apply hosts - deprecated use POST /containers/apply
applyHosts body → 200401404
POST
/hosts/{uid}/applydeprecated
Apply host - deprecated, use /containers/{uid}/apply
applyHost 1 param → 200401404
DELETE
/hosts/lastFailureReason/{uid}deprecated
Clear host last failure - deprecated, use DELETE /containers/lastFailureReason/{uid}
clearHostFailure 1 param → 200401404
GET
/hosts/{uid}/resourcesdeprecated
Get host resources - deprecated, use GET /containers/{uid}/resources
getHostResources 2 params → 200401404
POST
/hosts/activatedeprecated
Activate hosts - deprecated, use POST /containers/activate
activateHosts body → 200401404
POST
/hosts/{uid}/activatedeprecated
Activate host - deprecated, use POST /containers/{uid}/activate
activateHost 1 param → 200401404
POST
/hosts/deactivatedeprecated
Deactivate hosts - deprecated, use POST /containers/deactivate
deactivateHosts body → 200401404
POST
/hosts/{uid}/deactivatedeprecated
Deactivate host - deprecated, use POST /containers/{uid}/deactivate
deactivateHost 1 param → 200401404
GET
/hosts/netdevsdeprecated
Get all hosts network - deprecated, use GET /containers/netdevs
getAllHostsNetwork → 200401
GET
/hosts/{uid}/netdevsdeprecated
Get host network - deprecated, use GET /containers/{uid}/netdevs
getHostNetwork 1 param → 200401404
POST
/hosts/{uid}/netdevsdeprecated
Create host network - Need to apply host after - deprecated, use POST /containers/{uid}/netdevs
createHostNetwork 1 param body → 200400401404
DELETE
/hosts/{uid}/netdevs/{netdev_uid}deprecated
Remove host network - Need to apply host after - deprecated, use DELETE /containers/{uid}/netdevs/{netdevuid}
removeHostNetwork 3 params → 200401404
POST
/hosts/infosdeprecated
get hosts infos from IPs - deprecated, use POST /containers/infos
getHostsInfo body → 200400401

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are host (40 properties), hostResource (21 properties), netdev (15 properties). Each schema is shown below with its type and property counts.

hostResource
object
21 properties
netdev
object
15 properties
host
object
40 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

weka-hosts-api-openapi.yml Raw ↑

Other APIs Weka publishes across the network.

Weka Active Directory API
Weka Alerts API
Weka Catalog API
Weka Cluster API
Weka Containers API
Weka DataService API
Weka Default network API
Weka Drive API
Weka Events API
Weka Failure domains API
Weka Filesystem API
Weka Filesystem group API