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

JFrog Labels API

Custom label management for packages

JFrog Labels API is one of 53 APIs that JFrog publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Labels. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, a getting-started guide, an API reference, and an engineering blog.

This API exposes 7 operations across 3 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 2.x.

Requests are made against 2 base URLs: https://{server}.jfrog.io/access, https://{host}/access.

7 operations 3 paths 2 schemas 2 DELETE2 GET2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.x
Base URL
https://myserver.jfrog.io/artifactory/api
Authentication
HTTP Bearer, HTTP Basic
Contact
Terms of Service
Resource Areas
1

Authentication & Security 2

JFrog Labels API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • bearerAuth — Access token authentication
  • basicAuth — Basic username/password authentication

Paths & Operations 7

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

Labels 7

Custom label management for packages

GET
/labels
JFrog List Labels
listLabels → 200
POST
/labels
JFrog Create Label
createLabel body → 201400409
GET
/labels/{labelName}
JFrog Get Label
getLabel 1 param → 200404
PUT
/labels/{labelName}
JFrog Update Label
updateLabel 1 param body → 200404
DELETE
/labels/{labelName}
JFrog Delete Label
deleteLabel 1 param → 204404
POST
/labels/{labelName}/packages
JFrog Apply Label to Packages
applyLabelToPackages 1 param body → 200
DELETE
/labels/{labelName}/packages
JFrog Remove Label from Packages
removeLabelFromPackages 1 param body → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Label (6 properties), LabelRequest (3 properties). Each schema is shown below with its type and property counts.

LabelRequest
object
3 properties 1 required
Label
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jfrog-labels-api-openapi.yml Raw ↑

Other APIs JFrog publishes across the network.

JFrog Access Tokens API
JFrog Artifacts & Storage API
JFrog Audit API
JFrog Builds API
JFrog Commands API
JFrog Components API
JFrog Deployments API
JFrog Device Groups API
JFrog Devices API
JFrog Distribution API
JFrog Evidence API
JFrog Execution API