The REST API provides access to the Gems Add-on through the repository key using the following URL:
http://localhost:8081/artifactory/api/gems/<repository key>/
In addition to the basic binary repository operations, such as download, deploy, delete, etc., the following RubyGems.org API Gem commands are supported:
Gem Command | Curl Syntax Example |
|---|---|
Info |
|
Search |
|
Dependencies |
|
Yank |
|
Indexing is done automatically by Artifactory in the background, however if you still need to recreate or update the spec index files, the following REST API commands are also available:
REST Command | Curl Syntax Example | Remarks |
|---|---|---|
ReIndex |
| Re-creates all spec index files. |
Update index |
| Updates all spec index files if needed. |