Lizmap Web Client 3.10.0

repository_restCtrl extends RestApiCtrl
in package

Table of Contents

Methods

delete()  : mixed
get()  : object
Retrieves repository information and rights based on the provided parameters.
post()  : object
put()  : mixed
getRepoDetail()  : object
Return detailed information and user rights.
getRepoList()  : object
Return a list of available repositories and their basic information.

Methods

get()

Retrieves repository information and rights based on the provided parameters.

public get() : object

If a specific repository is requested, detailed information and user rights are returned. Otherwise, a list of available repositories and their basic information is returned.

Return values
object

a JSON response object containing repository or repositories data and rights if applicable

getRepoDetail()

Return detailed information and user rights.

protected getRepoDetail(jResponseJson $rep) : object
Parameters
$rep : jResponseJson

response to fill

Return values
object

a JSON response object containing a specific repository with rights

getRepoList()

Return a list of available repositories and their basic information.

protected getRepoList(jResponseJson $rep) : object
Parameters
$rep : jResponseJson

response to fill

Return values
object

a JSON response object containing repositories


        
On this page

Search results