Lizmap Web Client 3.10.0

repository_restCtrl extends RestApiCtrl
in package

Table of Contents

Methods

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

Methods

createRepo()

Creates a new repository with the specified parameters.

public createRepo(object $rep) : object
Parameters
$rep : object

the response object to populate with the repository creation result

Return values
object

the updated response object containing the creation status and repository details if successful, or an error message if failed

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

post()

Handles the creation of a repository based on provided parameters.

public post() : object
Return values
object

a JSON response object

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