Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
api:admin:pack:versions [2020/11/06 12:19]
ryantheallmighty
api:admin:pack:versions [2020/11/06 12:24] (current)
ryantheallmighty
Line 5: Line 5:
 ===== POST /admin/pack/[pack name]/versions ===== ===== POST /admin/pack/[pack name]/versions =====
  
-This will create a new version of your pack. Data provided must conform to the below format:+This will create a new version of your pack. Body data provided must be json and conform to the below format:
  
 <code> <code>
Line 59: Line 59:
 This returns a [[:api:admin_pack_version_curse_import_object|Admin Pack Version Curse Import Object]] containing information about the import. This returns a [[:api:admin_pack_version_curse_import_object|Admin Pack Version Curse Import Object]] containing information about the import.
  
-===== POST /admin/pack/[pack name]/publish =====+===== POST /admin/pack/[pack name]/versions/[version name]/changelog =====
  
-This will publish a development version of your pack. Data provided must conform to the below format:+This will create a new version of your pack. Body data provided must be json and conform to the below format: 
 +<code> 
 + 
 +
 +    "changelog": "My changelog\n\nNice changes" 
 +
 + 
 +</code> 
 + 
 +This returns a [[:api:admin_pack_version_object|Admin Pack Version Object]] containing information about the version with the updated changelog. 
 + 
 +===== POST /admin/pack/[pack name]/versions/[version name]/publish ===== 
 + 
 +This will publish a development version of your pack. Body data provided must be json and conform to the below format:
 <code> <code>
  
api/admin/pack/versions.txt · Last modified: 2020/11/06 12:24 by ryantheallmighty
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0