Comments (2)
Hi @alireza-mht ,
label.id
is not a necessary user input param when create the a label, it is an auto-increment field for db.
You could just ignore it when you send the POST request.
from harbor.
@MinerYang Thanks for the response. If I create a label without any id and want to add it to some artifacts, how can I get access to the id of created label? Plus most of the label API calls (Delete, Get, and Put) is according to the id. I'm not sure not having the id when creating it, would be a proper solution. Would that make sense to return the actual new created id of the label when there is a POST call?
Thanks for your help!
from harbor.
Related Issues (20)
- the UI_UT of CI failed
- sbom_overview still get sbom_digest when this sbom artifact do not exist in this repository
- v2.11.0-rc1 prepare file docker tag error promble HOT 1
- Not able to pull 'helm chart' from Harbor HOT 2
- Image retention policy 'dry run' ignores image with immutable rules
- harbor installation: network between harbor dockers is not connected
- The `SBOM` column having `SBOM.COMPLETED, ` when SBOM generation completed.
- Bump up beego
- request: extend robot permissions to update individual project quotas
- missing docker images: http status code: 404 HOT 1
- Pushing any container image results in HTTP 500 HOT 6
- REST Api contains repo_name returns NOT_FOUND HOT 2
- SBOM column showing `Not Generated` and SBOM download link not working
- How to limit Trivy space, trivy grow without control HOT 1
- Issue during push "client disconnected during blob PATCH" HOT 4
- Replication and Registry created not visible in UI HOT 3
- Harbor with s3 aws HOT 2
- Cannot delete webhook that has executions
- Clear Text Password HOT 1
- Can the container names generated by the build script be prefixed with harbor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harbor.