/api/public/v1/profiles/{id}/shareshares.preview
What a copy of this profile would carry: the committed revision it is pinned to, which data categories that revision holds, which ones your rights allow, and whether a machine can prepare it now.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
idpath | string (uuid) | Yes | Profile id |
Examples
curl "https://browlix.com/api/public/v1/profiles/<id>/share" \
-H "Authorization: Bearer $BROWLIX_API_KEY"Response
200 with { data, correlation_id }.
| Field | Type | Always present | Description |
|---|---|---|---|
| data | object | Yes | |
| data.profile | object | Yes | |
| data.profile.id | string (uuid) | Yes | |
| data.profile.name | string | Yes | |
| data.profile.os | "windows" | "linux" | Yes | |
| data.profile.network_mode | string | Yes | |
| data.profile.has_proxy | boolean | Yes | |
| data.revision | integer | Yes | Latest committed revision (0 = never synced: only the configuration can be shared) (min -9007199254740991, max 9007199254740991) |
| data.categories | array<"cookies" | "local_storage" | "indexed_db" | "service_workers" | "extensions" | "bookmarks" | "history" | "open_tabs" | …> | Yes | Categories that revision holds |
| data.open | boolean | Yes | |
| data.allowed | object | Yes | |
| data.allowed.session | boolean | Yes | |
| data.allowed.saved_passwords | boolean | Yes | |
| data.machines | integer | Yes | Machines of this workspace whose worker can prepare a copy now (min -9007199254740991, max 9007199254740991) |
| correlation_id | string (uuid) | Yes |
Errors
| Code | HTTP | Retryable |
|---|---|---|
| UNAUTHENTICATED | 401 | No |
| FORBIDDEN | 403 | No |
| RATE_LIMITED | 429 | Yes |
| VALIDATION_FAILED | 422 | No |
| NOT_FOUND | 404 | No |
| DEPENDENCY_UNAVAILABLE | 503 | Yes |
| UNKNOWN | 500 | No |
