SystemPlaceholderApi
extends AbstractApi
in package
Placeholders Crowdin ships and whether each one is enabled in a project.
Table of Contents
Methods
- batchOperations() : ModelCollection
- Project System Placeholder Batch Operations
- list() : ModelCollection
- List Project System Placeholders
Methods
batchOperations()
Project System Placeholder Batch Operations
public
batchOperations(int $projectId, array<string|int, mixed> $data) : ModelCollection
Parameters
- $projectId : int
- $data : array<string|int, mixed>
-
JSON Patch array. op: replace, path: /{placeholderId}/isEnabled, value: bool
Tags
Return values
ModelCollectionlist()
List Project System Placeholders
public
list(int $projectId[, array<string|int, mixed> $params = [] ]) : ModelCollection
Parameters
- $projectId : int
- $params : array<string|int, mixed> = []
-
integer $params[limit]
integer $params[offset]