<< Back to GForge REST API

Entity: Frspackage

GET

getPackage

Creates or edit a package. Expected parameters in the Request object are:

  • project:
  • id:
  • packageName:
  • isVisible:
  • isPublic:
  • requireLogin:
URL example: curl -u gforgeadmin:gforgeadmin \ -X POST \ --header "Content-Type: application/json" \ --header "X-Requested-With: XMLHttpRequest" \ --url http://n.gforge.vm/api/frspackage/1/?project=1&packageName=newPackageName&isVisible=Y&isPublic=Y&requireLogin=N

Parameters (1)

Name Type Description
request \mvcnphp\RequestParameters Request object

Return: (none)

No return type is defined

POST

postFrsPackage

Creates or edit a package. Expected parameters in the Request object are:

  • project:
  • id:
  • packageName:
  • isVisible:
  • isPublic:
  • requireLogin:
URL example: curl -u gforgeadmin:gforgeadmin \ -X POST \ --header "Content-Type: application/json" \ --header "X-Requested-With: XMLHttpRequest" \ --url http://n.gforge.vm/api/frspackage/1/?project=1&packageName=newPackageName&isVisible=Y&isPublic=Y&requireLogin=N

Parameters (1)

Name Type Description
request \mvcnphp\RequestParameters Request object

Return: (none)

No return type is defined

PUT

PUT is not available

DELETE

deleteFrsPackage

Deletes a package. Expected parameters in the Request object are:

  • id:
URL example: curl -u gforgeadmin:gforgeadmin \ -X DELETE \ --header "Content-Type: application/json" \ --header "X-Requested-With: XMLHttpRequest" \ --url http://n.gforge.vm/api/frspackage/1

Parameters (1)

Name Type Description
request \mvcnphp\RequestParameters Request object

Return: (none)

No return type is defined