project_restCtrl
extends RestApiCtrl
in package
Table of Contents
Methods
- delete() : mixed
- get() : object
- Retrieves project information based on the provided parameters.
- post() : object
- put() : mixed
- getProjDetail() : object
- Return detailed information and user rights.
- getProjList() : object
- Return a list of available projects and their basic information.
Methods
delete()
public
delete() : mixed
get()
Retrieves project information based on the provided parameters.
public
get() : object
If a specific project is requested, detailed information are returned. Otherwise, a list of available project and their basic information is returned.
Return values
object —a JSON response object containing project data
post()
public
post() : object
Return values
objectput()
public
put() : mixed
getProjDetail()
Return detailed information and user rights.
protected
getProjDetail(jResponseJson $rep, lizmapRepository $repo) : object
Parameters
- $rep : jResponseJson
-
response to fill
- $repo : lizmapRepository
-
repository
Return values
object —a JSON response object containing a specific repository with rights
getProjList()
Return a list of available projects and their basic information.
protected
getProjList(jResponseJson $rep, lizmapRepository $repo) : object
Parameters
- $rep : jResponseJson
-
response to fill
- $repo : lizmapRepository
-
repository
Return values
object —a JSON response object containing projects