Download the PHP package ecentral/celum-connect-fal-rest-client without Composer

On this page you can find all versions of the php package ecentral/celum-connect-fal-rest-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

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 celum-connect-fal-rest-client

celum-connect-fal-rest-client

Authorization

If you are already logged into CELUM Content via browser, no further authorization is required. Otherwise, please use one of the below methods:

  1. Click on 'Authorize' on the right and either provide an API Key, type in your username/password or use OpenID Connect to log in.
  2. OpenId implicit flow is disabled for security reasons and will not work as Authorization option.

Creating an asset

  1. Request upload via upload endpoint. The endpoint will return a URl for uploading the binary and a upload handle to identify the upload.
  2. Upload the content of your asset by sending a POST request to the upload URL from step 1 and setting the header to . Optionally, you can also use multipart upload with as - like our Nova UI.
  3. Create the asset via create asset endpoint by passing in the upload handle from step 1 together with other parameters.

Installation & Usage

Requirements

PHP 8.1 and later.

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Getting Started

Please follow the installation procedure and then run the following:

API Endpoints

All URIs are relative to https://demo.celum.net/content-api/v1

Class Method HTTP request Description
AboutApi getVersion GET /version Build & version information
AssetTypesApi getAssetType GET /asset-types/{assetTypeId} Get an asset type by ID
AssetTypesApi getAssetTypes GET /asset-types Get all asset types
AssetsApi createAssetInCollection POST /assets Create an asset
AssetsApi deleteAsset DELETE /assets/{assetId} Delete an asset by ID
AssetsApi findAssets POST /assets/search Find all assets matching the complex criteria
AssetsApi getAsset GET /assets/{assetId} Get an asset by ID
AssetsApi getAssets GET /assets Get all assets matching the criteria
AssetsApi updateAsset PATCH /assets/{assetId} Update an asset by ID
ClientsApi getClient GET /clients/{clientId} Get the client configuration by ID
CollectionTypesApi getCollectionType GET /collection-types/{collectionTypeId} Get collection type by ID.
CollectionTypesApi getCollectionTypes GET /collection-types Get all collection types.
CollectionsApi createCollection POST /collections Create a collection
CollectionsApi deleteCollection DELETE /collections/{collectionId} Delete a collection by ID
CollectionsApi findCollections POST /collections/search Get all collections matching the criteria
CollectionsApi getCollection GET /collections/{collectionId} Get a collection by ID
CollectionsApi getCollections GET /collections Get all collections matching the criteria
CollectionsApi updateCollection PATCH /collections/{collectionId} Update a collection
CompoundObjectTypesApi getCompoundType GET /compound-types/{compoundTypeKey} Get a compound object type by business key
CompoundObjectTypesApi getCompoundTypes GET /compound-types Get all compound object types
DownloadApi requestBulkDownload GET /assets/download
DownloadApi requestDownload GET /assets/{assetId}/download Request the asset download for the given asset ID.
DownloadFormatsApi getDownloadFormats GET /download-formats Get all download formats.
InformationFieldsApi getInformationFields GET /information-fields Get all information fields associated with Assets, Nodes and Asset Relations
JobsApi execute POST /jobs Trigger a job
JobsApi getStatus GET /jobs/{jobId} Get the status of a job by ID
RelationTypesApi getRelationType GET /relation-types/{id} Get relation type by id
RelationTypesApi getRelationTypes GET /relation-types Get all relation types
RelationsApi createRelation POST /relations Create a relation
RelationsApi deleteRelation DELETE /relations/{relationId} Delete a relation by ID
RelationsApi getRelationById GET /relations/{relationId} Get a relation by ID
RelationsApi getRelations GET /relations Get all relations matching the criteria
RelationsApi updateRelation PATCH /relations/{relationId} Update a relation
RolesApi getRole GET /roles/{roleId} Get role
RolesApi getRoles GET /roles Get roles
UploadApi requestUpload POST /upload Request an upload
UserGroupsApi getUserGroupById GET /user-groups/{userGroupId} Get user group by id
UserGroupsApi getUserGroups GET /user-groups Get user groups
UsersApi getCurrentUser GET /users/me Get the currently logged in user
UsersApi getUserById GET /users/{userId} Get user by id
UsersApi getUserByName GET /users Get users
VersionsApi addVersion POST /assets/{assetId}/versions Add a new version to an asset identified by the asset ID
VersionsApi deleteVersion DELETE /assets/{assetId}/versions/{versionId} Delete a version of an asset identified by the asset ID and version ID
VersionsApi getVersions GET /assets/{assetId}/versions Get all versions of an asset identified by the asset ID

Models

Authorization

Authentication schemes defined for the API:

apiKey

basicAuth

openId

Tests

To run the tests, use:

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:


All versions of celum-connect-fal-rest-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
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 ecentral/celum-connect-fal-rest-client contains the following files

Loading the files please wait ...