#object #admin #liferay #api-client #auto-generate #open-api #dxp

object_admin

A client and model library for Liferay DXP's object admin api, auto generated by open-api-generator

1 unstable release

0.1.0 Mar 17, 2023

#952 in Development tools


Used in ce-cli

MIT/Apache

350KB
7K SLoC

Rust API client for ObjectAdmin

A Java client JAR is available for use with the group ID 'com.liferay', artifact ID 'com.liferay.object.admin.rest.client', and version '1.0.45'.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: v1.0
  • Package version: v1.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named ObjectAdmin and add the following to Cargo.toml under [dependencies]:

ObjectAdmin = { path = "./ObjectAdmin" }

Documentation for API Endpoints

All URIs are relative to http://localhost:8080/o/object-admin

Class Method HTTP request Description
DefaultApi get_open_api GET /v1.0/openapi.{type}
ObjectActionApi delete_object_action DELETE /v1.0/object-actions/{objectActionId}
ObjectActionApi delete_object_action_batch DELETE /v1.0/object-actions/batch
ObjectActionApi get_object_action GET /v1.0/object-actions/{objectActionId}
ObjectActionApi get_object_definition_by_external_reference_code_object_actions_page GET /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-actions
ObjectActionApi get_object_definition_object_actions_page GET /v1.0/object-definitions/{objectDefinitionId}/object-actions
ObjectActionApi patch_object_action PATCH /v1.0/object-actions/{objectActionId}
ObjectActionApi post_object_definition_by_external_reference_code_object_action POST /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-actions
ObjectActionApi post_object_definition_object_action POST /v1.0/object-definitions/{objectDefinitionId}/object-actions
ObjectActionApi post_object_definition_object_action_batch POST /v1.0/object-definitions/{objectDefinitionId}/object-actions/batch
ObjectActionApi put_object_action PUT /v1.0/object-actions/{objectActionId}
ObjectActionApi put_object_action_batch PUT /v1.0/object-actions/batch
ObjectDefinitionApi delete_object_definition DELETE /v1.0/object-definitions/{objectDefinitionId}
ObjectDefinitionApi delete_object_definition_batch DELETE /v1.0/object-definitions/batch
ObjectDefinitionApi get_object_definition GET /v1.0/object-definitions/{objectDefinitionId}
ObjectDefinitionApi get_object_definition_by_external_reference_code GET /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}
ObjectDefinitionApi get_object_definitions_page GET /v1.0/object-definitions
ObjectDefinitionApi patch_object_definition PATCH /v1.0/object-definitions/{objectDefinitionId}
ObjectDefinitionApi post_object_definition POST /v1.0/object-definitions
ObjectDefinitionApi post_object_definition_batch POST /v1.0/object-definitions/batch
ObjectDefinitionApi post_object_definition_publish POST /v1.0/object-definitions/{objectDefinitionId}/publish
ObjectDefinitionApi put_object_definition PUT /v1.0/object-definitions/{objectDefinitionId}
ObjectDefinitionApi put_object_definition_batch PUT /v1.0/object-definitions/batch
ObjectDefinitionApi put_object_definition_by_external_reference_code PUT /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}
ObjectFieldApi delete_object_field DELETE /v1.0/object-fields/{objectFieldId}
ObjectFieldApi delete_object_field_batch DELETE /v1.0/object-fields/batch
ObjectFieldApi get_object_definition_by_external_reference_code_object_fields_page GET /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-fields
ObjectFieldApi get_object_definition_object_fields_page GET /v1.0/object-definitions/{objectDefinitionId}/object-fields
ObjectFieldApi get_object_field GET /v1.0/object-fields/{objectFieldId}
ObjectFieldApi patch_object_field PATCH /v1.0/object-fields/{objectFieldId}
ObjectFieldApi post_object_definition_by_external_reference_code_object_field POST /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-fields
ObjectFieldApi post_object_definition_object_field POST /v1.0/object-definitions/{objectDefinitionId}/object-fields
ObjectFieldApi post_object_definition_object_field_batch POST /v1.0/object-definitions/{objectDefinitionId}/object-fields/batch
ObjectFieldApi put_object_field PUT /v1.0/object-fields/{objectFieldId}
ObjectFieldApi put_object_field_batch PUT /v1.0/object-fields/batch
ObjectLayoutApi delete_object_layout DELETE /v1.0/object-layouts/{objectLayoutId}
ObjectLayoutApi delete_object_layout_batch DELETE /v1.0/object-layouts/batch
ObjectLayoutApi get_object_definition_by_external_reference_code_object_layouts_page GET /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-layouts
ObjectLayoutApi get_object_definition_object_layouts_page GET /v1.0/object-definitions/{objectDefinitionId}/object-layouts
ObjectLayoutApi get_object_layout GET /v1.0/object-layouts/{objectLayoutId}
ObjectLayoutApi post_object_definition_by_external_reference_code_object_layout POST /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-layouts
ObjectLayoutApi post_object_definition_object_layout POST /v1.0/object-definitions/{objectDefinitionId}/object-layouts
ObjectLayoutApi post_object_definition_object_layout_batch POST /v1.0/object-definitions/{objectDefinitionId}/object-layouts/batch
ObjectLayoutApi put_object_layout PUT /v1.0/object-layouts/{objectLayoutId}
ObjectLayoutApi put_object_layout_batch PUT /v1.0/object-layouts/batch
ObjectRelationshipApi delete_object_relationship DELETE /v1.0/object-relationships/{objectRelationshipId}
ObjectRelationshipApi delete_object_relationship_batch DELETE /v1.0/object-relationships/batch
ObjectRelationshipApi get_object_definition_by_external_reference_code_object_relationships_page GET /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-relationships
ObjectRelationshipApi get_object_definition_object_relationships_page GET /v1.0/object-definitions/{objectDefinitionId}/object-relationships
ObjectRelationshipApi get_object_relationship GET /v1.0/object-relationships/{objectRelationshipId}
ObjectRelationshipApi post_object_definition_by_external_reference_code_object_relationship POST /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-relationships
ObjectRelationshipApi post_object_definition_object_relationship POST /v1.0/object-definitions/{objectDefinitionId}/object-relationships
ObjectRelationshipApi post_object_definition_object_relationship_batch POST /v1.0/object-definitions/{objectDefinitionId}/object-relationships/batch
ObjectRelationshipApi put_object_relationship PUT /v1.0/object-relationships/{objectRelationshipId}
ObjectRelationshipApi put_object_relationship_batch PUT /v1.0/object-relationships/batch
ObjectValidationRuleApi delete_object_validation_rule DELETE /v1.0/object-validation-rules/{objectValidationRuleId}
ObjectValidationRuleApi delete_object_validation_rule_batch DELETE /v1.0/object-validation-rules/batch
ObjectValidationRuleApi get_object_definition_by_external_reference_code_object_validation_rules_page GET /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-validation-rules
ObjectValidationRuleApi get_object_definition_object_validation_rules_page GET /v1.0/object-definitions/{objectDefinitionId}/object-validation-rules
ObjectValidationRuleApi get_object_validation_rule GET /v1.0/object-validation-rules/{objectValidationRuleId}
ObjectValidationRuleApi patch_object_validation_rule PATCH /v1.0/object-validation-rules/{objectValidationRuleId}
ObjectValidationRuleApi post_object_definition_by_external_reference_code_object_validation_rule POST /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-validation-rules
ObjectValidationRuleApi post_object_definition_object_validation_rule POST /v1.0/object-definitions/{objectDefinitionId}/object-validation-rules
ObjectValidationRuleApi post_object_definition_object_validation_rule_batch POST /v1.0/object-definitions/{objectDefinitionId}/object-validation-rules/batch
ObjectValidationRuleApi put_object_validation_rule PUT /v1.0/object-validation-rules/{objectValidationRuleId}
ObjectValidationRuleApi put_object_validation_rule_batch PUT /v1.0/object-validation-rules/batch
ObjectViewApi delete_object_view DELETE /v1.0/object-views/{objectViewId}
ObjectViewApi delete_object_view_batch DELETE /v1.0/object-views/batch
ObjectViewApi get_object_definition_by_external_reference_code_object_views_page GET /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-views
ObjectViewApi get_object_definition_object_views_page GET /v1.0/object-definitions/{objectDefinitionId}/object-views
ObjectViewApi get_object_view GET /v1.0/object-views/{objectViewId}
ObjectViewApi post_object_definition_by_external_reference_code_object_view POST /v1.0/object-definitions/by-external-reference-code/{externalReferenceCode}/object-views
ObjectViewApi post_object_definition_object_view POST /v1.0/object-definitions/{objectDefinitionId}/object-views
ObjectViewApi post_object_definition_object_view_batch POST /v1.0/object-definitions/{objectDefinitionId}/object-views/batch
ObjectViewApi post_object_view_copy POST /v1.0/object-views/{objectViewId}/copy
ObjectViewApi put_object_view PUT /v1.0/object-views/{objectViewId}
ObjectViewApi put_object_view_batch PUT /v1.0/object-views/batch

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Dependencies

~5–17MB
~251K SLoC