jfrog / jfrog/artifactory-client-java

Allow to retrieve artifact File Statistics

Open
#344 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Java
Stars
331
Forks
163
Avg merge
20h 9m
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.
It would be good to be able to retrieve File Statistics for an artifact. There is a rest endpoint for this, but it doesn't seem to be exposed through the java client.

Describe the solution you'd like to see
On ItemHandle provide a stats() that provides the stats according to the "File Statistics" rest api

Describe alternatives you've considered
At the moment the only way I found is to manually fire a rest call to the api.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at ItemHandle and review the existing Java client methods that expose artifact REST endpoints. Compare their patterns with the File Statistics REST API and determine the response shape expected from stats(). Done means the client exposes the requested statistics through ItemHandle without requiring a manual REST call.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.