Download the PHP
package os2web/os2web_rest_api without Composer
On this page you can find all versions of the php package
os2web/os2web_rest_api. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor os2web Package os2web_rest_api Short Description OS2Web Rest API License
EUPL-1.2
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Informations about the package os2web_rest_api
OS2Web REST API module
Module purpose
The module purpose is to provide URL's for fetching data via REST API.
How does it work
After enabling module there is available URL's that could be used as REST API.
Module provides preconfigured REST sources and Views for fetching lists nodes
and terms in JSON-format
/node/[node id]?_format=json - particular node
/rest/os2web/list/node/[taxonomy term id] - list of nodes filtered by
[taxonomy term id]
/rest/os2web/list/term - list of all taxonomy terms
/rest/os2web/list/term/[vocabulary machine name] - list of taxonomy terms by vocabulary machine name
For advanced filtering you can use multiple arguments. For example:
for AND condition
for OR condition
NOTE: It's not possible to use AND condition on filtering taxonomy terms.
Install
Module is available to download via composer.
Update
Updating process for OS2Web REST API module is similar to usual composer package.
Use Composer's built-in command for listing packages that have updates available:
Contribution
Project is opened for new features and os course bugfixes.
If you have any suggestion or you found a bug in project, you are very welcome
to create an issue in github repository issue tracker.
For issue description there is expected that you will provide clear and
sufficient information about your feature request or bug report.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package os2web/os2web_rest_api contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.