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 Policies API

Curation policy management

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

Tagged areas include Policies. 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 10 operations across 4 paths, and defines 3 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.

10 operations 4 paths 3 schemas 2 DELETE4 GET2 POST2 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 Policies 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 10

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

Policies 10

Curation policy management

GET
/v1/policies
JFrog List Curation Policies
listPolicies → 200
POST
/v1/policies
JFrog Create Curation Policy
createPolicy body → 201400
GET
/v1/policies/{policyName}
JFrog Get Curation Policy
getPolicy 1 param → 200404
PUT
/v1/policies/{policyName}
JFrog Update Curation Policy
updatePolicy 1 param body → 200
DELETE
/v1/policies/{policyName}
JFrog Delete Curation Policy
deletePolicy 1 param → 204
GET
/v2/policies
JFrog List Policies
listPolicies → 200
POST
/v2/policies
JFrog Create Policy
createPolicy body → 201400
GET
/v2/policies/{policyName}
JFrog Get Policy
getPolicy 1 param → 200
PUT
/v2/policies/{policyName}
JFrog Update Policy
updatePolicy 1 param body → 200
DELETE
/v2/policies/{policyName}
JFrog Delete Policy
deletePolicy 1 param → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are CurationPolicy (10 properties), CurationPolicyRequest (8 properties), Policy (4 properties). Each schema is shown below with its type and property counts.

CurationPolicy
object
10 properties
CurationPolicyRequest
object
8 properties 2 required
Policy
object
4 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jfrog-policies-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