Last active
June 28, 2023 09:08
-
-
Save vvb2060/7375953b16fd41abdcf2a76363dfaaf4 to your computer and use it in GitHub Desktop.
Maven Central Staging API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://s01.oss.sonatype.org/service/local/staging/profile_repositories | |
Accept: application/xml | |
Authorization: basic {{basic}} | |
### | |
POST https://s01.oss.sonatype.org/service/local/staging/bulk/close | |
Accept: application/json | |
Content-Type: application/json | |
Authorization: basic {{basic}} | |
{ | |
"data":{ | |
"stagedRepositoryIds":[ | |
"abc-001" | |
], | |
"description":"Close abc 1.2.3." | |
} | |
} | |
### | |
GET https://s01.oss.sonatype.org/service/local/staging/repository/abc-001 | |
Accept: application/xml | |
Authorization: basic {{basic}} | |
### | |
POST https://s01.oss.sonatype.org/service/local/staging/bulk/promote | |
accept: application/json | |
content-type: application/json | |
authorization: basic {{basic}} | |
{ | |
"data":{ | |
"stagedRepositoryIds":[ | |
"abc-001" | |
], | |
"autoDropAfterRelease":true, | |
"description":"Release abc 1.2.3." | |
} | |
} | |
### | |
POST https://s01.oss.sonatype.org/service/local/staging/bulk/drop | |
accept: application/json | |
content-type: application/json | |
authorization: basic {{basic}} | |
{ | |
"data":{ | |
"stagedRepositoryIds":[ | |
"abc-001" | |
], | |
"description":"Drop abc 1.2.3." | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment