Introduction
This pages describes the HTTP API of the OX Middleware.
Low level protocol
The client accesses the server through HTTP GET, POST and PUT requests. HTTP cookies are used for authentication and must therefore be processed and sent back by the client as
specified by RFC 6265. The HTTP API is accessible at URIs starting with /ajax. Each server module has a unique name and its own sub-namespace with
that name below /ajax, e. g. all access to the module "tasks" is via URIs starting with /ajax/tasks.
Text encoding is always UTF-8. Data is sent from the server to the client as application/json and interpreted by the client to obtain an ECMAScript object.
The HTTP API uses only a small subset of the ECMAScript syntax. This subset is roughly described by the following BNF:
Value ::= "null" | Boolean | Number | String | Array | Object
Boolean ::= "true" | "false"
Number ::= see NumericLiteral in ECMA 262 3rd edition
String ::= \"([^"\n\\]|\\["\n\\])*\"
Array ::= "[]" | "[" Value ("," Value)* "]"
Object ::= "{}" | "{" Name ":" Value ("," Name ":" Value)* "}"
Name ::= [A-Fa-f][0-9A-Fa-f_]*
Numbers are the standard signed integer and floating point numbers. Strings can contain any character, except double quotes, newlines and backslashes, which must be escaped by a backslash. Control characters in strings (other than newline) are not supported. Whitespace is allowed between any two tokens. See JSON and ECMA 262, 3rd edition for the formal definition.
The response body consists of an object, which contains up to four fields as described in Response body. The field data contains the actual payload which is described in following chapters.
The fields timestamp, error and error_params are present when data objects are returned, if an error occurred and if the error message contains conversion specifiers, respectively.
Following sections describe the contents of these fields in more detail.
| Name | Type | Value |
|---|---|---|
| data | Value | Payload of the response. |
| timestamp | Timestamp | The latest timestamp of the returned data (see Updates). |
| error | String | The translated error message. Present in case of errors. |
| error_params | Array | As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style). |
| error_id | String | Unique error identifier to help finding this error instance in the server logs. |
| error_desc | String | The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available |
| code | String | Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
| error_stack | Array | If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in 'server.properties') this field provides the stack trace of associated Java exception represented as a JSON array |
| categories | String OR Array | Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
| category | Number | Maintained for legacy reasons: The numeric representation of the first category. |
The following table shows the different category identifiers:
| Name | Description |
|---|---|
| USER_INPUT | An error resulting from wrong or missing input from front-end (e.g. mandatory field missing). |
| CONFIGURATION | An error related to user/system configuration which denies requested operation. |
| PERMISSION_DENIED | An error related to insufficient permission settings. |
| TRY_AGAIN | A requested operation could not be accomplished because a needed resource is temporary down or missing (e.g. imap server rejects connection because of too many established connections). |
| SERVICE_DOWN | A subsystem or third party service is down and therefore does not respond (e.g. database is down). |
| CONNECTIVITY | The underlying socket connection is corrupt, empty or closed. Only a temporary error that does not affect the whole system. |
| ERROR | A programming error which was caused by incorrect program code. |
| CONFLICT | A concurrent modification. |
| CAPACITY | The requested operation could not be performed cause an underlying resource is full or busy (e.g. IMAP folder exceeds quota). |
| TRUNCATED | The given data could not be stored into the database because an attribute contains a too long value. |
| WARNING | Action was at least partially successful, but a condition occurred that merited a warning |
Data from the client to the server can be sent in several formats. Small amounts of data are sent as application/x-www-urlencoded in query parameters in the request URI.
For POST requests, some or all parameters may be sent in the request body instead of in the URI using any valid encoding for POST requests.
Alternatively, some requests specify that data is sent as text/javascript in the body of a PUT request. The format of the request body for PUT requests is the same as for sending
data from the server to the client, except that the payload is sent directly, without being wrapped in another object.
When updating existing data, the client sends only fields that were modified. To explicitly delete a field, the field is sent with the value null.
For fields of type String, the empty string "" is equivalent to null.
Error handling
If the session of the user times out, if the client doesn't send a session ID or if the session for the specified session ID can not be found then the server returns the above described response object, that contains an error code and an error message. If the request URI or the request body is malformed or incomplete then the server returns the reponse object with an error message, too. In case of internal server errors, especially Java exceptions, or if the server is down, it returns the HTTP status code 503, Service Unavailable. Other severe errors may return other HTTP status values.
Application errors, which can be caused by a user and are therefore expected during the operation of the groupware, are reported by setting the field error in the returned object, as described in
the Response body. Since the error messages are translated by the client, they can not be composed of multiple variable parts. Instead, the error message can contain simplified printf()-style
conversion specifications, which are replaced by elements from the array in the field error_params. If error_params is not present, no replacement occurs, even if parts of the error message
match the syntax of a conversion specification.
A simplified conversion specification, as used for error messages, is either of the form %s or %n$s, where n is a 1-based decimal parameter index.
The conversion specifications are replaced from left to right by elements from error_params, starting at the first element. %s is replaced by the current element
and the current index is incremented. %n$s is replaced by the n'th element and the current index is set to the (n + 1)'th element.
Some error message contain data sizes which must be expressed in Bytes or Kilobytes etc., depending on the actual value. Since the unit must be translated, this conversion is performed by the client. Unfortunately, standard printf()-style formatting does not have a specifier for this kind of translation. Therefore, the conversion specification for sizes is the same as for normal strings, and the client has to determine which parameters to translate based on the error code. The current error codes and the corresponding size parameters are listed below:
| Error code | Parameter indices |
|---|---|
| CON-0101 | 2, 3 |
| FLS-0003 | 1, 2, 3 |
| MSG-0065 | 1, 3 |
| MSG-0066 | 1 |
| NON-0005 | 1, 2 |
Date and time
Dates without time are transmitted as the number of milliseconds between 00:00 UTC on that date and 1970-01-01 00:00 UTC. Leap seconds are ignored, therefore this number is always an integer multiple of 8.64e7.
Because ECMAScript Date objects have no way to explicitly specify a timezone for calculations, timezone correction must be performed on the server.
Dates with time are transmitted as the number of milliseconds since 1970-01-01 00:00 UTC (again, ignoring leap seconds) plus the offset between the user's timezone and UTC at the time in question.
(See the Java method java.util.TimeZone.getOffset(long)). Unless optional URL parameter timezone is present.
Then dates with time are transmitted as the number of milliseconds since 1970-01-01 00:00 UTC (again, ignoring leap seconds) plus the offset between the specified timezone and
UTC at the time in question.
To prevent the timezone offset getting applied implicitly on the server for dates with time, e.g. because the client handles timezones on his own, requests should be decorated with the URL parameter timezone set to UTC statically.
For some date and time values, especially timestamps, monotonicity is more important than the actual value. Such values are transmitted as the number of milliseconds since 1970-01-01 00:00 UTC, ignoring leap seconds and without timezone correction. If possible, a unique strictly monotonic increasing value should be used instead, as it avoids some race conditions described below.
This specification refers to these three interpretations of the type Number as separate data types.
| Type | Time | Timezone | Comment |
|---|---|---|---|
| Date | No | UTC | Date without time. |
| Time | Yes | User | Date and time. |
| Timestamp | Yes | UTC | Timestamp or unique sequence number. |
Updates
To allow efficient synchronization of a client with changes made by other clients and to detect conflicts, the server stores a timestamp of the last modification for each object.
Whenever the server transmits data objects to the client, the response object described in Response body includes the field timestamp.
This field contains a timestamp value which is computed as the maximum of the timestamps of all transmitted objects.
When requesting updates to a previously retrieved set of objects, the client sends the last timestamp which belongs to that set of objects. The response contains all updates with timestamps greater than the one specified by the client. The field timestamp of the response contains the new maximum timestamp value.
If multiple different objects may have the same timestamp values, then a race condition exists when an update is processed between two such objects being modified. The first, already modified object will be included in the update response and its timestamp will be the maximum timestamp value sent in the timestamp field of the response. If the second object is modified later but gets the same timestamp, the client will never see the update to that object because the next update request from the client supplies the same timestamp value, but only modifications with greater timestamp values are returned.
If unique sequence numbers can't be used as timestamps, then the risk of the race condition can be at least minimized by storing timestamps in the most precise format and/or limiting update results to changes with timestamp values which are measurably smaller than the current timestamp value.
Editing
Editing objects is performed one object at a time. There may be multiple objects being edited by the same client simulataneously, but this is achieved by repeating the steps required for editing a single object. There is no batch edit or upload command.
To edit an object, a client first requests the entire object from the server. The server response contains the timestamp field described in the previous section.
For in-place editing inside a view of multiple objects, where only already retrieved fields can be changed, retrieving the entire object is not necessary, and the last timestamp
of the view is used as the timestamp of each object in it.
When sending the modified object back to the server, only modified fields need to be included in the sent object. The request also includes the timestamp of the edited object. The timestamp is used by the server to ensure that the object was not edited by another client in the meantime. If the current timestamp of the object is greater than the timestamp supplied by the client, then a conflict is detected and the field error is set in the response. Otherwise, the object gets a new timestamp and the response to the client is empty.
If the client displays the edited object in a view together with other objects, then the client will need to perform an update of that view immediately after successfully uploading an edited object.
File uploads
File uploads are made by sending a POST request that submits both the file and the needed fields as parts of a request of content-type “multipart/form-data” or “multipart/mixed”.
The file metadata are stored in a form field “file” (much like an <input type=”file” name=”file” /> would do). In general a call that allows file uploads via POST will have a corresponding
call using PUT to send object data. The JSON-encoded object-data that is send as the body of a corresponding PUT call is, when performed as a POST with file uploads, put into
the request parameter “json”.
Since the upload is performed directly by the browser and is not an Ajax call, the normal callback mechanism for asynchronous Javascript calls cannot be used to obtain the result. For this reason the server responds to these POST calls with a complete HTML page that performs the callback and should not be displayed to the user. The HTML response is functionally equivalent to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<META http-equiv="Content-Type" content=\"text/html; charset=UTF-8\">
<script type="text/javascript">
(parent["callback_action"] || window.opener && window.opener["callback_action"])
({json})
</script>
</head>
</html>
The placeholders {json} is replaced by the response with the timestamp that would be expected from the corresponding PUT method. The placeholder action is replaced by the value of the
parameter action of the request (except for the import bundle, which is named "import" instead of the action name for legacy purposes). The content-type of the answer is text/html.
Non-browser clients don't need to interpret HTML or JavaScript. The JSON data can be recognized by the outermost ({ and }), where the inner braces are part of the JSON value.
For example, the regular expression \((\{.*\})\) captures the entire JSON value in its first capturing group.
The client can also send the force_json_response parameter to get errors in form of a normal json responses instead of html.
Authentication
session
The default security scheme which uses a session ID previously obtained from the login module. Used in combination with a session cookie.
oauth
The security scheme for oauth enabled modules of the middleware
| Authorization grant | Available scopes |
| authorization-code |
write_userconfig
|
OX HTTP API
Documentation of the Open-Xchange HTTP API which is used by the new AJAX GUI.
Results
Test-
-
Lists the user's tokens, expired ones included, without their secrets, together with the scopes the user may grant. What the user granted an OAuth client of the built-in authorization server of the MCP endpoint is listed once per grant, with
clientset, rather than once per token the client gets by refreshing. Requires a full session.Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the tokens and the grantable scopes. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccessTokenListResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- tokens ( array[AccessToken] ): The user's tokens, ordered by creation time
- grantable_scopes ( array[object] ): The scopes the user may grant, ordered by scope; every scope registered with the OAuth provider by an installed module that the user's capabilities admit
- grantable_api_types ( array[string] ): The APIs the user may mint a token for, as `api_type` of `new` takes them: `generic` always, `mcp` if the user has the capability `mcp`. `mobile` is not listed; the sign-in of the Mobile API mints those tokens.
-
AccessToken - The metadata of a personal access token, or of what the user granted an OAuth client of the built-in authorization server of the MCP endpoint; the secret is never part of it
{- id ( string ): The token identifier; for a grant of an OAuth client the grant identifier, which covers all tokens the client gets by refreshing
- label ( string ): The label the user chose; for a grant of an OAuth client the name the client declared, or the host it redirects to
- scopes ( array[string] ): The scopes the token grants
- created ( integer ): The creation time in milliseconds since the epoch
- expires ( integer ): The expiration time in milliseconds since the epoch
- last_used ( integer ): The time of the last successful use in milliseconds since the epoch, `0` if never used
- client ( client ): Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
- mail_access ( boolean ): Whether the mail credential vault keeps a credential for the token (the user's password or the OAuth tokens of a single sign-on session, sealed with the token's secret; under master authentication a note that nothing is needed), so that a session made from it can read mail; `false` once the token has expired
-
api_type
(
string
, possibleValues:
genericmcpmobile
- folders ( folders ): Present if the token is restricted to folders; maps a module to the identifiers of the folders the token may reach in it
-
client - Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
{- id ( string ): The client identifier from its dynamic registration
- name ( string ): The name the client declared about itself, not verified; absent if it declared none
- redirect_host ( string ): The host the grant was sent to
-
-
Revokes one of the user's tokens. Requests with its secret are refused from then on. For a grant of an OAuth client, the grant goes with all its tokens, and the client cannot refresh any more. Requires a full session.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the token, as listed.
query string Responses:
200:
A JSON object saying whether a token was revoked; `false` means there was no such token of this user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccessTokenDeleteResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- revoked ( boolean ): Whether a token was revoked
-
-
Creates a bearer token the user can give to a client that cannot run an OAuth flow, such as an MCP client with a fixed
Authorizationheader. The token is bound to the user, limited to the given scopes and expires at the given time. The secret is part of this response and of no other; only a hash of it is stored. So that a session made from the token can reach the user's mail server, the token wraps a credential with its secret (mail_accessistruethen): the OAuth tokens of the session, if the mail server is configured for an OAuth mechanism and the session has them, as after a single sign-on login; otherwise the session's password, if it has one. Wrapped OAuth tokens are refreshed through the session's refresh token as they expire. Under master authentication of the mail server nothing is wrapped, and a session with neither yields a token withmail_accessfalse. A user holds at mostcom.openexchange.accesstoken.maxTokensPerUsertokens, expired ones included until they are purged. Requires a full session; a session that was itself created from a bearer token cannot mint tokens.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type label (empty) A human-readable label for the token, at most 128 characters.
query string scopes (empty) Comma-separated scopes the token grants. Only scopes of modules the user may use are accepted; the listing action names them in `grantable_scopes`: the scopes the installed modules register with the OAuth provider, e.g. `read_contacts`, `write_contacts`, `read_mail`, `read_calendar`.
query string expires (empty) The expiration time in milliseconds since the epoch; has to lie in the future and at most `com.openexchange.accesstoken.maxLifetimeDays` days ahead.
query long folders (empty) Restricts the token to folders, as a JSON object that maps a module (`mail`, `calendar`, `contacts`, `files`, `tasks`) to an array of 1 to 100 folder identifiers, e.g. `{"mail":["default0/INBOX"]}`. Modules not named stay unrestricted. A restricted token is accepted by the MCP endpoint `/mcp` only, which hides every other folder of a named module; all other APIs refuse it.
query string api_type The API the token is for: `mcp` (the MCP endpoint `/mcp`), `mobile` (the Mobile API `/mobile/v1`) or `generic`. A token for one API is refused by every other, even where its scopes would open it. A `generic` token reaches every API its scopes open, as tokens did before.
query string Responses:
200:
A JSON object containing the token's metadata and, once, its secret. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccessTokenCreatedResponse
{- data ( object ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Unknown Composed Schema
ALLOF: AccessToken Object -
AccessToken - The metadata of a personal access token, or of what the user granted an OAuth client of the built-in authorization server of the MCP endpoint; the secret is never part of it
{- id ( string ): The token identifier; for a grant of an OAuth client the grant identifier, which covers all tokens the client gets by refreshing
- label ( string ): The label the user chose; for a grant of an OAuth client the name the client declared, or the host it redirects to
- scopes ( array[string] ): The scopes the token grants
- created ( integer ): The creation time in milliseconds since the epoch
- expires ( integer ): The expiration time in milliseconds since the epoch
- last_used ( integer ): The time of the last successful use in milliseconds since the epoch, `0` if never used
- client ( client ): Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
- mail_access ( boolean ): Whether the mail credential vault keeps a credential for the token (the user's password or the OAuth tokens of a single sign-on session, sealed with the token's secret; under master authentication a note that nothing is needed), so that a session made from it can read mail; `false` once the token has expired
-
api_type
(
string
, possibleValues:
genericmcpmobile
- folders ( folders ): Present if the token is restricted to folders; maps a module to the identifiers of the folders the token may reach in it
-
client - Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
{- id ( string ): The client identifier from its dynamic registration
- name ( string ): The name the client declared about itself, not verified; absent if it declared none
- redirect_host ( string ): The host the grant was sent to
-
-
REST-like counterpart of
/accesstoken?action=all: lists the user's tokens, expired ones included, without their secrets, together with the scopes the user may grant. A grant of an OAuth client of the built-in authorization server of the MCP endpoint is listed once, withclientset. Requires a full session.Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the tokens and the grantable scopes. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccessTokenListResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- tokens ( array[AccessToken] ): The user's tokens, ordered by creation time
- grantable_scopes ( array[object] ): The scopes the user may grant, ordered by scope; every scope registered with the OAuth provider by an installed module that the user's capabilities admit
- grantable_api_types ( array[string] ): The APIs the user may mint a token for, as `api_type` of `new` takes them: `generic` always, `mcp` if the user has the capability `mcp`. `mobile` is not listed; the sign-in of the Mobile API mints those tokens.
-
AccessToken - The metadata of a personal access token, or of what the user granted an OAuth client of the built-in authorization server of the MCP endpoint; the secret is never part of it
{- id ( string ): The token identifier; for a grant of an OAuth client the grant identifier, which covers all tokens the client gets by refreshing
- label ( string ): The label the user chose; for a grant of an OAuth client the name the client declared, or the host it redirects to
- scopes ( array[string] ): The scopes the token grants
- created ( integer ): The creation time in milliseconds since the epoch
- expires ( integer ): The expiration time in milliseconds since the epoch
- last_used ( integer ): The time of the last successful use in milliseconds since the epoch, `0` if never used
- client ( client ): Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
- mail_access ( boolean ): Whether the mail credential vault keeps a credential for the token (the user's password or the OAuth tokens of a single sign-on session, sealed with the token's secret; under master authentication a note that nothing is needed), so that a session made from it can read mail; `false` once the token has expired
-
api_type
(
string
, possibleValues:
genericmcpmobile
- folders ( folders ): Present if the token is restricted to folders; maps a module to the identifiers of the folders the token may reach in it
-
client - Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
{- id ( string ): The client identifier from its dynamic registration
- name ( string ): The name the client declared about itself, not verified; absent if it declared none
- redirect_host ( string ): The host the grant was sent to
-
-
REST-like counterpart of
/accesstoken?action=new. The values come as fields of the JSON body; a query parameter of the same name takes precedence. The response carries the token's metadata and, once, its secret. Requires a full session; a session that was itself created from a bearer token cannot mint tokens.Security:
This security scheme must be used:Name Scopes session
Body:
Description:No description available
Content-type: application/json-
AccessTokenCreateBody
{- label ( string , required ): A human-readable label for the token, at most 128 characters.
- scopes ( array[string] , required ): The scopes the token grants; only scopes listed in `grantable_scopes` are accepted. A comma-separated string is accepted as well.
- expires ( integer , required ): The expiration time in milliseconds since the epoch; has to lie in the future and at most `com.openexchange.accesstoken.maxLifetimeDays` days ahead.
- folders ( folders ): Restricts the token to folders, as for `/accesstoken?action=new`: maps a module (`mail`, `calendar`, `contacts`, `files`, `tasks`) to an array of 1 to 100 folder identifiers. A JSON string holding such an object is accepted as well.
-
api_type
(
string
, possibleValues:
genericmcpmobile
Responses:
200:
A JSON object containing the token's metadata and, once, its secret. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccessTokenCreatedResponse
{- data ( object ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Unknown Composed Schema
ALLOF: AccessToken Object -
AccessToken - The metadata of a personal access token, or of what the user granted an OAuth client of the built-in authorization server of the MCP endpoint; the secret is never part of it
{- id ( string ): The token identifier; for a grant of an OAuth client the grant identifier, which covers all tokens the client gets by refreshing
- label ( string ): The label the user chose; for a grant of an OAuth client the name the client declared, or the host it redirects to
- scopes ( array[string] ): The scopes the token grants
- created ( integer ): The creation time in milliseconds since the epoch
- expires ( integer ): The expiration time in milliseconds since the epoch
- last_used ( integer ): The time of the last successful use in milliseconds since the epoch, `0` if never used
- client ( client ): Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
- mail_access ( boolean ): Whether the mail credential vault keeps a credential for the token (the user's password or the OAuth tokens of a single sign-on session, sealed with the token's secret; under master authentication a note that nothing is needed), so that a session made from it can read mail; `false` once the token has expired
-
api_type
(
string
, possibleValues:
genericmcpmobile
- folders ( folders ): Present if the token is restricted to folders; maps a module to the identifiers of the folders the token may reach in it
-
client - Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
{- id ( string ): The client identifier from its dynamic registration
- name ( string ): The name the client declared about itself, not verified; absent if it declared none
- redirect_host ( string ): The host the grant was sent to
-
-
REST-like counterpart of
/accesstoken?action=delete. Requests with the token's secret are refused from then on. The identifier of a grant of an OAuth client revokes the grant with all its tokens. Requires a full session.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the token, as listed.
path string Responses:
200:
A JSON object saying whether a token was revoked; `false` means there was no such token of this user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccessTokenDeleteResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- revoked ( boolean ): Whether a token was revoked
-
-
-
Accountrecovery
The accountrecovery module allows users to manage their account recovery details (phone, email) for password recovery purposes.-
Verifies the one-time code that was sent to the user's stored recovery phone number and marks the number as confirmed. The code is consumed on success. A code sent to a number other than the currently stored one is rejected. After too many wrong attempts the code is discarded and a new one has to be requested with
action=sendVerification.Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the verification code.
Content-type: application/json-
AccountRecoveryConfirmPhoneBody
{- code ( string , required ): The one-time verification code sent to the user's recovery phone number.
Responses:
200:
A JSON object with `success` set to `true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccountRecoverySuccessResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Always `true`; failures are reported as an error instead.
-
-
Returns the recovery phone number, email address and PIN stored for the current user, their verification status, and the verification settings of the deployment. Phone number, email address and PIN are omitted from the response if not set.
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the recovery details. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccountRecoveryGetResponse
{- data ( AccountRecoveryData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AccountRecoveryData
{- phone ( string ): The recovery phone number. Absent if not set.
- email ( string ): The recovery email address. Absent if not set.
- pin ( string ): The recovery PIN, a shared secret a support agent can ask the user for. Absent if not set.
- emailVerified ( boolean ): Whether the stored recovery email address has been verified. Always present; `false` if no recovery email is set.
- phoneVerified ( boolean ): Whether the stored recovery phone number has been verified. Always present; `false` if no recovery phone number is set.
- emailVerificationRequired ( boolean ): Whether the deployment requires the recovery email address to be verified before it is used for recovery.
- phoneVerificationRequired ( boolean ): Whether the deployment requires the recovery phone number to be verified before it is used for recovery.
- smsCodeLength ( integer ): The number of digits of the SMS code sent to verify the recovery phone number. Always present.
-
-
Sends the verification message for the stored contact of the specified channel (
emailorphone), for the first send and for a re-send alike. A new SMS code replaces the previous one; earlier verification links stay valid until they expire. Subject to rate limiting; the stored contact value must already exist for the current user.Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object specifying the channel to send the verification message for.
Content-type: application/json-
AccountRecoverySendVerificationBody
{-
channel
(
string
,
required
, possibleValues:
emailphone
-
channel
(
string
,
required
, possibleValues:
Responses:
200:
A JSON object with `success` set to `true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccountRecoverySuccessResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Always `true`; failures are reported as an error instead.
-
-
Updates the recovery phone number and/or email address for the current user. Only fields present in the request body are updated; omitted fields are left unchanged. A new or changed contact is stored as unverified; no verification message is sent. A client sends it with
action=sendVerification.Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the recovery details to update.
Content-type: application/json-
AccountRecoverySetBody
{- phone ( string ): The recovery phone number, stored in E.164 form. A national number is accepted only if the deployment configures a default phone region; otherwise the number MUST be in international form. Send an empty value or `null` to clear it; omit the property to leave it unchanged.
- email ( string ): The recovery email address, a bare address with a dotted domain; display-name forms are rejected. Send an empty value or `null` to clear it; omit the property to leave it unchanged.
- pin ( string ): The recovery PIN. No whitespace, 1 to 64 characters, surrounding whitespace is trimmed; the value `EMPTY` is rejected. Send an empty value or `null` to clear it; omit the property to leave it unchanged.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
Addressbooks
The addressbooks module is used to access contact information. In contrast to its legacy pendant "contacts", it can also be used to access data stored in external contact provider plugins.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer Body:
Description:No description available
Content-type: application/json-
addressbooksAdvancedSearchBody
{- filter ( array[null] ): A JSON array describing the search term as introducted in Advanced search. If not specified, all contacts contained in the specified folders are returned. Example: `["and",["=", {"field":"last_name"},"Mustermann"],["=",{"field":"first_name"},"Max"]]` which represents 'last_name = "Mustermann" AND first_name = "Max"'. Valid fields are the ones specified in Contact data model. The field 'folder' is not allowed as operand.
- folders ( array[string] ): The identifiers of the folders to restrict the search to. If not defined, all visible folders (optionally filtered through to "folderTypes"]) are considered.
- folderTypes ( addressbooksSearchFolderTypes ): The kind of folders to perform the search in, if no folders are defined through "folders" explicitly.
-
addressbooksSearchFolderTypes - The kind of folders to perform the search in, if no folders are defined through "folders" explicitly.
{- includeUnsubscribed ( boolean ): Controls whether also unsubscribed folders (i.e. not visible in the tree) are considered.
- pickerOnly ( boolean ): Configures if only folders that are explicitly marked for usage in the picker are considered.
Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the contacts.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Responses:
200:
A JSON object containing an array with data for all contacts. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Finds contacts whose anniversary falls into a specified time range.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string start (empty) The lower (inclusive) limit of the requested time range.
query long end (empty) The upper (exclusive) limit of the requested time range.
query long folder (empty) Object ID of the parent folder that is searched. If not set, all visible folders are used.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Finds contacts based on a prefix, usually used to auto-complete e-mail recipients while the user is typing.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string query (empty) The query to search for.
query string email (empty) Whether to only include contacts with at least one e-mail address. Defaults to `true`.
query boolean folder (empty) Object ID of the parent folder that is searched. If not set, all visible folders are used.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified. If this parameter is missing, response is sorted by a user-specific use count of contacts, ID of contacts' parent folder and display name.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Responses:
200:
A JSON object containing the contact data. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Finds contacts whose birthday falls into a specified time range.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string start (empty) The lower (inclusive) limit of the requested time range.
query long end (empty) The upper (exclusive) limit of the requested time range.
query long folder (empty) Object ID of the parent folder that is searched. If not set, all visible folders are used.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Copies the given contacts into the folder given by
folder. Instead of the array, the body MAY be a JSON object with the fieldfolder_id(the folder to copy to); the single contact to copy is then given by the parametersfolder(its folder) andid.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long folder (empty) The target folder.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON object containing an array of contacts and the timestamp of the last modified contact. Each contact is represented as an object with an id. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactMoveResponse
{- data ( array[object] ): Array of contacts. Each contact is described as a JSON object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Deletes the given contacts. Instead of the array, the body MAY be a single JSON object with the id and folder of one contact. The parameters
undoandhardDeleteMUST NOT be combined.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long timestamp (empty) Timestamp of the last update of the deleted contacts.
query long hardDelete (empty) Defaults to `false`. If set to `true`, the contact is deleted permanently. Otherwise, the contact is moved to the trash folder.
query boolean Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
An empty JSON object and the timestamp. If an undo was requested, the response may carry the undo token. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactDeletionsResponse
{- data ( data ): An empty JSON.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested contact.
query string folder (empty) Object ID of the folder who contains the contacts.
query string Responses:
200:
An object containing all data of the requested contact. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactResponse
{- data ( ContactResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ContactResponseData Composed Schema
ALLOF: CommonObjectResponseData RawContactResponseData -
CommonObjectResponseData
{- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactResponseData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- user_id ( integer ): The internal user id, in case the contact represents a user of the *same* context. For a user residing in a different context (a cross-context entity) this field is omitted; use `user_identifier` instead.
-
user_identifier
(
string
,
read only
):
The qualified identifier of the internal user this contact represents, in `
@ ` form (read-only, requested via the `user_identifier` column). It is only present for users the requesting user is permitted to bridge to across context boundaries, and can be used directly as a cross-context principal reference - e.g. as a folder permission's `identifier` - without a separate resolve round-trip. - number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): No description available
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON object containing an array with data for the requested contacts. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Moves the given contacts into the folder given by
folder. Instead of the array, the body MAY be a JSON object with the fieldssource(the folder the contacts are in),target(the folder to move them to) andcontacts(an array of contact IDs);folderis then not evaluated.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long folder (empty) The target folder.
query string timestamp (empty) Timestamp of the last update of the deleted contacts.
query long Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON object containing an array of contacts and the timestamp of the last modified contact. Each contact is represented as an object with an id. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactMoveResponse
{- data ( array[object] ): Array of contacts. Each contact is described as a JSON object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Creates a new contact. This request cannot add contact images. Therefor it is necessary to use the
POSTmethod.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Body:
Description:A JSON object containing the contact's data. The field id is not included.
Content-type: application/json-
ContactRequestData Composed Schema
ALLOF: CommonObjectRequestData RawContactRequestData -
CommonObjectRequestData
{- id ( string ): Object ID.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactRequestData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): The contact image as Base64-encoded string.
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
Responses:
200:
A JSON object containing the ID of the newly created contact. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactUpdateResponse
{- data ( ContactUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ContactUpdateData
{- id ( string ): ID of a newly created contact.
401:
No description available
403:
No description available
-
-
Creates a new contact with contact images. The normal request body must be placed as form-data using the content-type
multipart/form-data. The form fieldjsoncontains the contact's data while the image file must be placed in a file field namedfile(see also File uploads).Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Body:
Description:No description available
Content-type: multipart/form-data-
createContactAdvancedBody
{- json ( string , required ): Represents the normal request body as JSON string containing the contact data as described in the ContactRequestData (see createContact model.
- file ( string , required ): The image file.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred.
Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
Restores contact's data from trash.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the deleted contacts.
query long Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON object containing an array with data for all contacts requested to restore. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactRestoreResponse
{- data ( array[object] ): Array of contacts. Each contact is described as a JSON object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Updates a contact's data. This request cannot change or add contact images. Therefore it is necessary to use the
POSTmethod.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the contacts.
query string id (empty) Object ID of the contact that shall be updated.
query string timestamp (empty) Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail.
query long Body:
Description:A JSON object containing the contact's data. Only modified fields must be specified. To remove some contact image send the image attribute set to null.
Content-type: application/json-
ContactRequestData Composed Schema
ALLOF: CommonObjectRequestData RawContactRequestData -
CommonObjectRequestData
{- id ( string ): Object ID.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactRequestData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): The contact image as Base64-encoded string.
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
Responses:
200:
A JSON object with a timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactUpdateResponse
{- data ( ContactUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ContactUpdateData
{- id ( string ): ID of a newly created contact.
401:
No description available
403:
No description available
-
-
Updates a contact's data and images. The normal request body must be placed as form-data using the content-type
multipart/form-data. The form fieldjsoncontains the contact's data while the image file must be placed in a file field namedfile(see also File uploads).Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the contacts.
query string id (empty) Object ID of the contact that shall be updated.
query string timestamp (empty) Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail.
query long Body:
Description:No description available
Content-type: multipart/form-data-
updateContactAdvancedBody
{- json ( string , required ): Represents the normal request body as JSON string containing the contact data as described in ContactRequestData model. Only modified fields must be specified but at least "{}".
- file ( string , required ): The image file.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred.
Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the contacts.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string timestamp (empty) Timestamp of the last update of the requested contacts.
query long ignore Which kinds of updates should be ignored. Omit this parameter or set it to "deleted" to not have deleted tasks identifier in the response. Set this parameter to `false` and the response contains deleted tasks identifier.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Responses:
200:
An array with new, modified and deleted contacts. New and modified contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted contacts (should the ignore parameter be ever implemented) would be identified by their object IDs as integers, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactUpdatesResponse
{- data ( data ): Array of contacts.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
-
Advertisement
Via the advertisement module the client can retrieve the advertisement configuration-
Returns the advertisement configuration assigned to the user (preview configuration) or, if there is none, the one mapped to the reseller and package of the user's context. Fails with error code
ADVERTISEMENT-0002if no configuration applies.Security:
This security scheme must be used:Name Scopes session
Responses:
200:
'The configuration as a JSON object or JSON array or in case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
AdvertisementConfigResponse
{- data ( any ): The advertisement configuration that applies to the user, as stored by the administrator: either a JSON object or a JSON array.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
Application Data
{- appScope ( string , required ): The scope name of the application
- appName ( string , required ): The user chosen name for the application password
Responses:
200:
A JSON object containing the username and password to use in login. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppPasswordRegistrationResponse
{- data ( data ): Registration response data
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data - Registration response data
{- password ( string ): Password to use for the application login
- login ( string ): The username to use for login
- newLogin ( boolean ): Login may not be same as used by the user to login to appsuite.
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the list of available applications. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppPasswordGetAppsResponse
{- data ( array[AppPasswordApplication] ): Array of application type available.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AppPasswordApplication
{- name ( string ): The application type, to be passed as `appScope` when adding a password
- displayName ( string ): The display name of the application to be shown to the user
- sort ( integer ): Optional sort order
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the existing password list. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppPasswordListResponse
{- data ( array[AppPassword] ): Array of application specific passwords.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AppPassword
{- UUID ( string ): The id of the password
- Scope ( string ): The application type that defines the scope
- Name ( string ): The user defined name of the password
- LastDevice ( string ): The client identifier of the last login using the password
- LastLogin ( integer ): The time the password was last used for login, in milliseconds since 1970-01-01 UTC
- IP ( string ): The IP address of the device used to login
- GeoData ( string ): The location of the last login IP address as "City, Country" or "Country", if a geolocation service is available and knows the address
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
Application Data
{- uuid ( string , required ): The UUID of the password to remove
Responses:
200:
A JSON object containing the result, which should be OK, otherwise error. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppPasswordRemovalResponse
{- data ( data ): Removal response data
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data - Removal response data
{- result ( string ): Result of the operation, always `OK` on success
-
-
-
Attachments
The module attachments allows file attachments to arbitrary objects. An attachment always belongs to an object (called 'attached') in a certain folder of a certain module.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks Name Scopes oauth
read_calendar Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object. Besides the plain numeric ID, the qualified folder ID of a groupware account is accepted, e.g. `con://37/727` for a contact in an address book shared from another context.
query string module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer columns (empty) A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Common object data and Attachment data.
query string sort (empty) The numeric identifier of a column which determines the sort order of the response. Without `order`, the entries are sorted in ascending order.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. Only takes effect together with `sort`; any value other than "desc" sorts in ascending order.
query string Responses:
200:
A JSON object containing an array with data for all attachments. Each array element describes one attachment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AttachmentsResponse
{- data ( array[array[object]] ): Array of attachments. Each attachment is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Note
It is possible to create multiple attachments at once. Therefor add additional form fields and replace "[index]" in
json_[index]andfile_[index]with the appropriate index, likejson_1,file_1. The index always starts with 0 (mandatory attachment object).A file from Drive is attached by a
json_[index]field whose attachment object carries theuriof the Drive file, without a matchingfile_[index]field.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_tasks Name Scopes oauth
write_calendar Name Scopes oauth
write_contacts
Body:
Description:No description available
Content-type: multipart/form-data-
createAttachmentBody
{- json_0 ( string , required ): A JSON string representing an attachment object as described in Attachment data model with at least the fields `folder`, `attached` and `module`.
- file_0 ( string ): The attachment file as per ``. Omitted if `json_0` references a Drive file by `uri`.
Responses:
200:
A HTML page as described in File uploads containing a JSON array of object IDs of the newly created attachments or errors if some occurred.
Content-type: text/html-
Unknown
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_tasks Name Scopes oauth
write_calendar Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object. Besides the plain numeric ID, the qualified folder ID of a groupware account is accepted, e.g. `con://37/727` for a contact in an address book shared from another context.
query string module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer Body:
Description:A JSON array with the identifiers of the attachments that shall be deleted.
Content-type: application/json
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
It is possible to add a filename to the request's URI like
/attachment/{filename}?action=document. The filename may be added to the customary attachment path to suggest a filename to a Save-As dialog.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks Name Scopes oauth
read_calendar Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object. Besides the plain numeric ID, the qualified folder ID of a groupware account is accepted, e.g. `con://37/727` for a contact in an address book shared from another context.
query string module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer id (empty) Object ID of the requested attachment.
query string content_type (empty) If present and its primary type matches the attachment's MIME type, the response declares the given `content_type` in the Content-Type header; otherwise the attachment's MIME type is declared. If absent, the document is sent as `application/octet-stream` download unless `delivery` is "view".
query string delivery "download" sends the document as `application/octet-stream` with a `Content-Disposition: attachment` header. "view" sends it with the MIME type derived from the file name if the content type would otherwise be `application/octet-stream`.
query string scan (empty) Flag to request an Anti-Virus scan for the specified attachment before downloading it.
query boolean Responses:
200:
The raw byte data of the document. The Content-Type of the response depends on the `content_type` and `delivery` parameters.
Content-type: application/octet-stream-
Unknown
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks Name Scopes oauth
read_calendar Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested infoitem.
query string attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object. Besides the plain numeric ID, the qualified folder ID of a groupware account is accepted, e.g. `con://37/727` for a contact in an address book shared from another context.
query string module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer Responses:
200:
A JSON object containing all data of the requested attachment. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AttachmentResponse
{- data ( AttachmentData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AttachmentData
{- folder ( string ): The ID of the first folder in which the attached object resides. Besides the plain numeric ID, the qualified folder ID of a groupware account is accepted, e.g. `con://37/727` for a contact in an address book shared from another context.
- attached ( integer ): The ID of the object this attachment is attached to.
-
module
(
integer
, possibleValues:
147137
* 1 (appointment),
* 4 (task),
* 7 (contact),
* 137 (infostore) - filename ( string ): The filename of the attached file.
- file_size ( integer ): The file size (in bytes) of the attached file.
- file_mimetype ( string ): The MIME type of the attached file.
- rtf_flag ( boolean ): If the attachment is a RTF attachment of outlook (outlook descriptions can be stored as RTF documents).
- comment ( string ): The comment of the attachment.
- file_id ( string ): The internal identifier of the stored file.
- checksum ( string ): The checksum of the attached file.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. - id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks Name Scopes oauth
read_calendar Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object. Besides the plain numeric ID, the qualified folder ID of a groupware account is accepted, e.g. `con://37/727` for a contact in an address book shared from another context.
query string module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer columns (empty) A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Common object data and Attachment data.
query string timezone (empty) The time zone ID in which the `creation_date` column is returned. If not set, the time zone of the user is used.
query string Body:
Description:A JSON array with the identifiers of the requested attachments. Numeric strings are accepted as well.
Content-type: application/json
Responses:
200:
A JSON object containing an array with data for the requested attachments. Each array element describes one attachment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AttachmentsResponse
{- data ( array[array[object]] ): Array of attachments. Each attachment is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks Name Scopes oauth
read_calendar Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object. Besides the plain numeric ID, the qualified folder ID of a groupware account is accepted, e.g. `con://37/727` for a contact in an address book shared from another context.
query string columns (empty) A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Common object data and Attachment data.
query string module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer timestamp (empty) Timestamp of the last update of the requested attachments.
query long ignore Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.
query string sort (empty) The numeric identifier of a column which determines the sort order of the response. Without `order`, the entries are sorted in ascending order.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. Only takes effect together with `sort`; any value other than "desc" sorts in ascending order.
query string timezone (empty) The time zone ID in which the `creation_date` column is returned. If not set, the time zone of the user is used.
query string Responses:
200:
An array with new and deleted attachments. New attachments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted attachments would be identified by their object IDs as integer, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AttachmentUpdatesResponse
{- data ( array[object] ): Array of attachments. New attachments are arrays with the requested columns, deleted attachments are their object IDs as integer.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
The parameters
attached,folderandmoduleare required when the request body contains attachment identifiers, or when there is no body and the attachment is given byid. They are ignored for body elements that are JSON objects with the fieldsfolder,attached,moduleandid, which allows attachments of different objects in one archive.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks Name Scopes oauth
read_calendar Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type attached (empty) The ID of the object to which the attachments belong.
query integer folder (empty) The folder ID of the object. Besides the plain numeric ID, the qualified folder ID of a groupware account is accepted, e.g. `con://37/727` for a contact in an address book shared from another context.
query string module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer id (empty) The ID of a single attachment to put into the archive. Only used if the request has no body.
query integer scan (empty) Flag to request an Anti-Virus scan for the specified attachments before they are put into the archive.
query boolean Body:
Description:A JSON array with the identifiers of the attachments, which shall be put into ZIP archive. Instead of an identifier, an element MAY be a JSON object with the fields `folder`, `attached`, `module` and `id`; a single such object is accepted in place of the array as well.
Content-type: application/json
Responses:
200:
The raw byte data of the ZIP archive.
Content-type: application/zip-
Unknown
-
-
-
Autoconfig
The module autoconfig can be used to request the best available settings for an appropriate mail server.-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
autoConfigBody
{- email ( string ): The email address for which a mail configuration will be discovered. Required unless `oauth` is set.
- password ( string ): The corresponding password for the mail account. Required and MUST NOT be empty unless `oauth` is set.
- force_secure ( boolean ): Enforces a secure connection for configured mail account, default is `true`.
- oauth ( integer ): The optional identifier of the OAuth account to use for authentication. If set to a non-negative integer, the configuration is taken from that OAuth account and `email`, `password` and `force_secure` are ignored; any other value is ignored.
Responses:
200:
A JSON object containing the best available settings for an appropriate mail server for the given email address. The data may be incomplete or empty. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AutoConfigResponse
{- data ( AutoConfigData ): The discovered mail and transport settings. Fields without a discovered value are omitted; the object is empty if no configuration was found.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AutoConfigData - The discovered mail and transport settings. Fields without a discovered value are omitted; the object is empty if no configuration was found.
{- login ( string ): The login name for the mail server.
- transport_login ( string ): The login name for the transport server. Only set if a transport server was discovered.
- mail_server ( string ): The mail server's hostname.
- mail_port ( integer ): The mail server's port.
- mail_protocol ( string ): The mail server's protocol, e.g. `imap`.
- mail_secure ( boolean ): Whether to establish a secure connection to the mail server (SSL, TLS).
- mail_starttls ( boolean ): Whether to establish a secure connection to the mail server via STARTTLS.
- mail_oauth ( integer ): The identifier of the OAuth account to use for the mail server, if any.
- transport_server ( string ): The transport server's hostname.
- transport_port ( integer ): The transport server's port.
- transport_protocol ( string ): The transport server's protocol, e.g. `smtp`.
- transport_secure ( boolean ): Whether to establish a secure connection to the transport server (SSL, TLS).
- transport_starttls ( boolean ): Whether to establish a secure connection to the transport server via STARTTLS. Only set if a transport server was discovered.
- transport_oauth ( integer ): The identifier of the OAuth account to use for the transport server, if any.
- config_source ( string ): The name of the configuration source that provided the settings.
-
-
-
Calendar
The calendar module is used to access calendar data. Deprecated, and provides only access to internally stored appointments from the default calendar provider. Clients should switch to the "chronos" module for new features.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data. The aliases "all" and "list" select the columns 1,20,207,206,2 and 1,20,207,206,2,200,201,202,203,209,221,401,402,102,400,101,220,215,100.
query string start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which start on or after this date are returned.
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which end before this date are returned.
query long folder (empty) Object ID of the folder, whose contents are queried. If not specified or "0", defaults to all calendar folders.
query string recurrence_master (empty) Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated.
query boolean timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string sort (empty) The identifier of a column which determines the sort order of the response.
query string order (empty) "asc" to sort in ascending order, "desc" to sort in descending order (case-insensitive). Any other value sorts in ascending order.
query string Responses:
200:
A JSON object containing an array with appointment data. Each array element describes one appointment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Appointment sequencies are broken up into individual appointments and each occurrence of a sequence in the requested range is returned separately. The appointments are sorted in ascending order by the field `start_date`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse
{- data ( data ): Array of appointments. Each appointment is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the appointment that shall be confirmed.
query string folder (empty) Object ID of the folder who contains the appointments.
query string timestamp (empty) Timestamp of the last update of the appointment. If not specified, no check for concurrent modifications is done.
query long occurrence (empty) The numeric identifier of the occurrence to which the confirmation applies (in case `id` denotes a series appointment).
query integer Body:
Description:A JSON object with the fields `confirmation`, `confirmmessage` and optionally `id`.
Content-type: application/json-
AppointmentConfirmationBody
{-
confirmation
(
integer
,
required
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage ( string , required ): The confirmation message or comment.
- id ( integer ): User ID. Confirming for other users only works for appointments and not for tasks.
-
confirmation
(
integer
,
required
, possibleValues:
Responses:
200:
Nothing, except the standard response object with empty data, the timestamp of the confirmed and thereby updated appointment, and maybe errors. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested appointment.
query string ignore_conflicts (empty) Flag indicating whether conflicts should be ignored or not. Defaults to false.
query boolean folder (empty) Object ID of the folder who contains the appointments.
query string Body:
Description:A JSON object containing the new destination folder id.
Content-type: application/json-
CalendarCopyBody
{- folder_id ( string , required ): ID of the destination folder.
Responses:
200:
A JSON object containing the id of the newly created appointment. If the appointment could not be created due to conflicts, the request fails. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentUpdateResponse
{- data ( AppointmentUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AppointmentUpdateData
{- id ( string ): ID of the appointment.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the deleted appointments.
query long Body:
Description:A JSON array of JSON objects, or a single JSON object, with the id, folder and optionally the recurrence position (if present in an appointment to fully identify it) of the appointments.
Content-type: application/json-
AppointmentDeletionsElement
{- id ( string , required ): The object ID of the appointment.
- folder ( string , required ): The object ID of the related folder.
- recurrence_position ( integer ): 1-based position of an individual appointment in a sequence.
- pos ( integer ): Value of the field recurrence_position, if present in the appointment. Only evaluated if `recurrence_position` is absent.
- recurrence_date_position ( integer ): Date of an individual appointment in a sequence. Only evaluated if `recurrence_position` and `pos` are absent.
Responses:
200:
An empty JSON array. If an appointment was modified after the specified timestamp, the request fails. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentDeletionsResponse
{- data ( array[object] ): An empty array.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Internal user id. Must be obtained from the contact module.
query integer start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned.
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned.
query long type Constant for user or resource (1 for users, 3 for resources).
query integer timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string Responses:
200:
An array of objects identifying the appointments which lie between start and end as described. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentFreeBusyResponse
{- data ( array[AppointmentFreeBusyItem] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AppointmentFreeBusyItem
{- full_time ( boolean ): True if the event is a whole day appointment or task, false otherwise.
- confirmations ( array[TaskConfirmation] ): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- title ( string ): Short description.
- start_date ( integer ): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date ( integer ): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- participants ( array[TaskParticipant] ): Each element identifies a participant, user, group or booked resource.
-
recurrence_type
(
integer
, possibleValues:
01234
-
shown_as
(
integer
, possibleValues:
1234
- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
TaskConfirmation
{-
type
(
integer
, possibleValues:
05
* 0 (user),
* 5 (external user) - mail ( string ): Email address of external participant.
- display_name ( string ): Display name of external participant.
-
status
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message ( string ): Confirm message of the participant.
-
type
(
integer
, possibleValues:
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested appointment.
query string folder (empty) Object ID of the folder who contains the appointments.
query string recurrence_position (empty) Recurrence position of requested appointment.
query integer timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string Responses:
200:
An object containing all data of the requested appointment. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentResponse
{- data ( AppointmentResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AppointmentResponseData
{- recurrence_id ( integer ): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position ( integer ): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position ( integer ): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- change_exceptions ( array[integer] ): An array of Dates, representing all change exceptions of a sequence.
- delete_exceptions ( array[integer] ): An array of Dates, representing all delete exceptions of a sequence.
- location ( string ): The location of the appointment.
-
shown_as
(
integer
, possibleValues:
1234
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone ( string ): The timezone of the appointment.
- recurrence_start ( integer ): Start of a sequence without time.
- ignore_conflicts ( boolean ): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title ( string ): Short description.
- start_date ( integer ): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date ( integer ): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note ( string ): Long description.
- alarm ( integer ): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type
(
integer
, possibleValues:
01234
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days ( integer ): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month ( integer ): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month ( integer ): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval ( integer ): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until ( integer ): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification ( boolean ): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants ( array[TaskParticipant] ): Each element identifies a participant, user, group or booked resource.
- users ( array[TaskUser] ): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences ( integer ): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer ( string ): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence ( integer ): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations ( array[TaskConfirmation] ): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId ( integer ): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal ( string ): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId ( integer ): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time ( boolean ): `True` if the event is a whole day appointment or task, `false` otherwise.
- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
-
TaskUser
{- id ( integer ): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name ( string ): Displayable name of the participant.
-
confirm
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage ( string ): Confirm message of the participant.
-
TaskConfirmation
{-
type
(
integer
, possibleValues:
05
* 0 (user),
* 5 (external user) - mail ( string ): Email address of external participant.
- display_name ( string ): Display name of external participant.
-
status
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message ( string ): Confirm message of the participant.
-
type
(
integer
, possibleValues:
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the appointment series.
query string folder (empty) Object ID of the folder who contains the appointments.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data. The aliases "all" and "list" select the columns 1,20,207,206,2 and 1,20,207,206,2,200,201,202,203,209,221,401,402,102,400,101,220,215,100.
query string timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string Responses:
200:
A JSON object containing an array with appointment data. Each array element describes one appointment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse
{- data ( data ): Array of appointments. Each appointment is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which start on or after this date are returned.
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which end before this date are returned.
query long timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string Responses:
200:
A JSON object containing an array with the length of the number of days between `start` and `end`. Meaning, each element corresponds with one day in the range that was queried, explaining whether there is an appointment on this day (true) or not (false). In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentInfoResponse
{- data ( array[boolean] ): Array with elements that correspond with days in the time range, explaining whether a day has appointments or not.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data. The aliases "all" and "list" select the columns 1,20,207,206,2 and 1,20,207,206,2,200,201,202,203,209,221,401,402,102,400,101,220,215,100.
query string recurrence_master (empty) Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated.
query boolean timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string Body:
Description:A JSON array of JSON objects with the id, folder and optionally either recurrence_position or recurrence_date_position of the requested appointments.
Content-type: application/json-
AppointmentListElement
{- id ( string , required ): The object ID of the appointment.
- folder ( string , required ): The object ID of the related folder.
- recurrence_position ( integer ): 1-based position of an individual appointment in a sequence.
- pos ( integer ): Value of the field recurrence_position. Only evaluated if `recurrence_position` is absent.
- recurrence_date_position ( integer ): Date of an individual appointment in a sequence.
Responses:
200:
A JSON object containing an array with data for the requested appointments. Each array element describes one appointment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse
{- data ( data ): Array of appointments. Each appointment is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string Body:
Description:A JSON object containing the appointment's data. The field `folder_id` is required.
Content-type: application/json-
AppointmentRequestData
{- recurrence_id ( integer ): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position ( integer ): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position ( integer ): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- location ( string ): The location of the appointment.
-
shown_as
(
integer
, possibleValues:
1234
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone ( string ): The timezone of the appointment.
- recurrence_start ( integer ): Start of a sequence without time.
- ignore_conflicts ( boolean ): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title ( string ): Short description.
- start_date ( integer ): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date ( integer ): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note ( string ): Long description.
- alarm ( integer ): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type
(
integer
, possibleValues:
01234
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days ( integer ): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month ( integer ): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month ( integer ): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval ( integer ): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until ( integer ): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification ( boolean ): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants ( array[TaskParticipant] ): Each element identifies a participant, user, group or booked resource.
- users ( array[TaskUser] ): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences ( integer ): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer ( string ): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence ( integer ): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations ( array[TaskConfirmation] ): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- principal ( string ): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- full_time ( boolean ): `True` if the event is a whole day appointment or task, `false` otherwise.
- id ( string ): Object ID.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
-
TaskUser
{- id ( integer ): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name ( string ): Displayable name of the participant.
-
confirm
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage ( string ): Confirm message of the participant.
-
TaskConfirmation
{-
type
(
integer
, possibleValues:
05
* 0 (user),
* 5 (external user) - mail ( string ): Email address of external participant.
- display_name ( string ): Display name of external participant.
-
status
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message ( string ): Confirm message of the participant.
-
type
(
integer
, possibleValues:
Responses:
200:
'A JSON object containing the id of the newly created appointment if it was created successfully. If the appointment could not be created due to conflicts, the response body is an object with the field `conflicts`, which is an array of appointment objects which caused the conflict. Each appointment object which represents a resource conflict contains an additional field `hard_conflict` with the Boolean value `true`. If the user does not have read access to a conflicting appointment, only the fields `id`, `start_date`, `end_date`, `shown_as` and `participants` are present and the field `participants` contains only the participants which caused the conflict. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
AppointmentCreationResponse
{- data ( AppointmentCreationData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AppointmentCreationData
{- id ( string ): ID of the appointment.
- conflicts ( array[AppointmentCreationConflict] ): An array of appointments which cause conflicts.
-
AppointmentCreationConflict
{- hard_conflict ( boolean ): `true` if appointment represents a resource conflict.
- recurrence_id ( integer ): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position ( integer ): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position ( integer ): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- change_exceptions ( array[integer] ): An array of Dates, representing all change exceptions of a sequence.
- delete_exceptions ( array[integer] ): An array of Dates, representing all delete exceptions of a sequence.
- location ( string ): The location of the appointment.
-
shown_as
(
integer
, possibleValues:
1234
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone ( string ): The timezone of the appointment.
- recurrence_start ( integer ): Start of a sequence without time.
- ignore_conflicts ( boolean ): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title ( string ): Short description.
- start_date ( integer ): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date ( integer ): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note ( string ): Long description.
- alarm ( integer ): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type
(
integer
, possibleValues:
01234
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days ( integer ): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month ( integer ): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month ( integer ): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval ( integer ): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until ( integer ): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification ( boolean ): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants ( array[TaskParticipant] ): Each element identifies a participant, user, group or booked resource.
- users ( array[TaskUser] ): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences ( integer ): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer ( string ): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence ( integer ): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations ( array[TaskConfirmation] ): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId ( integer ): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal ( string ): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId ( integer ): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time ( boolean ): `True` if the event is a whole day appointment or task, `false` otherwise.
- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
-
TaskUser
{- id ( integer ): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name ( string ): Displayable name of the participant.
-
confirm
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage ( string ): Confirm message of the participant.
-
TaskConfirmation
{-
type
(
integer
, possibleValues:
05
* 0 (user),
* 5 (external user) - mail ( string ): Email address of external participant.
- display_name ( string ): Display name of external participant.
-
status
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message ( string ): Confirm message of the participant.
-
type
(
integer
, possibleValues:
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data. The aliases "all" and "list" select the columns 1,20,207,206,2 and 1,20,207,206,2,200,201,202,203,209,221,401,402,102,400,101,220,215,100.
query string start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned.
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned.
query long limit (empty) Limits the number of returned objects to the given value.
query integer sort (empty) The identifier of a column which determines the sort order of the response.
query string order (empty) "asc" to sort in ascending order, "desc" to sort in descending order (case-insensitive). Any other value sorts in ascending order.
query string timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string Responses:
200:
A JSON object containing an array with appointment data. Appointments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse
{- data ( data ): Array of appointments. Each appointment is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type uid (empty) The UID that shall be resolved.
query string Responses:
200:
A JSON object containing the related object ID in the field `id`. If no object exists with the specified UID or in case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentUpdateResponse
{- data ( AppointmentUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AppointmentUpdateData
{- id ( string ): ID of the appointment.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data. The aliases "all" and "list" select the columns 1,20,207,206,2 and 1,20,207,206,2,200,201,202,203,209,221,401,402,102,400,101,220,215,100.
query string timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string sort (empty) The identifier of a column which determines the sort order of the response.
query string order (empty) "asc" to sort in ascending order, "desc" to sort in descending order (case-insensitive). Any other value sorts in ascending order.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Body:
Description:A JSON object containing search parameters.
Content-type: application/json-
AppointmentSearchBody
{- pattern ( string ): Search pattern to find appointments. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.
- folder ( string ): Object ID of the folder to search in. If not specified, all calendar folders are searched.
Responses:
200:
A JSON object containing an array with matching appointments. Appointments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse
{- data ( data ): Array of appointments. Each appointment is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested appointment.
query string folder (empty) Object ID of the folder who contains the appointments.
query string timestamp (empty) Timestamp of the updated appointment. If the appointment was modified after the specified timestamp, then the update must fail.
query long timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string Body:
Description:A JSON object containing the appointment's data. The field `recurrence_id` is always present if it is present in the original appointment. The field `recurrence_position` is present if it is present in the original appointment and only this single appointment should be modified. The field `id` is not present because it is already included as a parameter. Other fields are present only if modified.
Content-type: application/json-
AppointmentRequestData
{- recurrence_id ( integer ): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position ( integer ): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position ( integer ): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- location ( string ): The location of the appointment.
-
shown_as
(
integer
, possibleValues:
1234
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone ( string ): The timezone of the appointment.
- recurrence_start ( integer ): Start of a sequence without time.
- ignore_conflicts ( boolean ): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title ( string ): Short description.
- start_date ( integer ): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date ( integer ): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note ( string ): Long description.
- alarm ( integer ): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type
(
integer
, possibleValues:
01234
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days ( integer ): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month ( integer ): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month ( integer ): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval ( integer ): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until ( integer ): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification ( boolean ): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants ( array[TaskParticipant] ): Each element identifies a participant, user, group or booked resource.
- users ( array[TaskUser] ): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences ( integer ): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer ( string ): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence ( integer ): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations ( array[TaskConfirmation] ): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- principal ( string ): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- full_time ( boolean ): `True` if the event is a whole day appointment or task, `false` otherwise.
- id ( string ): Object ID.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
-
TaskUser
{- id ( integer ): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name ( string ): Displayable name of the participant.
-
confirm
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage ( string ): Confirm message of the participant.
-
TaskConfirmation
{-
type
(
integer
, possibleValues:
05
* 0 (user),
* 5 (external user) - mail ( string ): Email address of external participant.
- display_name ( string ): Display name of external participant.
-
status
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message ( string ): Confirm message of the participant.
-
type
(
integer
, possibleValues:
Responses:
200:
A JSON object containing the id of the updated appointment, or of the change exception created by the update. If the appointment could not be updated due to conflicts, the response body is an object with the field `conflicts`, which is an array of appointment objects which caused the conflict. Each appointment object which represents a resource conflict contains an additional field `hard_conflict` with the Boolean value `true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentCreationResponse
{- data ( AppointmentCreationData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
AppointmentCreationData
{- id ( string ): ID of the appointment.
- conflicts ( array[AppointmentCreationConflict] ): An array of appointments which cause conflicts.
-
AppointmentCreationConflict
{- hard_conflict ( boolean ): `true` if appointment represents a resource conflict.
- recurrence_id ( integer ): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position ( integer ): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position ( integer ): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- change_exceptions ( array[integer] ): An array of Dates, representing all change exceptions of a sequence.
- delete_exceptions ( array[integer] ): An array of Dates, representing all delete exceptions of a sequence.
- location ( string ): The location of the appointment.
-
shown_as
(
integer
, possibleValues:
1234
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone ( string ): The timezone of the appointment.
- recurrence_start ( integer ): Start of a sequence without time.
- ignore_conflicts ( boolean ): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title ( string ): Short description.
- start_date ( integer ): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date ( integer ): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note ( string ): Long description.
- alarm ( integer ): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type
(
integer
, possibleValues:
01234
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days ( integer ): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month ( integer ): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month ( integer ): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval ( integer ): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until ( integer ): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification ( boolean ): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants ( array[TaskParticipant] ): Each element identifies a participant, user, group or booked resource.
- users ( array[TaskUser] ): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences ( integer ): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer ( string ): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence ( integer ): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations ( array[TaskConfirmation] ): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId ( integer ): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal ( string ): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId ( integer ): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time ( boolean ): `True` if the event is a whole day appointment or task, `false` otherwise.
- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
-
TaskUser
{- id ( integer ): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name ( string ): Displayable name of the participant.
-
confirm
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage ( string ): Confirm message of the participant.
-
TaskConfirmation
{-
type
(
integer
, possibleValues:
05
* 0 (user),
* 5 (external user) - mail ( string ): Email address of external participant.
- display_name ( string ): Display name of external participant.
-
status
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message ( string ): Confirm message of the participant.
-
type
(
integer
, possibleValues:
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data. The aliases "all" and "list" select the columns 1,20,207,206,2 and 1,20,207,206,2,200,201,202,203,209,221,401,402,102,400,101,220,215,100.
query string timestamp (empty) Timestamp of the last update of the requested appointments.
query long folder (empty) Object ID of the folder, whose contents are queried. If not specified, all accessible calendar folders are considered, and the parameters `start` and `end` are mandatory.
query string start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned. This parameter is optional in case a certain folder is queried, but mandatory if all accessible calendar folders are supposed to be considered (folder not specified).
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned. This parameter is optional in case a certain folder is queried, but mandatory if all accessible calendar folders are supposed to be considered (folder not specified).
query long ignore (empty) A comma-separated list of the kinds of updates to ignore. "deleted" causes deleted object IDs not to be returned, "changed" causes new and modified appointments not to be returned.
query string recurrence_master (empty) Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated.
query boolean timezone (empty) Time zone ID to use instead of the user's time zone when converting the date and time values of the request and the response.
query string sort (empty) The identifier of a column which determines the sort order of the response.
query string order (empty) "asc" to sort in ascending order, "desc" to sort in descending order (case-insensitive). Any other value sorts in ascending order.
query string Responses:
200:
An array with new, modified and deleted appointments. New and modified appointments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted appointments are identified by their object IDs as integers, without being part of a nested array. Appointment sequencies are broken up into individual appointments and each modified occurrence of a sequence in the requested range is returned separately. The appointments are sorted in ascending order by the field start_date. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentUpdatesResponse
{- data ( data ): Array of appointments.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
Capabilities
Provides access to capabilities, i.e. modules or features that are available on the backend and the user has access to.-
Returns the capabilities of the session user. No session is required: without a
sessionparameter the capabilities that apply to no particular user and context are returned. If a session is given, it is verified like on any other call.Security:
One of these security schemes must be used:Name Scopes None
Anonymous access is allowed. Name Scopes session
Responses:
200:
A JSON object containing an array with data for all capabilities. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CapabilitiesResponse
{- data ( array[CapabilityData] ): An array of JSON objects each describing one capability.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CapabilityData
{- id ( string ): The identifier of the capability.
- attributes ( attributes ): A JSON object holding properties of the capability. Always empty.
-
-
Looks up a capability of the session user. No session is required: without a
sessionparameter the capability is looked up among those that apply to no particular user and context. If a session is given, it is verified like on any other call.Security:
One of these security schemes must be used:Name Scopes None
Anonymous access is allowed. Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the capability
query string Responses:
200:
A JSON object containing the data of the capability or an empty result, if capability not available. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CapabilityResponse
{- data ( CapabilityData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CapabilityData
{- id ( string ): The identifier of the capability.
- attributes ( attributes ): A JSON object holding properties of the capability. Always empty.
-
-
-
-
Returns all trusted and untrusted SSL certificates
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing an array with data for all certificates. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CertificatesAllResponse
{- data ( array[CertificateStoreData] ): An array of certificate objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CertificateStoreData
{- fingerprint ( string , required ): The fingerprint of the SSL certificate
- hostname ( string , required ): The hostname which the endpoint call was done, or the hostname for which the exception is valid
- trusted ( boolean , required ): Whether the SSL certificate is trusted by the user
-
-
Deletes the fingerprint/hostname combination
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type fingerprint (empty) The fingerprint of the SSL certificate
query string hostname (empty) The hostname for which the SSL certificate is trusted/not trusted. If absent, then all entries for the specified fingerprint will be deleted
query string Responses:
200:
An empty JSON object. In case of errors the responsible fields in the response are filled (see Error handling).
-
Deletes all fingerprint/hostname combinations for the user
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
An empty JSON object. In case of errors the responsible fields in the response are filled (see Error handling).
-
Examines an untrusted SSL certificate from a previous endpoint call. The SSL certificate is cached for a brief amount of time by the middleware (2 minutes).
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type fingerprint (empty) The fingerprint of the SSL certificate
query string Responses:
200:
A JSON object containing the data of the certificate. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CertificateExamineResponse
{- data ( CertificateExamineData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CertificateExamineData
{- fingerprint ( string ): The fingerprint of the SSL certificate
- issuedOn ( integer ): The timestamp of the date when the SSL certificate was issued
- expiresOn ( integer ): The timestamp of the date when the SSL certificate expires
- hostname ( string ): The hostname which the endpoint call was done, or the hostname for which the exception is valid
- commonName ( string ): The hostname for which the SSL certificate is valid (Comon Name)
- issuedBy ( string ): Information on the authority that issued the SSL certificate
- signature ( string ): The signature of the SSL certificate
- serialNumber ( string ): The serial number of the SSL certificate
- failureReason ( string ): The reason why the SSL certificate is not trusted
- expired ( boolean ): Whether the SSL certificate is expired
- trusted ( boolean ): Whether the SSL certificate is trusted by the user
-
-
Gets the fingerprint/hostname combination for the specified hostname, or all combinations for the specified fingerprint if no hostname is given.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type fingerprint (empty) The fingerprint of the SSL certificate
query string hostname (empty) The hostname for which the SSL certificate is trusted/not trusted. If absent or empty, then all entries for the specified fingerprint will be returned
query string Responses:
200:
A JSON object containing the certificate data: a single object if `hostname` is set, otherwise an array with all entries for the fingerprint. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CertificateGetResponse
{- data ( object ): A single certificate object if `hostname` was set, otherwise an array of certificate objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Unknown Composed Schema
ONEOF: CertificateStoreData Object A single certificate object if `hostname` was set, otherwise an array of certificate objects. -
CertificateStoreData
{- fingerprint ( string , required ): The fingerprint of the SSL certificate
- hostname ( string , required ): The hostname which the endpoint call was done, or the hostname for which the exception is valid
- trusted ( boolean , required ): Whether the SSL certificate is trusted by the user
-
-
Stores the fingerprint of an SSL certificate in combination with a hostname as either trusted or untrusted. If the
fingerprintparameter is set, thehostnameandtrustparameters are required and the request body is ignored. Otherwise the certificate is read from the request body, which is then required.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type fingerprint (empty) The fingerprint of the SSL certificate. If absent or empty, the certificate is read from the request body.
query string hostname (empty) The hostname for which to trust/untrust the SSL certificate. Required if `fingerprint` is set.
query string trust (empty) Whether the combination of the SSL certificate and the hostname is to be trusted. Required if `fingerprint` is set.
query boolean Body:
Description:A JSON object describing the SSL certificate. Only used if the `fingerprint` parameter is absent or empty.
Content-type: application/json-
CertificateStoreData
{- fingerprint ( string , required ): The fingerprint of the SSL certificate
- hostname ( string , required ): The hostname which the endpoint call was done, or the hostname for which the exception is valid
- trusted ( boolean , required ): Whether the SSL certificate is trusted by the user
Responses:
200:
An empty JSON object. In case of errors the responsible fields in the response are filled (see Error handling).
-
-
Updates the exception for an SSL certificate in combination with a hostname as either trusted or untrusted
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type fingerprint (empty) The fingerprint of the SSL certificate
query string hostname (empty) The hostname for which to trust/untrust the SSL certificate
query string trust (empty) Whether the combination of the SSL certificate and the hostname is to be trusted
query boolean Responses:
200:
An empty JSON object. In case of errors the responsible fields in the response are filled (see Error handling).
-
-
Chronos
The chronos module is used to access calendar data. In contrast to its legacy pendant "calendar", it offers a more standards compliant data model, richer features and can also be used to access data stored in external calendar provider plugins.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Body:
Description:The properties to check.
Content-type: application/json-
CalendarAccountProbeData
{- com.openexchange.calendar.extendedProperties ( CalendarAccountProbeExtendedProperties ): Contains the extended properties for calendar folders
- com.openexchange.calendar.config ( CalendarAccountProbeConfig ): Holds arbitrary, provider-specific configuration data for calendar accounts.
- com.openexchange.calendar.provider ( string ): Denotes the identifier of the underlying calendar provider.
- title ( string ): The title of the calendar
-
CalendarAccountProbeExtendedProperties - Contains the extended properties for calendar folders
{- description ( description ): The description of the folder
- usedForSync ( usedForSync ): Indicates whether the folder should be considered for synchronization with external clients or not.
- color ( color ): Indicates the color the folder should be displayed with
- scheduleTransp ( scheduleTransp ): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
-
description - The description of the folder
{- value ( string ): No description available
-
usedForSync - Indicates whether the folder should be considered for synchronization with external clients or not.
{- value ( string ): No description available
-
color - Indicates the color the folder should be displayed with
{- value ( string ): No description available
-
scheduleTransp - Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
{- value ( string ): No description available
-
CalendarAccountProbeConfig - Holds arbitrary, provider-specific configuration data for calendar accounts.
{- uri ( string ): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval ( integer ): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login ( string ): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password ( string ): (ical provider only) An optional password for the subscribed ICal feed.
Responses:
200:
A JSON object describing the possible calendar accounts. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CalendarAccountProbeResponse
{- data ( CalendarAccountProbeData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarAccountProbeData
{- com.openexchange.calendar.extendedProperties ( CalendarAccountProbeExtendedProperties ): Contains the extended properties for calendar folders
- com.openexchange.calendar.config ( CalendarAccountProbeConfig ): Holds arbitrary, provider-specific configuration data for calendar accounts.
- com.openexchange.calendar.provider ( string ): Denotes the identifier of the underlying calendar provider.
- title ( string ): The title of the calendar
-
CalendarAccountProbeExtendedProperties - Contains the extended properties for calendar folders
{- description ( description ): The description of the folder
- usedForSync ( usedForSync ): Indicates whether the folder should be considered for synchronization with external clients or not.
- color ( color ): Indicates the color the folder should be displayed with
- scheduleTransp ( scheduleTransp ): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
-
description - The description of the folder
{- value ( string ): No description available
-
usedForSync - Indicates whether the folder should be considered for synchronization with external clients or not.
{- value ( string ): No description available
-
color - Indicates the color the folder should be displayed with
{- value ( string ): No description available
-
scheduleTransp - Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
{- value ( string ): No description available
-
CalendarAccountProbeConfig - Holds arbitrary, provider-specific configuration data for calendar accounts.
{- uri ( string ): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval ( integer ): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login ( string ): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password ( string ): (ical provider only) An optional password for the subscribed ICal feed.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string recurrenceId (empty) The recurrence identifier.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string alarmId (empty) The id of the alarm which shall be acknowledged.
query integer expand (empty) Defines if event series should be extended or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Responses:
200:
A JSON object containing containing the result of the acknowledge operation. If the event has no alarm with the given id, the response carries no data. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
401:
No description available
403:
No description available
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only alarms that should trigger on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only alarms that should trigger on or after this date are returned.
query string actions (empty) A comma separated list of alarm actions. Only this actions will be returned.
query string Responses:
200:
An array of alarm trigger objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AlarmTriggerResponse
{- data ( array[object] ): An array of alarm trigger objects
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string recurrenceId (empty) The recurrence identifier.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string alarmId (empty) The id of the alarm which shall be snoozed.
query integer snoozeTime (empty) The duration in milliseconds the alarm should be snoozed by. E.g. 300000 for 5 minutes.
query long Responses:
200:
A JSON object containing containing the result of the snooze operation. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string timestamp (empty) Timestamp of the last update of the event.
query long expand (empty) Defines if event series should be extended or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:A JSON array containing the alarms.
Content-type: application/json-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
401:
No description available
403:
No description available
-
-
Note: Not available at the moment. The
chronos/availabilitymodule is not registered, so the request falls through to thechronosmodule, whereaction=getis the event lookup and fails for the missing event identifier.Security:
This security scheme must be used:Name Scopes session
Responses:
200:
An object containing all data of the requested availability. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetAvailabilityResponse
{- data ( array[Available] ): Array of Available blocks
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Available
{- id ( integer ): The identifier of the available block.
- user ( integer ): The user identifier of the available block.
- uid ( string ): The unique identifier of the available block.
- created ( integer ): The creation date.
- modified ( integer ): The last modification time.
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- start ( DateTime ): No description available
- end ( DateTime ): No description available
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
-
Sets/Overwrites the availability of the user. If an empty payload is sent, then the availability of the user is deleted/unset.
Note: Not available at the moment. The
chronos/availabilitymodule is not registered, so the request falls through to thechronosmodule, which has nosetaction.Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the availability's data.
Content-type: application/json-
AvailabilityData
{- availableTimes ( array[Available] ): The available blocks of the user.
-
Available
{- id ( integer ): The identifier of the available block.
- user ( integer ): The user identifier of the available block.
- uid ( string ): The unique identifier of the available block.
- created ( integer ): The creation date.
- modified ( integer ): The last modification time.
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- start ( DateTime ): No description available
- end ( DateTime ): No description available
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
Responses:
200:
'If the availability of the user was successfully set, then an empty JSON object is returned to indicate that. In case of errors the responsible fields in the response are filled (see Error handling).'
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the attendee wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the attendee wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
As organizer, accept an unsolicited reply and add the previously uninvited attendee to the event, along with its indicated participation status.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An analyze response describing what the ical intends to do and handling suggestions.
Content-type: application/json-
AnalyzeResponse
{- data ( Analysis ): An analysis array.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Updates appointment(s) in the calendar based on the iMIP REQUEST mail by the organizer.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
-
-
Creates new appointment(s) in the calendar based on the iMIP REQUEST mail by the organizer.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
-
-
Updates an event based on an iMIP COUNTER mail containing proposed changes by an attendee.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
-
-
Removes an an event based on an iMIP CANCEL mail by the organizer.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
-
-
Takes over the attendee's participation status based on the iMIP REPLY mail by the attendee.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
-
-
(DEPRECATED) Applies the iMIP message to the calendar of the session user, the same way as the deprecated
updateaction does.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the calendar user wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the attendee wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
Trigger a
CANCELmessage for an unknown calendar user aka. party crasher that wanted to participate in certain appointment(s).Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the organizer wants to leave for the rejected attendee
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
Information about the status of the generated mail
Content-type: application/json-
DeclinePartyCrasherResponse
{- data ( SchedulingMailResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
SchedulingMailResponseData
{- recipient ( CalendarUser ): No description available
-
status
(
string
, possibleValues:
PENDINGSENTDELIVEREDUNKOWN_CALENDAR_USERNO_PRIVILEGESNOT_DELIVEREDNO_TRANSPORTREJECTED
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
-
-
As organizer, rejects the changes proposed by an incoming iMIP
COUNTERmessage, which triggers aDECLINECOUNTERmessage to the sender of the proposal.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the calendar user wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the attendee wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
Marks an messages as processed, thus getting rid of potential harmeful iMIP messages
Security:
This security scheme must be used:Name Scopes session
Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An empty response if the operation was successful
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Applies the iMIP message to the calendar of the session user. The action has no dedicated handling and behaves like the deprecated
updateaction.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the calendar user wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
Applies the iMIP message to the calendar of the session user. The action has no dedicated handling and behaves like the deprecated
updateaction.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the calendar user wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the attendee wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
(DEPRECATED) Updates an event based on an update sent by the organizer or a reply sent to the organizer.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type message (empty) The comment the attendee wants to transmit
query string timezone (empty) The timezone to show the resulting events in. Defaults to the time zone of the session user.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the folder.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse
{- data ( array[EventData] ): The created or updated event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in RFC 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in RFC 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASCfor ascending, orDESCfor descending.query string sort (empty) Specifies the field for sorting the results.
query string expand (empty) Defines if event series should be extended or not.
query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Body:
Description:A JSON object describing the search term as introducted in Advanced search. Example: `{"filter":["and",["=", {"field":"summary"},"FooBar Meeting"],["=",{"field":"createdBy"},"1337"]]}` which represents 'summary = "FooBar Meeting" AND createdBy = "1337"'. Valid fields are the following ones specified in Event data model: `summary`, `location`, `description`, `organizer`, `attendees`, `url`, `uid`, `timestamp`, `created`, `createdBy`, `lastModified`, `modifiedBy`, `sequence`, `categories`, `color`, `rrule`, `transp`, `status`, `class`. Calendar users in `organizer` / `attendees` can either be matched by their internal entity identifier, or based on their email address. The fields `startDate` and `endDate` can be defined with the `rangeStart` and `rangeEnd` URL parameters. In order to restrict the search to specific folders, the folder identifiers can be supplied through the JSON array "folders". If "folders" is omitted, all visible calendars are searched. The `filter` may be omitted or empty, in which case the queried time range is the only restriction besides the searched folders.
Content-type: application/json-
Unknown
Responses:
200:
A JSON object containing an array with events. The events are sorted in ascending order by the field `start_date`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultipleFolderEventsResponse
{- data ( array[MultipleEventData] ): No description available
-
MultipleEventData
{- error ( error ): No description available
- folder ( string ): No description available
- events ( array[EventData] ): No description available
- timestamp ( integer ): The timestamp of the event.
-
error
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events. If not set, all events of the default account will be queried.
query string rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASCfor ascending, orDESCfor descending.query string sort (empty) Specifies the field for sorting the results.
query string expand (empty) Defines if event series should be extended or not.
query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean updateCache (empty) If set to 'true' the cache will be forced to be updated (e. g. by contacting the underlying external account)
query boolean Responses:
200:
A JSON object containing an array with events. The events are sorted in ascending order by the field `start_date`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventsResponse
{- data ( array[EventData] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASCfor ascending, orDESCfor descending.query string sort (empty) Specifies the field for sorting the results.
query string expand (empty) Defines if event series should be extended or not.
query boolean updateCache (empty) If set to 'true' the cache will be forced to be updated (e. g. by contacting the underlying external account)
query boolean Body:
Description:A JSON object containing the folder ids.
Content-type: application/json-
ChronosFolderBody
{- folders ( array[string] ): The folder ids to query.
Responses:
200:
A JSON object containing an array with events. The events are sorted in ascending order by the field `start_date`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultipleFolderEventsResponse
{- data ( array[MultipleEventData] ): No description available
-
MultipleEventData
{- error ( error ): No description available
- folder ( string ): No description available
- events ( array[EventData] ): No description available
- timestamp ( integer ): The timestamp of the event.
-
error
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string recurrenceRange (empty) The targeted range specified with the recurrence id.
query string expand (empty) Defines if event series should be extended or not.
query boolean fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string timestamp (empty) Timestamp of the last update of the event.
query long rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:A JSON object containing the new organizer and an optional comment.
Content-type: application/json-
changeOrganizerBody
{- organizer ( CalendarUser ): No description available
- comment ( string ): Optional comment for the acting organizer to provide information about the reason of transmitting the event to an new organizer. This will not be peristed and is just used to inform the attendees via notification mails
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the events.
query long rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean fields (empty) A comma-separated list of field identifiers.
query string pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string harddelete (empty) If set to `true`, the events are deleted permanently. Otherwise (the default), and if the calendar Trash folder feature is enabled for the user, events are moved into the user's Trash folder instead, from where they can be restored again. This is a best-effort behavior: events for which soft deletion is not possible or not supported - as well as events already located in the Trash folder - are deleted permanently.
query boolean undo (empty) Requests an *undoable* deletion, with the given time-to-live in milliseconds. If the deletion was performed as a soft delete, the response carries an `undo_token` that can be passed to the `undo` module within that lifetime in order to reverse the deletion (which restores the affected events out of the Trash folder). A token is only handed out for deletions that are actually reversible this way: soft-deleted events - a single event, or a whole series including its change exceptions - as well as soft-deleted occurrences and overridden instances, including ones of a series that already had another occurrence trashed by an earlier request. Deleting **several occurrences of the same series in a single request** yields a token as well: those occurrences share one entry in the Trash folder, and the undo restores each of them from it. Combining it with `harddelete` yields no token, as a permanent deletion cannot be reversed. Trashing an invitation declines it towards the organizer, and the undo gives back the answer the deletion took. Only a series organized by an internal user that held occurrences answered differently than the series itself comes back awaiting an answer instead, as after a restore without an answer.
query long Body:
Description:A JSON array of JSON objects with the id and optionally the recurrence position of the event.
Content-type: application/json-
deleteEventBody
{- events ( array[EventId] ): No description available
- comment ( string ): Optional comment for the user to provide information about the deletion of the event. This will not be peristed and is just used to inform the attendees via notifications and invitation mails.
-
EventId
{- folder ( string , required ): The identifier of the folder.
- id ( string , required ): The identifier of the event.
- recurrenceId ( string ): The recurrence id of this recurrence.
- recurrenceRange ( string ): The targeted range specified with the recurrence id.
Responses:
200:
An json object containing the deleted event if the deletion was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosMultipleCalendarResultResponse
{- data ( CalendarResults ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- folderId ( string ): The folder id.
- id ( string ): The event id.
- recurrenceId ( string ): The recurrence id.
- error ( Error ): In case an error occurs this field contains error relevant data.
- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
Error - In case an error occurs this field contains error relevant data.
{- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): An array of error params.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
401:
No description available
403:
No description available
-
-
Forwards event(s) to given recipients, efficiently creating an iMIP mail.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string recurrenceId (empty) The recurrence identifier.
query string Body:
Description:A JSON object containing information about the event to forward.
Content-type: application/json-
EventForwardMailBody
{- recipients ( array[CalendarUser] ): The recipients of the forwarded mail.
- comment ( string ): A dedicated comment to set within the mail. The comment can be used to leave a note to the recipient(s) of the forwarded mail.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
Responses:
200:
An object containing information about the send status of the forwarded mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventForwardedResponse
{- data ( array[SchedulingMailResponseData] ): Detailed information about the forwarded event
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
SchedulingMailResponseData
{- recipient ( CalendarUser ): No description available
-
status
(
string
, possibleValues:
PENDINGSENTDELIVEREDUNKOWN_CALENDAR_USERNO_PRIVILEGESNOT_DELIVEREDNO_TRANSPORTREJECTED
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type from (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string until (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string maskUid (empty) The unique identifier of an existing event or event series to ignore when calculating free/busy information. This is useful when a client wants to find a new timeslot for an existing event.
query string merge (empty) Set to
trueto merge the resulting free/busy-times.query boolean Body:
Description:A JSON object containing the attendees' data.
Content-type: application/json-
FreeBusyBody
{- attendees ( array[Attendee] ): A list of attendees
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
Responses:
200:
An object containing an array of json objects for each attendee containing a list of free-busy times. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosFreeBusyResponse
{- data ( array[ChronosFreeBusyResponseData] ): An array of free-busy response data.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ChronosFreeBusyResponseData
{- attendee ( Attendee ): No description available
- freeBusyTime ( array[object] ): The free-busy times of the attendee.
- warnings ( array[object] ): No description available
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string recurrenceId (empty) The recurrence identifier.
query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Responses:
200:
An object containing all data of the requested event. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventResponse
{- data ( EventData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
401:
No description available
403:
No description available
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string managedId (empty) The identifier of the attachment.
query integer recurrenceId (empty) The recurrence identifier.
query string scan (empty) Flag to request an Anti-Virus scan for the attachment before downloading it.
query boolean Responses:
200:
The raw byte data of the attachment. The response type for the HTTP request is set accordingly to the defined MIME type for this attachment.
Content-type: application/octet-stream-
Unknown
-
-
Looks up details for a specific recurrence from an event series. This includes the series master, as well as the recurrence event, along with information whether it is an overridden and/or re-scheduled occurrence compared to the regular series.
This can either be performed for an event series identifier along with the targeted recurrence id, or for an already overridden instance. Note: Only available for the internal groupware calendar provider.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string recurrenceId (empty) The recurrence identifier.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Responses:
200:
A JSON object holding the data for the recurrence and the corresponding series master event, as well as information whether the recurrence denotes an overridden and/or re-scheduled occurrence compared to the regular series. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosRecurrenceInfoResponse
{- data ( Recurrence Info ): Details for a specific recurrence from an event series. This includes the series master, as well as the recurrence event, along with information whether it is an overridden and/or re-scheduled occurrence compared to the regular series.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Recurrence Info - Details for a specific recurrence from an event series. This includes the series master, as well as the recurrence event, along with information whether it is an overridden and/or re-scheduled occurrence compared to the regular series.
{- overridden ( boolean ): Indicates whether the event recurrence was overridden, hence it represents a change exception event or not.
- rescheduled ( boolean ): Indicates whether the event recurrence was re-scheduled, hence it represents a change exception event, and it was changed in a substantial way compared to its original occurrence.
- recurrenceEvent ( EventData ): No description available
- masterEvent ( EventData ): No description available
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Body:
Description:A JSON array of JSON objects with the id and optionally the recurrence position of the event.
Content-type: application/json-
EventId
{- folder ( string , required ): The identifier of the folder.
- id ( string , required ): The identifier of the event.
- recurrenceId ( string ): The recurrence id of this recurrence.
- recurrenceRange ( string ): The targeted range specified with the recurrence id.
Responses:
200:
A JSON object containing an array with events. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventsResponse
{- data ( array[EventData] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type checkConflicts (empty) Whether to check for conflicts or not.
query boolean folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string timestamp (empty) Timestamp of the last update of the event.
query long targetFolder (empty) ID of the target folder.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
401:
No description available
403:
No description available
-
-
Gets all events where the session userattendee's participation status equals "NEEDS-ACTION".
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string includeDelegates (empty) Specifies whether also events of other attendees where the user has delegate scheduling permissions for are included in the result or not. If omitted, the response data is not grouped by attendee, but is a plain array of the session user's events needing action.
query boolean fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASCfor ascending, orDESCfor descending.query string sort (empty) Specifies the field for sorting the results.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Responses:
200:
An object containing an array of json objects for each attendee containing a list of events needing actions. For series events, overridden instances that are not considered as re-scheduled are hidden implicitly in the result. In case of errors, the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosNeedsActionResponse
{- data ( array[ChronosNeedsActionResponseData] ): An array of needs-action response data.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ChronosNeedsActionResponseData
{- attendee ( Attendee ): No description available
- events ( array[EventData] ): An array containing the events needing actions associated with the corresponding attendee. For series events, overridden instances that are not considered as re-scheduled are hidden implicitly in the result.
- warnings ( array[object] ): No description available
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string dontResolveEntities (empty) Flag to disable implicit resolving of external organizer and/or attendees to internal entities by their URI value. Defaults to
false, which means that all entities are resolved if the event is organized internally, i.e. the organizer refers to an context-internal user. Otherwise, only the effective calendar user is resolved.query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string trackAttendeeUsage (empty) Configures whether newly added attendees from creations and updates should be tracked automatically, which includes adding new entries in the collected contacts folder for new external calendar users (utilizing the contact collector service), as well as incrementing the use counts for already known internal and external entities (using the object use count service). Defaults to
true, hence needs to be disabled explicitly.query boolean fields (empty) A comma-separated list of field identifiers.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean usedGroups (empty) In case the client resolves groups into single attendees the client can provide the ids of the groups he used (resolved) as a comma separated list. This way the usecount of those groups will be increased.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:A JSON object containing the event's data.
Content-type: application/json-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
Responses:
200:
'A JSON object containing the newly created event, if it was created successfully. If the event could not be created due to conflicts, the response body is an object with the field `conflicts`, which holds informations about the conflict. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
401:
No description available
403:
No description available
-
-
Note
It is possible to create multiple attachments at once. Therefore add additional form fields and replace "[index]" in
file_[index]with the appropriate index, likefile_1. The index always starts with 0 (mandatory attachment object). There can only be one json payload describing the EventData, the rest json payloads (if present) will simply be ignored.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string dontResolveEntities (empty) Flag to disable implicit resolving of external organizer and/or attendees to internal entities by their URI value. Defaults to
false, which means that all entities are resolved if the event is organized internally, i.e. the organizer refers to an context-internal user. Otherwise, only the effective calendar user is resolved.query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string trackAttendeeUsage (empty) Configures whether newly added attendees from creations and updates should be tracked automatically, which includes adding new entries in the collected contacts folder for new external calendar users (utilizing the contact collector service), as well as incrementing the use counts for already known internal and external entities (using the object use count service). Defaults to
true, hence needs to be disabled explicitly.query boolean fields (empty) A comma-separated list of field identifiers.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean usedGroups (empty) In case the client resolves groups into single attendees the client can provide the ids of the groups he used (resolved) as a comma separated list. This way the usecount of those groups will be increased.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:No description available
Content-type: multipart/form-data-
NewRequestBody
{- json_0 ( string , required ): A JSON object containing the event's data as described in EventData.
- file_0 ( string , required ): The attachment file as per ``.
Responses:
200:
A HTML page containing the newly created event or in case of errors an error object (see File uploads. If the event could not be created due to conflicts, the HTML Page contains an object with the field `conflicts`, which holds informations about the conflict.
Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
Resolves an event identifier to an event, and returns it in the perspective of the current session's user or another specific calendar user, i.e. having an appropriate parent folder identifier assigned.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the event.
query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean sequence (empty) The expected sequence number to match. If set, a resolved event is only returned if the stored sequence number is equal to this value.
query integer user (empty) Can be used to explicitly specify the calendar user under whose perspective the event identifier should be resolved. If not set, the current session user is assumed implicitly.
The value can either be supplied using the numerical user identifier, or by the calendar user address URI.query string considerHidden (empty) If set to
true, also events that are hidden due to previously being deleted by an attendee are considered.query boolean com.openexchange.mail.conversion.fullname (empty) Can optionally be used to supply the folder where the scheduling/notification mail is located in that references the event identifier to resolve (e.g.
If not supplied, the user's default mail account is assumed as origin.default4/INBOX).query string com.openexchange.mail.conversion.mailid (empty) Can optionally be used to supply the id of the scheduling/notification mail that references the event identifier to resolve (e.g.
Only relevant if3253).com.openexchange.mail.conversion.fullnameis also set).query string Responses:
200:
An object containing all data of the requested event, or an empty result if no event was found. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventResponse
{- data ( EventData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
401:
No description available
403:
No description available
-
-
Restores an event that was previously soft-deleted into the calendar Trash folder back into its origin folder (the counterpart of a soft delete). The event is referenced as it currently lives in the Trash folder (via the
folderandidparameters); the restore target is resolved server-side from the event's stored origin, falling back to the calendar user's default folder if the origin folder no longer exists, or if the user may no longer add appointments to it - a restore puts the appointment back as if it were created there, so it is bound by the same permission a create is.recurrenceIdaddresses a single binned date, and applies where the Trash entry holds individual dates of a series that is otherwise still live - the entry a soft delete of one occurrence leaves behind. Where the entry is a whole object - a single appointment, or a series binned as a unit - there is no such thing as restoring one date out of it, and the parameter is ignored: the entry comes back whole, master and change exceptions together, which is what the evaluation reports asshape. A listing of the Trash folder withexpand=truehands a binned series out as its occurrences, so naming one of them is the ordinary way to address it and needs no case of its own in the client. A date that names nothing the entry holds is refused withCAL-4061, by the evaluation and the restore alike.A restored appointment occupies its time slot again - while it sat in the Trash it did not, so the slot may have been booked in the meantime. Pass
checkConflicts=trueto be told about that: the response then carries the conflicts instead of the changes - inconflicts, where a create or update reports them, and inrestore.conflictsbesiderestore.statusrefused- and the event stays in the Trash. Without the parameter the restore is applied regardless, which is the documented behavior for a resource that is no longer free (it comes back pending re-confirmation rather than blocking the restore).The response always carries a
restoreobject:statussaying what became of the request,outcomesaying the way it went,alternativessaying which ways were available - one of them markedrecommended- andverdictssaying why. The alternatives also carry alabeland aconsequenceeach, andsituationcarries a sentence per thing standing in the way, all in the session user's language: a client can render a question from them - the sentences plus a button per alternative - without a case of its own for each way a restore can go, the way it renders a scheduling analysis. There is no separate call to ask what a restore would do - the same request either evaluates or acts:- without
dryRun, the appointment comes back wherever that needs no question, andrestoresays what happened; where a decision is needed nothing is written and the request fails with the code naming what stands in the way - carryingrestorewithstatus: refusedand thealternativesall the same, so a client that acted opportunistically can ask the user without a second request. - with
dryRun=true, the restore is only evaluated: nothing is written,statusispreviewed, andalternativescarry the ways it could go - so a client can show the consequence before the user commits to it. - with
outcome=<one of the alternatives>, the client commits to one of those ways and it is carried out. Choosing something the evaluation does not offer for that appointment fails withCAL-4125rather than doing something else instead. WherekeepInTrashis among thealternatives- i.e. wherever the evaluation asks the user to decide rather than simply recommending a restore - choosing it is a legitimate answer and reportsstatus: keptInTrashwithout an error. It is deliberately not offered for an unambiguous restore, where there is nothing to decide and a client that wants to leave the appointment alone simply does not send the request. Combining an outcome withdryRun=truetries a choice out without writing anything.
An appointment that came out of a public calendar which has been deleted since is a case of its own, because a personal calendar cannot describe an appointment with participants: it would come back belonging to one person while still naming everybody, in a shape nothing can open or delete. So where it lands becomes a decision. The evaluation picks the most plausible public calendar the user may add appointments to - the one they administer before one they may merely write to, and alphabetically among equals - names it in
targetFolder, and offersoutcome=restoreIntoAnotherPublicFolderto accept it. A client that would rather let the user pick sendstargetFolder=<folder>instead, which overrides the suggestion and is held to the same standard. Until one or the other arrives the restore is refused withCAL-41211, and where there is no public calendar left to offer at all, withCAL-4129.Either refusal also offers
outcome=restoreWithoutParticipants, so that this case always has a way out - it is offered here and nowhere else, a restore that needs no decision having nothing to escape from: the appointment comes back into the user's own calendar without the other participants, and is a copy rather than the meeting. Nothing is sent - the participants were told it was off when it was binned, and this does not put it back for them - so an appointment still naming them would be a meeting only one person knows about. Taking them off is also what makes it describable by a personal calendar at all, the two calendar kinds differing in exactly this.targetFoldermay name which of the user's own calendars it lands in; a public one is refused withCAL-41210, since the appointment is filed per participant again.A resource the appointment holds is a case of its own. Binning the appointment released the room - it is not being used for a meeting that is not happening - so restoring is where the booking has to be made again, and somebody may hold it by then. That is refused with
CAL-4127and the two answers that exist:restoreWithoutResourceconcedes the room and brings the appointment back without it,restoreWithDeclinedResourcebrings it back keeping the resourceDECLINED, so which room it wanted is still on record and can be asked for again. Unlike every other attendee, a resource is re-checked whether or notcheckConflictswas requested, because this is a consequence of the bin rather than a courtesy.A soft-deleted event is stored under a fresh unique identifier, so that binning an appointment no longer keeps its identity occupied - re-creating, re-importing or
PUTting the sameuidagain works while the original sits in the Trash. The restore re-establishes the original identifier, and consequently fails with error codeCAL-4123if another appointment has taken it in the meantime; the error message names that appointment. The appointment can then be brought back as a separate one - keeping the identifier it was assigned in the Trash - by repeating the request withoutcome=restoreUnderNewIdentity. Likewise, an occurrence whose series is in the Trash as well fails withCAL-4124, pointing at restoring that series first, and comes back detached withoutcome=restoreAsStandalone. Nothing is written when the restore is refused.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean dryRun (empty) Evaluates the operation and reports what it would do, without changing anything. Only supported where documented at the respective action.
query boolean outcome Commits to one of the ways a restore was offered, taken verbatim from an `outcome` in `restore.alternatives`. Left out, the server does whatever needs no question and refuses where a decision is needed; set to something the evaluation does not offer for that appointment, the request fails with `CAL-4125` rather than doing something else instead. `rejoinAsAddedDate` is reserved and currently never offered; a date of a series other people are on is offered as `restoreInPlace` only while the series still schedules what the date remembers of it, and as `restoreAsStandalone` otherwise; `restoreRebased` where an edited date's series changed the length of its dates meanwhile.
query string targetFolder (empty) Names the calendar to restore the appointment into. Applies to any trashed appointment, but only where the restore genuinely has a calendar to decide - which is where the one it was deleted out of has been deleted as well, or the user may no longer add appointments to it. Spelled the way folder identifiers are spelled everywhere else, and taken verbatim from `restore.targetFolder` where the client simply accepts the suggestion. The calendar has to be one the user may add appointments to, never one shared with them by somebody else, and of the kind that can describe the appointment: a public one where the appointment has participants and came out of a public calendar, and *not* a public one where it is filed per participant, which is the shape a personal calendar gives it. Converting between those two shapes is a move rather than a restore. Anything else fails with `CAL-41210`. The parameter is never quietly ignored - every case where it cannot be honored is refused with `CAL-41210`, including the ones where a restore places nothing of its own: when the calendar it was deleted out of is still there the appointment goes back into that one, a restore being a way back rather than a move; when a single occurrence rejoins a series that is still live - or a copy the appointment it was taken from - it is rendered from what it rejoins, wherever that lives, so naming a calendar would mean moving the *series* because one of its dates came back; and when it accompanies `outcome=keepInTrash`, where nothing is restored into the named calendar at all.
query string scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string timestamp (empty) Timestamp of the last update of the event (as it lives in the Trash folder). Not needed with `dryRun=true`, which writes nothing and therefore has nothing to protect against a concurrent modification.
query long rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean Body:
Description:Optionally, the answer the calendar user is giving the appointment as they bring it back - the same object `action=updateAttendee` takes, so a client has one contract for "this is my answer". Binning an invitation declines it, so a restore has to say what the user is now. Without a body it comes back *unanswered* (`NEEDS-ACTION`) and the organizer is told nothing, because there is no way in iCalendar for a person to say "I have not answered yet" - the organizer keeps the decline until a real answer arrives. Supplying an `attendee.partStat` of `ACCEPTED`, `TENTATIVE` or `DECLINED` makes the restore that answer, and the reply travels immediately - which is the only way the organizer learns the appointment is back. An `attendee.comment` rides along with it ("changed my mind"), and `transp` overrides whether the appointment blocks the user's time. Where the user takes part again in a meeting another user of the context organizes, the answer is applied only if the organizer has not changed the meeting meanwhile into a time it did not cover, or into something it was not: busy or free, its status, classification or attendee privileges, or its organizer. Otherwise it comes back unanswered, as without a body. A meeting that only got shorter keeps the answer. Only the calendar user's own participation can be set this way; any other attendee in the object is ignored. With `dryRun=true` the answer is evaluated but nothing is written and nothing is sent.Content-type: application/json-
AttendeeAndAlarm - The calendar user's own answer to an event: their participation status and comment, the alarms they want for it, and whether it blocks their time. Shared by `action=updateAttendee` and `action=restore`, so that a client has one contract for "this is my answer" regardless of which of the two it is sending.
{- attendee ( Attendee ): No description available
- alarms ( array[Alarm] ): A list of alarms for this event.
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
Responses:
200:
A JSON object containing the result of the restore, or - if `checkConflicts` was requested and the restored appointment's slot is no longer free - the list of conflicts, in which case the restore was not applied and the `restore` object says so with status `refused`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosRestoreResultResponse - The result of a restore out of the calendar Trash folder: the changes it made, plus `restore` saying what became of it and what that was based on. Deliberately its own response rather than the shared calendar result, so that only this action documents - and returns - the restore-specific part.
{- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- restore ( RestoreDetails ): What became of a restore out of the calendar Trash folder, the way it went or would go, and the evaluation behind it. Present on every response of `action=restore` that evaluated the appointment, including a refusal - a refused restore writes nothing and carries the ways out here (see `status`). Errors that end the request before or outside that evaluation carry none: an appointment or folder that cannot be found, missing permissions, a concurrent modification, and an `outcome` that is not on offer (`CAL-4125`).
- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
RestoreDetails - What became of a restore out of the calendar Trash folder, the way it went or would go, and the evaluation behind it. Present on every response of `action=restore` that evaluated the appointment, including a refusal - a refused restore writes nothing and carries the ways out here (see `status`). Errors that end the request before or outside that evaluation carry none: an appointment or folder that cannot be found, missing permissions, a concurrent modification, and an `outcome` that is not on offer (`CAL-4125`).
{-
status
(
string
, possibleValues:
appliedpreviewedkeptInTrashrefused
-
outcome
(
string
, possibleValues:
restoreInPlacerestoreRebasedrejoinAsAddedDaterestoreAsStandalonerestoreIntoAnotherPublicFolderrestoreWithoutParticipantsrestoreUnderNewIdentityrestorePartiallyrestoreWithoutResourcerestoreWithDeclinedResourcekeepInTrash
- alternatives ( array[object] ): Every way the restore could go for this appointment, one entry each. `outcome` is handed back verbatim as the `outcome` request parameter to commit to it; asking for one that is not listed here fails with `CAL-4125`. `keepInTrash` means doing nothing is a legitimate answer, and is offered whenever the user should deal with something else first. `rejoinAsAddedDate` is reserved and currently never listed. A date of a series that other people are on is offered its way back into that series (`restoreInPlace`) only while the series still schedules what the date remembers of it - the same organizer, and dates shown as busy or free alike, with the same status, classification and attendee privileges; its wording, the people on it and the length of its dates may have changed, the date coming back saying what the series says now and asking whoever is on it now - and comes back as `restoreAsStandalone` next to it otherwise, the series keeping its exception date. `restoreRebased` is listed, and recommended, for an edited date whose series changed the length of its dates meanwhile, next to `restoreInPlace` keeping the slot the date was recorded with; `restorePartially` where an entry holds several dates of which the series produces only some. Each entry also carries the words to ask about it with, in the session user's language, so a client can render a question - the `situation` sentences plus a button per alternative - without a case of its own for each way a restore can go.
- situation ( array[string] ): Why there is anything to choose: one sentence per thing standing in the restore's way, in the session user's language and in the order they are worth reading. Absent where nothing does, which is the common case - an appointment that can simply come back raises no question. One sentence is not an obstacle but a consequence for other people, and comes last: restoring a meeting the user organizes invites the other participants again, since binning it canceled it for them. Dates are deliberately not mentioned in these sentences: `verdicts.occurrences` carries the recurrence identifiers, so a client renders them in its own locale, time zone and regional settings.
- verdicts ( verdicts ): Why the restore can go the ways it can. An appointment in the trash stays as it was while it sits there, but the calendar around it does not, so these are the questions that had to be answered about it - and they are what a client phrases its message to the user from.
- targetFolder ( string ): The identifier of the folder the appointment would be restored into - the one it was deleted from, or, where that folder no longer exists or the user may no longer add appointments to it, the user's default calendar folder. For an appointment with participants that came out of a public calendar a personal folder will not do, so this names the public calendar suggested instead, to be handed back as the `targetFolder` request parameter (or accepted with `outcome=restoreIntoAnotherPublicFolder`).
- trashedUid ( string ): The unique identifier the appointment had before it was binned. Absent for an object that was not renamed, such as the trash entry of a single occurrence.
- conflictingEvent ( EventData ): No description available
- takenResources ( array[Attendee] ): The resources the appointment holds whose slot has been taken by something else while the appointment sat in the Trash. Present exactly when `alternatives` offers `restoreWithoutResource` and `restoreWithDeclinedResource`, and what lets a client name the room it is asking about rather than asking about "a resource".
- conflicts ( array[ChronosConflictDataRaw] ): The appointments already in the way of the one coming back. Present only when the request asked for conflicts to be checked (`checkConflicts=true`), and empty where there are none. Written in the same shape `chronos/itip?action=analyze` uses, so a client parses them with what it already has. Reported here rather than raised as `CAL-4091`/`CAL-4092`: on a dry run the caller wants to show what stands in the way beside the ways out of it, and a preview that failed instead of describing would be a preview of nothing. Committing to the restore still refuses on conflicts, exactly as creating or updating an appointment does.
-
status
(
string
, possibleValues:
-
verdicts - Why the restore can go the ways it can. An appointment in the trash stays as it was while it sits there, but the calendar around it does not, so these are the questions that had to be answered about it - and they are what a client phrases its message to the user from.
{-
shape
(
string
, possibleValues:
singleEventseriesplainOccurrenceoverriddenInstanceshadow
-
identity
(
string
, possibleValues:
notApplicableoriginalAvailableoriginalTaken
-
anchor
(
string
, possibleValues:
notApplicableliveSlotAvailableliveSlotGonesourceInTrashsourceGone
- sourceEntry ( sourceEntry ): The trash entry of the series, present only where `anchor` is `sourceInTrash` - the entry that restoring first is the way round for. Nothing on the date's own entry leads to it, since a binned series is stored under a fresh unique identifier, so this is how a client finds it. Restoring it brings the series back without the date that was binned on its own; that date stays in the trash and can then be restored into the series.
- occurrences ( array[object] ): Per trashed date, whether the live series can take that date back - so a client can say which dates would come back where. Only present when the trash entry holds more than one date.
-
shape
(
string
, possibleValues:
-
sourceEntry - The trash entry of the series, present only where `anchor` is `sourceInTrash` - the entry that restoring first is the way round for. Nothing on the date's own entry leads to it, since a binned series is stored under a fresh unique identifier, so this is how a client finds it. Restoring it brings the series back without the date that was binned on its own; that date stays in the trash and can then be restored into the series.
{- folder ( string ): The identifier of the folder the entry is listed in.
- id ( string ): The identifier of the entry, to be passed as `id` when restoring it.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
401:
No description available
403:
No description available
- without
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string recurrenceRange (empty) The targeted range specified with the recurrence id.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string dontResolveEntities (empty) Flag to disable implicit resolving of external organizer and/or attendees to internal entities by their URI value. Defaults to
false, which means that all entities are resolved if the event is organized internally, i.e. the organizer refers to an context-internal user. Otherwise, only the effective calendar user is resolved.query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string trackAttendeeUsage (empty) Configures whether newly added attendees from creations and updates should be tracked automatically, which includes adding new entries in the collected contacts folder for new external calendar users (utilizing the contact collector service), as well as incrementing the use counts for already known internal and external entities (using the object use count service). Defaults to
true, hence needs to be disabled explicitly.query boolean fields (empty) A comma-separated list of field identifiers.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean usedGroups (empty) In case the client resolves groups into single attendees the client can provide the ids of the groups he used (resolved) as a comma separated list. This way the usecount of those groups will be increased.
query string timestamp (empty) Timestamp of the last update of the event.
query long sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string harddelete (empty) If set to `true`, occurrences that this update takes out of an event series are dropped permanently. Otherwise (the default), and if the calendar Trash folder feature is enabled for the user, a copy of each such occurrence is put into the user's Trash folder, from where it can be restored again. An update takes an occurrence out of a series by adding its recurrence identifier to the series master's `deleteExceptionDates`, which drops that occurrence just as deleting it would - so the same best-effort soft deletion applies here as for `?action=delete`, on the same terms: occurrences for which soft deletion is not possible or not supported are dropped permanently. Conversely, removing a recurrence identifier from `deleteExceptionDates` puts that occurrence back into the series, and any copy the Trash folder still holds of it is withdrawn. The parameter has no effect on updates that do not take any occurrence out of a series.
query boolean Body:
Description:A JSON object containing the event's data.
Content-type: application/json-
updateEventBody
{- event ( EventData ): No description available
- comment ( string ): Optional comment for the user to provide information about the update of the event. This will not be peristed and is just used to inform the attendees via notifications and invitation mails
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
401:
No description available
403:
No description available
-
-
Note:
It is possible to update multiple attachments at once. Therefore add additional form fields and replace "[index]" in
file_[index]with the appropriate index, likefile_1. The index always starts with 0 (mandatory attachment object). There can only be one json payload describing the EventData, the rest json payloads (if present) will simply be ignored. If the event already has attachments, then for each of those attachments their valid manageId must be provided as part of the attachment metadata. The absense of an already existing attachment for the event will result in the deletion of that attachment.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string recurrenceRange (empty) The targeted range specified with the recurrence id.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string dontResolveEntities (empty) Flag to disable implicit resolving of external organizer and/or attendees to internal entities by their URI value. Defaults to
false, which means that all entities are resolved if the event is organized internally, i.e. the organizer refers to an context-internal user. Otherwise, only the effective calendar user is resolved.query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string trackAttendeeUsage (empty) Configures whether newly added attendees from creations and updates should be tracked automatically, which includes adding new entries in the collected contacts folder for new external calendar users (utilizing the contact collector service), as well as incrementing the use counts for already known internal and external entities (using the object use count service). Defaults to
true, hence needs to be disabled explicitly.query boolean fields (empty) A comma-separated list of field identifiers.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean usedGroups (empty) In case the client resolves groups into single attendees the client can provide the ids of the groups he used (resolved) as a comma separated list. This way the usecount of those groups will be increased.
query string timestamp (empty) Timestamp of the last update of the event.
query long harddelete (empty) If set to `true`, occurrences that this update takes out of an event series are dropped permanently. Otherwise (the default), and if the calendar Trash folder feature is enabled for the user, a copy of each such occurrence is put into the user's Trash folder, from where it can be restored again. See the corresponding `PUT` operation for details.
query boolean Body:
Description:No description available
Content-type: multipart/form-data-
UpdateRequestBody
{- json_0 ( string , required ): A JSON object containing the event's data as described in EventData.
- file_0 ( string , required ): The attachment file as per ``.
Responses:
200:
A HTML page containing the result of the update or in case of errors an error object (see File uploads).
Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string timestamp (empty) Timestamp of the last update of the event.
query long checkConflicts (empty) Whether to check for conflicts or not.
query boolean rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean sentBy (empty) Can be used to explicitly specify the calendar user that is acting on behalf of the calendar user for the scope of the current calendar operation. If set, it'll be picked up as originator for generated notification and scheduling (through MIME header
If not set, the on behalf relationship is implicitly determined based on the actual folder view. The value can either be supplied using the numerical user identifier, or by the calendar user address URI.Sender), and for theSENT-BYparameter inORGANIZERorATTENDEEproperties within generated iTIP data.query string Body:
Description:A JSON object with the field `attendee` and `alarms`.
Content-type: application/json-
AttendeeAndAlarm - The calendar user's own answer to an event: their participation status and comment, the alarms they want for it, and whether it blocks their time. Shared by `action=updateAttendee` and `action=restore`, so that a client has one contract for "this is my answer" regardless of which of the two it is sending.
{- attendee ( Attendee ): No description available
- alarms ( array[Alarm] ): A list of alarms for this event.
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse
{- data ( CalendarResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CalendarResult
{- meta ( meta ): What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
- created ( array[EventData] ): The created events.
- updated ( array[EventData] ): The updated events.
- deleted ( array[EventData] ): The deleted events.
- conflicts ( array[ChronosConflictDataRaw] ): An array of conflicts.
-
meta - What the operation has to say beyond the events it changed. Present only when it holds something, so a client can act on a member it knows and ignore the rest; further members may be added here without the rest of the result changing shape. Currently one member is defined: * `trashFolderId` - the calendar Trash folder that was *provisioned while carrying out this very operation*, as a composite folder identifier. The Trash folder is created on the calendar user's first soft deletion, so it appears in the folder tree as a side effect of a request about appointments; naming it here lets a client hang it into a tree it already holds instead of reloading the tree to discover it. It carries the same value as the `chronos/trashFolderId` setting of the `io.ox/calendar` JSlob. Present only on the result of the request that created the folder - a later deletion by the same user carries nothing.
{- trashFolderId ( string ): The Trash folder provisioned while carrying out this operation, as a composite folder identifier.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
-
Conflict - A conflict.
{- hard_conflict ( boolean ): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees ( array[Attendee] ): An array of conflicting attendees.
- event ( EventData ): No description available
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the folder who contains the events.
query string timestamp (empty) Timestamp of the last update of the requested events.
query long rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASCfor ascending, orDESCfor descending.query string sort (empty) Specifies the field for sorting the results.
query string expand (empty) Defines if event series should be extended or not.
query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Responses:
200:
A JSON object containing two arrays. One with new and updated events and another one with deleted events. The events are sorted in ascending order by the field `start_date`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosUpdatesResponse
{- data ( UpdatesResult ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
UpdatesResult
{- newAndModified ( array[EventData] ): The new and updated events.
- deleted ( array[EventData] ): The deleted events.
-
EventData
{- startDate ( DateTime ): No description available
- endDate ( DateTime ): No description available
- created ( integer ): The creation time.
- dtstamp ( integer ): The date and time the event was last revised.
- timestamp ( integer , read only ): The timestamp of the event.
- categories ( array[string] ): An array of categories.
- filename ( string ): The filename of the event.
- uid ( string ): The universal identifier of the event.
- description ( string ): The event's description.
- attendees ( array[Attendee] ): The attendees of the event.
- alarms ( array[Alarm] ): The alarms of the event for the current user.
- lastModified ( integer ): The last modification time.
- modifiedBy ( CalendarUser ): No description available
- summary ( string ): The summary of the event.
- sequence ( integer ): The sequence number of the event.
- id ( string ): The identifier of the event.
- class ( string ): The classification of the event.
- organizer ( CalendarUser ): No description available
-
transp
(
string
, possibleValues:
OPAQUETRANSPARENT
- priority ( integer ): The priority of the event, which is a value in the range 0 to 9. See RFC 5545 chapter 3.8.1.9 for more information.
- color ( string ): The color of the event as a css3 color definition.
- folder ( string ): The folder identifier.
- trashedFrom ( string , read only ): The folder the event was soft-deleted out of, present while it sits in the calendar user's Trash folder and absent on anything that is not in one. Reported on the event whichever row stores it, so a client reads it in one place.
- trashedBy ( CalendarUser ): No description available
- trashedAt ( integer , read only ): When the event was soft-deleted. Set under the same condition as `trashedFrom`. Together with the calendar user's retention window (`chronos/trashRetentionDays`) this is what says how long the entry has left before it is removed for good.
- createdBy ( CalendarUser ): No description available
- changeExceptionDates ( array[string] ): An array of changed recurrences.
- deleteExceptionDates ( array[string] ): An array of deleted recurrences.
- recurrenceDates ( array[string] ): An array of recurrence dates, i.e. individual occurrences added to the recurrence set besides the ones generated by the recurrence rule. A recurring event series may consist of recurrence dates only, without any recurrence rule (see RFC 5545 chapter 3.8.5.2).
- recurrenceId ( string ): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- calendarUser ( CalendarUser ): No description available
- rrule ( string ): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- extendedProperties ( extendedProperties ): No description available
- geo ( Geo ): The geolocation of the event.
- attendeePrivileges ( string ): The privileges attendees have on an event.
- url ( string ): The uniform resource locator (URL) of the event.
- seriesId ( string ): The identifier of the event series.
- status ( string ): The status of the event.
- location ( string ): The location of the event.
- flags ( array[string] ): Flags indicating certain aspects of an event, as described in Event Flags.
- conferences ( array[Conference] ): The conferences of the event.
-
DateTime
{- value ( string ): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid ( string ): A timezone identifier. E.g. "America/New_York"
-
Attendee
{-
cuType
(
string
, possibleValues:
INDIVIDUALGROUPRESOURCEROOMUNKNOWN
- folder ( string ): The folder of the attendee.
- partStat ( string ): The participation status.
-
role
(
string
, possibleValues:
CHAIRREQ-PARTICIPANTOPT-PARTICIPANTNON-PARTICIPANT
CHAIR- The chair of the calendar entity.REQ-PARTICIPANT- A participant whose participation is required.OPT-PARTICIPANT- A participant whose participation is optional.NON-PARTICIPANT- A participant who is copied for information purposes only.
- comment ( string ): The comment of the attendee.
- rsvp ( boolean ): The rsvp expectation of the attendee.
- member ( array[string] ): Each element represents the ID of a group or list in which the attendee is a member.
- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- contact ( contact ): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource ( resource ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group ( group ): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
cuType
(
string
, possibleValues:
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
contact - In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
{- first_name ( string ): The first name of the attendee.
- last_name ( string ): The last name of the attendee.
- title ( string ): The title of the attendee.
- display_name ( string ): The display name of the attendee.
- image1_url ( string ): The url to the image of the attendee.
-
resource - In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
group - In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
extendedParameters - Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
{- key ( string ): The name of the parameter
-
Alarm
{- uid ( string ): The uid of the alarm.
- id ( integer ): The id of the alarm.
- action ( string ): The action of the alarm.
- relatedTo ( AlarmRelatedTo ): The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
- acknowledged ( integer ): The time of the acknowledgement.
- trigger ( Trigger ): The trigger of the alarm.
- attachments ( array[ChronosAttachment] ): An array of attachments.
- attendees ( array[Attendee] ): An array of attendees.
- summary ( string ): The summary of this alarm.
- description ( string ): The description of this alarm.
- extendedProperties ( extendedProperties ): No description available
-
AlarmRelatedTo - The relationship of this alarm to another alarm, e.g. the snoozed alarm a snooze alarm belongs to.
{- relType ( string ): The relationship type, e.g. `SNOOZE`.
- value ( string , required ): The uid of the related alarm.
-
Trigger - The trigger of the alarm.
{- duration ( string ): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
-
related
(
string
, possibleValues:
STARTEND
- dateTime ( string ): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment
{- filename ( string ): The name of the attachment file.
- fmtType ( string ): The format type of the attachment.
- size ( integer ): The size of the attachment in bytes.
- created ( integer ): The creation date.
- managedId ( integer ): The manage id of the attachment.
-
uri
(
string
):
A uniform resource identifier to the attachment file. Drive attachments are also allowed in this attribute. A drive attachment is referenced via it's full URI with the following structure drive://
/ / , e.g. drive://34/34%2F1. The part defaults to the latest version of the file. Attachments of scheduling messages analyzed through the "chronos/itip" module may use a "cid" URL (RFC 2392), e.g. cid:4711@1b5da26c-..., referencing the MIME part of the underlying email that carries the attachment's binary data via its "Content-ID" header.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
Geo - The geolocation of the event.
{- lat ( number ): The latitude geographic coordinate.
- long ( number ): The longitude geographic coordinate.
-
Conference
{- id ( integer ): The internal identifier of the conference.
- uri ( string ): The URI to access the conference.
- label ( string ): The label used to convey additional details on the use of the URI.
- features ( array[string] ): The features describing the key capabilities of the conference system.
- extendedParameters ( extendedParameters ): Non-standard (X-) parameters of a calendar user or conference, as a map of parameter name to value. For an attendee, the read-only parameter `X-OX-SOFT-DELETED` is present when the attendee is an internal user that has been soft-deleted (pending deletion); its value is the time of the soft-deletion in milliseconds since the epoch. For the organizer of an event, this parameter is the only one present, and only if the organizer has been soft-deleted.
401:
No description available
403:
No description available
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the event. Required if no request body is sent, or if the request body contains plain attachment identifiers.
query string folder (empty) ID of the folder who contains the event. Required if no request body is sent, or if the request body contains plain attachment identifiers.
query string recurrenceId (empty) The recurrence identifier.
query string managedId (empty) The identifier of a single attachment to put into the ZIP archive. Only evaluated if no request body is sent.
query integer scan (empty) Flag to request an Anti-Virus scan for the attachments before downloading them.
query boolean Body:
Description:A JSON array with the identifiers of the attachments, which shall be put into ZIP archive. The attachments are looked up in the event given by the parameters `id`, `folder` and `recurrenceId`. Instead of plain identifiers, the array may also contain JSON objects with the fields `id`, `folder`, `recurrenceId` (optional) and `managedId`, each denoting an attachment of a possibly different event. A single such JSON object may be sent instead of an array.
Content-type: application/json
Responses:
200:
The raw data of the ZIP archive. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/zip-
Unknown
-
-
-
Clientonboarding
Via the client on-boarding module the client can retrieve possible on-boarding configurations-
Retrieves the configuration providing available client on-boarding possibilities for session-associated user
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type client (empty) The identifier of the device or device class the request originates from. Either a device identifier (apple.mac, apple.ipad, apple.iphone, android.tablet, android.phone, windows.desktop) or a generic one (desktop, tablet, smartphone). If absent or unknown, all devices are considered.
query string Responses:
200:
'The configuration as a JSON object or in case of errors the responsible fields in the response are filled (see Error handling). The JSON object consists of five fields: "platforms", "devices", "scenarios", "actions" and "matching". Each field provides an array of objects. The "platforms" field lists the available platforms for which a device can receive on-boarding information. The "devices" field lists the concrete devices, which are supported to receive on-boarding information. Each object mainly provides: - A unique identifier for the associated device (e.g. "apple.iphone") and a display name - Whether the device is enabled; "false" to trigger upsell activities - A listing of applicable scenarios for the device consisting of composite identifiers (delimited by "/" character), which point to an entry from the "matching" object The "scenarios" field provides all available on-boarding scenarios (like installing an app or receive a profile configuration for a built-in application; e.g. Apple Mail). Each scenario also provides: - A unique identifier and a display name - Whether the scenario is enabled along-side with "missing_capabilities" to trigger upsell activities - A description text for the user The "actions" field represents the available actions that can be performed in order to transfer a certain on-boarding information to a device. As of now there are five possible actions for a certain device/scenario combination: "download", "email", "display", "link" and "sms". - "download" refers to a simple download that is performed; e.g. a profile configuration file. - "email" lets the Middleware to send out an E-Mail containing the on-boarding information. - "sms" lets the Middleware to send out an SMS containing the on-boarding information. - "display" represents a plain display of on-boarding information for manual setup. Actions of this type provide a composite identifier (delimited by "/" character) that also contains the concrete scenario to which that action applies; e.g. "display/davsync". Moreover it has a "data" field that provides the user-sensitive information to display; e.g. the mail settings. - "link" hints to an available link that a user can follow; e.g, a link to a certain app held in an app store. Actions of this type provide a composite identifier (delimited by "/" character) that also contains the concrete scenario to which that action applies. In addition there is a field for each device providing the exact link and type; e.g. having a link to Apple Appstore for an iPhone device. The "matching" field is the combination of supported device, scenario and actions combinations. It provides an "id" field that contains a composite identifier (delimited by "/" character) to refer to the device and scenario combination; e.g. "apple.ipad/mailsync". Moreover, there is a listing of available action identifiers (pointing to entries from "actions") that are possible being executed in order to let such a device being on-boarded for the referenced scenario.'
Content-type: application/json-
ClientOnboardingResponse
{- data ( ClientOnboardingData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ClientOnboardingData
{- platforms ( array[object] ): No description available
- devices ( array[object] ): No description available
- scenarios ( array[object] ): No description available
- actions ( array[object] ): No description available
- matching ( array[object] ): No description available
-
-
Tells for every known device whether client on-boarding is available for it for the session-associated user.
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object mapping each device identifier to whether on-boarding is available for that device. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ClientOnboardingDevicesResponse
{- data ( data ): Maps each device identifier (apple.mac, apple.ipad, apple.iphone, android.tablet, android.phone, windows.desktop) to whether on-boarding is available for it.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Direct-downloads a profile to configure an apple device for CalDAV and/or CardDAV as well as IMAP/SMTP access
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type type (empty) Comma-separated list of the profiles to combine into one profile. Each entry is one of - caldav - carddav - dav (CalDAV and CardDAV) - mail - eas - the identifier of another registered on-boarding provider that supplies a profile
query string Responses:
200:
The profile as an Apple configuration profile (`.mobileconfig`) attachment, signed when a profile signer is available. In case of errors the response is a JSON object whose responsible fields are filled (see Error handling).
Content-type: application/x-apple-aspen-config-
Unknown
-
-
Performs a certain client on-boarding action for a given device and scenario; e.g. download a profile or send an E-Mail/SMS
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The composite identifier of device and scenario pair; e.g. "apple.iphone/davsync"
query string action_id (empty) The identifier of action to perform; one of - download - email - sms - display or - link
query string client (empty) The identifier of the device or device class the request originates from. Either a device identifier (apple.mac, apple.ipad, apple.iphone, android.tablet, android.phone, windows.desktop) or a generic one (desktop, tablet, smartphone). If absent or unknown, all devices are considered.
query string Body:
Description:An optional JSON object containing additional data for the action.
Content-type: application/json-
Unknown
{
Responses:
200:
'The appropriate result object or binary data dependent on specified action. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Retrieves a single on-boarding scenario for a given device.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The composite identifier of device and scenario pair; e.g. "apple.iphone/davsync"
query string client (empty) The identifier of the device or device class the request originates from. Either a device identifier (apple.mac, apple.ipad, apple.iphone, android.tablet, android.phone, windows.desktop) or a generic one (desktop, tablet, smartphone). If absent or unknown, all devices are considered. If it does not cover the device of the composite identifier, the request fails with error code ONBRD-0009.
query string Responses:
200:
A JSON object containing the scenario. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ClientOnboardingScenarioResponse
{- data ( ClientOnboardingScenario ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ClientOnboardingScenario
{- id ( string ): The scenario identifier.
- enabled ( boolean ): Whether the scenario is enabled; "false" to trigger upsell activities.
- name ( string ): The display name, or null.
- description ( string ): The description text for the user, or null.
- icon ( any ): Either an array of Font Awesome icon names or the base64-encoded icon image, or null.
- actions ( array[object] ): The actions applicable to the scenario.
- alternatives ( array[ClientOnboardingScenario] ): Alternative scenarios, if any.
-
-
Generate link to direct-download a profile to configure an apple device for CalDAV and/or CardDAV as well as IMAP/SMTP access
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type type (empty) Comma-separated list of the profiles to combine into one profile. Each entry is one of - caldav - carddav - dav (CalDAV and CardDAV) - mail - eas - the identifier of another registered on-boarding provider that supplies a profile
query string Responses:
200:
A JSON object containing the download link for the profile. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ClientOnboardingLinkResponse
{- data ( string ): The link to direct-download the profile.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Retrieves all on-boarding scenarios available for a given device.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type device (empty) The device identifier; one of apple.mac, apple.ipad, apple.iphone, android.tablet, android.phone, windows.desktop
query string client (empty) The identifier of the device or device class the request originates from. Either a device identifier (apple.mac, apple.ipad, apple.iphone, android.tablet, android.phone, windows.desktop) or a generic one (desktop, tablet, smartphone). If absent or unknown, all devices are considered.
query string Responses:
200:
A JSON object containing the scenarios. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ClientOnboardingScenariosResponse
{- data ( array[ClientOnboardingScenario] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ClientOnboardingScenario
{- id ( string ): The scenario identifier.
- enabled ( boolean ): Whether the scenario is enabled; "false" to trigger upsell activities.
- name ( string ): The display name, or null.
- description ( string ): The description text for the user, or null.
- icon ( any ): Either an array of Font Awesome icon names or the base64-encoded icon image, or null.
- actions ( array[object] ): The actions applicable to the scenario.
- alternatives ( array[ClientOnboardingScenario] ): Alternative scenarios, if any.
-
-
-
Config
The config module is used to retrieve and set user-specific configuration. The configuration is stored in a tree. Each node of the tree has a name and a value. The values of leaf nodes are strings which store the actual configuration data. The values of inner nodes are defined recursively as objects with one field for each child node. The name and the value of each field is the name and the value of the corresponding child node, respectively.-
The configuration is stored in a tree. Each node of the tree has a name and a value. The values of leaf nodes are strings which store the actual configuration data. The values of inner nodes are defined recursively as objects with one field for each child node. The name and the value of each field is the name and the value of the corresponding child node, respectively.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type path (empty) The slash-separated path of the node in the configuration tree, e.g. `modules/mail/sendaddress`. The available nodes depend on the installed bundles.
path string Responses:
200:
Value of the node specified by path. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ConfigResponse
{- data ( data ): Generic type which can be object, string, array, etc.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
The configuration is stored in a tree. Each node of the tree has a name and a value. The values of leaf nodes are strings which store the actual configuration data. The values of inner nodes are defined recursively as objects with one field for each child node. The name and the value of each field is the name and the value of the corresponding child node, respectively. Writes to nodes whose path contains
/io.ox/coreand to the parent nodes of the entries inappsuite.propertiesandpaths.perfMapare ignored.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_userconfig
Parameters:
Parameter Value Description Parameter Type Data Type path (empty) The slash-separated path of the node in the configuration tree, e.g. `modules/mail/sendaddress`. The available nodes depend on the installed bundles.
path string Body:
Description:The new value of the config node.
Content-type: application/json-
ConfigBody - The new value of the node specified by path, sent as the request body itself: any JSON value or plain text. Surrounding double quotes are removed. For an inner node, a JSON object whose fields set the child nodes.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Returns the property's value for the session user. A protected property is reported as missing.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type name (empty) The name of the property to return.
query string Responses:
200:
A JSON response providing the property's name and its value. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ConfigPropertyResponse
{- data ( ConfigProperty ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ConfigProperty
{- name ( string ): The name of the property.
- value ( string ): The value of the property.
-
-
Sets the property at context level. Only the context administrator may do so; other users get an error.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type name (empty) The name of the property to set.
query string Body:
Description:A JSON object providing the value to set (Example: {"value":"test123"}).Content-type: application/json-
ConfigPropertyBody
{- value ( string ): The concrete value to set.
Responses:
200:
A JSON response providing the property's name and its value. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ConfigPropertyResponse
{- data ( ConfigProperty ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ConfigProperty
{- name ( string ): The name of the property.
- value ( string ): The value of the property.
-
-
-
Contacts
The contacts module is used to access contact information. Deprecated, and provides only access to internally stored contacts from the default contacts provider. Clients should switch to the "addressbooks" module for new features.-
Tries to get a picture for a given contact. To specify a contact at least one of three informations must be given:
user_id- an id of an internal user.contact_idandfolder_id- together those ids identifiy a contact.email- an email address.
Parameters:
Parameter Value Description Parameter Type Data Type user_id (empty) The user identifier.
query integer account_id (empty) The account identifier of an specific account belonging to the user of the session. If the account ID is set, the search will be delegated to the matching account, if found.
query string contact_id (empty) The contact identifier.
query string folder_id (empty) The folder id the contact id belongs to.
query string email (empty) The mail address of the contact.
query string rotate (empty) Adds a 'rotate' transformation, leading to the image being rotated according to the contained EXIF information.
query boolean width (empty) The maximum width of the target image.
query integer height (empty) The maximum height of the target image.
query integer shrinkOnly (empty) Set to true to only scale images 'greater than' target size.
query boolean scaleType Defines the scale type. Possible value:
cover- The "cover" scale type, specifying the minimum target dimensions.
The source image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "cover", will result in the picture being resized to 267x200 pixels.contain- The "contain" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "contain", will result in the picture being resized to 200x150 pixels.containforcedimension- The "containforcedimension" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved while smaller sides get padded to fit exact dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "containforcedimension", will result in the picture being first resized to 200x150 pixels, then height gets padded by 25 pixels per side resulting in exactly 200x200 pixels.coverandcrop- The "coverandcrop" scale type, specifying the target dimensions.
If the source image is bigger than the target dimension, in a first step the image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. In a second step the image will be cropped to fit the target dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "coverandcrop", will result in the picture being resized to 267x200 pixels and then cropped to fit 200x200. In case the image is smaller than then target dimension the image will not be resized and instead it gets padded to fit exact dimension. For example, with an original resolution of 100x100 pixels and a target dimension of 200x200 pixels and type "coverandcrop", will result in the picture being padded on all sides with 50 pixels.auto- The "auto" scale type.
query string cropWidth (empty) The width of the specified rectangular region.
query integer cropHeight (empty) The height of the specified rectangular region.
query integer cropX (empty) The X coordinate of the upper-left corner of the specified rectangular region.
query integer cropY (empty) The Y coordinate of the upper-left corner of the specified rectangular region.
query integer session (empty) A session ID previously obtained from the login module. May be omitted to aid HTTP caching.
query string user (empty) The session user's user identifier as optional hint in case the session ID parameter is omitted to aid HTTP caching.
query integer context (empty) The session user's context identifier as optional hint in case the session ID parameter is omitted to aid HTTP caching.
query integer Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: image/*-
Unknown
404:
No image could be found.
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data. If omitted, all columns are returned.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Body:
Description:No description available
Content-type: application/json-
contactsAdvancedSearchBody
{- filter ( array[null] ): A JSON array describing the search term as introducted in Advanced search. If not specified, all contacts contained in the specified folders are returned. Example: `["and",["=", {"field":"last_name"},"Mustermann"],["=",{"field":"first_name"},"Max"]]` which represents 'last_name = "Mustermann" AND first_name = "Max"'. Valid fields are the ones specified in Contact data model. The field 'folder' is not allowed as operand.
- folders ( array[string] ): The identifiers of the folders to restrict the search to. If not defined, all visible folders (optionally filtered through to "folderTypes"]) are considered.
- folderTypes ( contactsAdvancedSearchFolderTypes ): The kind of folders to perform the search in, if no folders are defined through "folders" explicitly.
-
contactsAdvancedSearchFolderTypes - The kind of folders to perform the search in, if no folders are defined through "folders" explicitly.
{- includeUnsubscribed ( boolean ): Controls whether also unsubscribed folders (i.e. not visible in the tree) are considered.
- pickerOnly ( boolean ): Configures if only folders that are explicitly marked for usage in the picker are considered.
Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the contacts.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data. If omitted, all columns are returned.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Responses:
200:
A JSON object containing an array with data for all contacts. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Finds contacts whose anniversary falls into a specified time range.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data. If omitted, all columns are returned.
query string start (empty) The lower (inclusive) limit of the requested time range.
query long end (empty) The upper (exclusive) limit of the requested time range.
query long folder (empty) Object ID of the parent folder that is searched. If not set, all visible folders are used.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Finds contacts based on a prefix, usually used to auto-complete e-mail recipients while the user is typing.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data. If omitted, all columns are returned.
query string query (empty) The query to search for.
query string email (empty) Whether to only include contacts with at least one e-mail address. Defaults to `true`.
query boolean folder (empty) Object ID of the parent folder that is searched. If not set, all visible folders are used.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified. If this parameter is missing, response is sorted by a user-specific use count of contacts, ID of contacts' parent folder and display name.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return. If omitted, the result is limited by the configured maximum number of auto-complete results.
query integer Responses:
200:
A JSON object containing the contact data. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Finds contacts whose birthday falls into a specified time range.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data. If omitted, all columns are returned.
query string start (empty) The lower (inclusive) limit of the requested time range.
query long end (empty) The upper (exclusive) limit of the requested time range.
query long folder (empty) Object ID of the parent folder that is searched. If not set, all visible folders are used.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Copies the contacts given in the request body into the folder given in the
folderparameter. Instead of the array, the request body MAY be a single JSON object with the target folder in the fieldfolder_id; the contact to copy is then identified by theidandfolderparameters.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long folder (empty) The target folder, or the folder of the contact to copy if the request body is a single JSON object.
query string id (empty) The object ID of the contact to copy. Only used if the request body is a single JSON object.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON object containing an array with the IDs of the created copies and the timestamp of the last modified contact in the target folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactMoveResponse
{- data ( array[object] ): Array of contacts. Each contact is described as a JSON object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Deletes the contacts given in the request body. Instead of the array, the request body MAY be a single JSON object with the
idandfolderof one contact.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long timestamp (empty) Timestamp of the last update of the deleted contacts.
query long hardDelete (empty) Defaults to `false`. If set to `true`, the contacts are deleted permanently. Otherwise, they are moved to the trash folder if one is available. MUST NOT be combined with `undo`.
query boolean Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
An empty JSON object. The timestamp of the response is the one given in the request. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactDeletionsResponse
{- data ( data ): An empty JSON.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested contact.
query string folder (empty) Object ID of the folder who contains the contacts.
query string Responses:
200:
An object containing all data of the requested contact. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactResponse
{- data ( ContactResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ContactResponseData Composed Schema
ALLOF: CommonObjectResponseData RawContactResponseData -
CommonObjectResponseData
{- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactResponseData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- user_id ( integer ): The internal user id, in case the contact represents a user of the *same* context. For a user residing in a different context (a cross-context entity) this field is omitted; use `user_identifier` instead.
-
user_identifier
(
string
,
read only
):
The qualified identifier of the internal user this contact represents, in `
@ ` form (read-only, requested via the `user_identifier` column). It is only present for users the requesting user is permitted to bridge to across context boundaries, and can be used directly as a cross-context principal reference - e.g. as a folder permission's `identifier` - without a separate resolve round-trip. - number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): No description available
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
401:
No description available
403:
No description available
-
-
Exports the contact of the session user as vCard, delivered as attachment named
vcard.vcf.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Responses:
200:
The vCard of the session user.
Content-type: text/vcard-
Unknown
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) User ID (not Object ID) of the requested user.
query integer Responses:
200:
An object containing all data of the requested contact. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactResponse
{- data ( ContactResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ContactResponseData Composed Schema
ALLOF: CommonObjectResponseData RawContactResponseData -
CommonObjectResponseData
{- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactResponseData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- user_id ( integer ): The internal user id, in case the contact represents a user of the *same* context. For a user residing in a different context (a cross-context entity) this field is omitted; use `user_identifier` instead.
-
user_identifier
(
string
,
read only
):
The qualified identifier of the internal user this contact represents, in `
@ ` form (read-only, requested via the `user_identifier` column). It is only present for users the requesting user is permitted to bridge to across context boundaries, and can be used directly as a cross-context principal reference - e.g. as a folder permission's `identifier` - without a separate resolve round-trip. - number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): No description available
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data. If omitted, all columns are returned.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON object containing an array with data for the requested contacts. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string Body:
Description:A JSON array with user IDs.
Content-type: application/json
Responses:
200:
A JSON object containing an array with contact data. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Moves the contacts given in the request body into the folder given in the
folderparameter. Instead of the array, the request body MAY be a JSON object with the fieldssource(the folder of the contacts),contacts(an array of contact IDs) andtarget(the target folder).Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long folder (empty) The target folder. MUST be set if the request body is an array.
query string timestamp (empty) Timestamp of the last update of the moved contacts.
query long Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON object containing an array with the IDs of the moved contacts and the timestamp of the last modified contact in the target folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactMoveResponse
{- data ( array[object] ): Array of contacts. Each contact is described as a JSON object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Creates a new contact. A contact image can be added as Base64-encoded string in the field
image1, with its MIME type inimage1_content_type(defaults toimage/jpeg). To upload the image as file, use thePOSTmethod.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Body:
Description:A JSON object containing the contact's data. The field id is not included.
Content-type: application/json-
ContactRequestData Composed Schema
ALLOF: CommonObjectRequestData RawContactRequestData -
CommonObjectRequestData
{- id ( string ): Object ID.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactRequestData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): The contact image as Base64-encoded string.
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
Responses:
200:
A JSON object containing the ID of the newly created contact. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactUpdateResponse
{- data ( ContactUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ContactUpdateData
{- id ( string ): ID of a newly created contact.
401:
No description available
403:
No description available
-
-
Creates a new contact with contact images. The normal request body must be placed as form-data using the content-type
multipart/form-data. The form fieldjsoncontains the contact's data while the image file must be placed in a file field namedfile(see also File uploads).Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Body:
Description:No description available
Content-type: multipart/form-data-
createContactAdvancedBody
{- json ( string , required ): Represents the normal request body as JSON string containing the contact data as described in the ContactRequestData (see createContact model.
- file ( string , required ): The image file.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred.
Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the restored contacts.
query long Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON object containing an array with the IDs and folders of the restored contacts, or an empty JSON object if the request body is an empty array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactRestoreResponse
{- data ( array[object] ): Array of contacts. Each contact is described as a JSON object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data. If omitted, all columns are returned.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Body:
Description:A JSON object containing search parameters.
Content-type: application/json-
ContactSearchBody
{- pattern ( string ): Search pattern to find contacts. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves. Matching is performed against any substring of the field display_name.
- startletter ( boolean ): Search contacts with the given startletter. If this field is present, the pattern is matched against the contact field which is specified by the property "contact_first_letter_field" on the server (default: last name). Otherwise, the pattern is matched against the display name.
- folder ( array[string] ): If a list of folder identifiers or at least a single folder identifier is given, only in that folders will be searched for contacts. This paramenter is optional but searching in all contact folders that are viewable and where objects can be read in is more expensive on that database than searching in a dedicated number of them. Mutual exclusive with 'exclude_folders'.
- exclude_folders ( array[string] ): If a list of folder identifiers or at least a single folder identifier is given, those folders will not be searched for contacts. Mutual exclusive with 'folder'.
- last_name ( string ): Searches contacts where the last name match with the given last name.
- first_name ( string ): Searches contacts where the first name match with the given first name.
- display_name ( string ): Searches contacts where the display name match with the given display name.
- email1 ( string ): Searches contacts where the email1 address match with the given search pattern.
- email2 ( string ): Searches contacts where the email2 address match with the given search pattern.
- email3 ( string ): Searches contacts where the email3 address match with the given search pattern.
- company ( string ): Searches contacts where the company match with the given search pattern.
- categories ( string ): Searches contacts where the categories match with the given search pattern.
- orSearch ( boolean ): If set to `true`, a contact is returned if any specified pattern matches at the start of the corresponding field. Otherwise, a contact is returned if all specified patterns match any substring of the corresponding field.
- emailAutoComplete ( boolean ): If set to `true`, results are guaranteed to contain at least one email adress and the search is performed as if orSearch were set to `true`. The actual value of orSearch is ignored.
- exactMatch ( boolean ): If set to `true`, contacts are returned where the specified patterns match the corresponding fields exactly. Otherwise, a "startsWith" or "substring" comparison is used based on the "orSearch" parameter.
Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse
{- data ( data ): Array of contacts. Each contact is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Updates a contact's data. A contact image can be set as Base64-encoded string in the field
image1, with its MIME type inimage1_content_type(defaults toimage/jpeg). To upload the image as file, use thePOSTmethod.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the contacts.
query string id (empty) Object ID of the contact that shall be updated.
query string timestamp (empty) Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail.
query long Body:
Description:A JSON object containing the contact's data. Only modified fields must be specified. To remove some contact image send the image attribute set to null.
Content-type: application/json-
ContactRequestData Composed Schema
ALLOF: CommonObjectRequestData RawContactRequestData -
CommonObjectRequestData
{- id ( string ): Object ID.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactRequestData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): The contact image as Base64-encoded string.
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
Responses:
200:
A JSON object with a timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactUpdateResponse
{- data ( ContactUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ContactUpdateData
{- id ( string ): ID of a newly created contact.
401:
No description available
403:
No description available
-
-
Updates a contact's data and images. The normal request body must be placed as form-data using the content-type
multipart/form-data. The form fieldjsoncontains the contact's data while the image file must be placed in a file field namedfile(see also File uploads).Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the contacts.
query string id (empty) Object ID of the contact that shall be updated.
query string timestamp (empty) Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail.
query long Body:
Description:No description available
Content-type: multipart/form-data-
updateContactAdvancedBody
{- json ( string , required ): Represents the normal request body as JSON string containing the contact data as described in ContactRequestData model. Only modified fields must be specified but at least "{}".
- file ( string , required ): The image file.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred.
Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the contacts.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data. If omitted, all columns are returned.
query string timestamp (empty) Timestamp of the last update of the requested contacts.
query long ignore Which kinds of updates should be ignored. Set it to "deleted" to not have the identifiers of deleted contacts in the response. If omitted, the response contains the identifiers of deleted contacts.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Responses:
200:
An array with new, modified and deleted contacts. New and modified contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted contacts (unless ignored through the `ignore` parameter) are identified by their object IDs as strings, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactUpdatesResponse
{- data ( data ): Array of contacts.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
-
Conversion
The conversion module is a generic module to request data from a data source and to process obtained/submitted data with a data handler. Thus data is converted from a data source by a data handler.-
Saving an iCal email attachment
If an iCal file is attached to an email, its content can be saved as appointments and tasks into given calendar and task folder. Appointments that already exist with the same UID are updated.
{ "datasource": { "identifier":"com.openexchange.mail.ical", "args": [ {"com.openexchange.mail.conversion.fullname":"<folder-fullname>"}, {"com.openexchange.mail.conversion.mailid":"<mail-id>"}, {"com.openexchange.mail.conversion.sequenceid":"<attachment-sequence-id>"} ] }, "datahandler": { "identifier":"com.openexchange.ical", "args": [ {"com.openexchange.groupware.calendar.folder":"<calendar-folder-id>"}, {"com.openexchange.groupware.task.folder":"<task-folder-id>"} ] } }The response is a JSON array of JSON objects each providing folder and object ID of added appointments/tasks, e.g.
[{"folder_id":2567,"id":7689}, ...]. Appointments or tasks found in the iCal data without the corresponding folder argument are not saved, and a warning is returned instead. With the data handlercom.openexchange.chronos.ical, the user's own default alarms can be applied to the saved appointments, in place of any alarms found in the iCal data, by adding the argument{"com.openexchange.groupware.calendar.applyDefaultAlarms":"true"}.Converting an iCal email attachment into JSON objects
If an iCal file is attached to an email, its content can be converted to JSON appointments and tasks.
{ "datasource": { "identifier":"com.openexchange.mail.ical", "args": [ {"com.openexchange.mail.conversion.fullname":"<folder-fullname>"}, {"com.openexchange.mail.conversion.mailid":"<mail-id>"}, {"com.openexchange.mail.conversion.sequenceid":"<attachment-sequence-id>"} ] }, "datahandler": { "identifier":"com.openexchange.ical.json", "args": [ {"com.openexchange.groupware.calendar.timezone":"<timezone-id>"} ] } }The response is a JSON array of JSON objects for each appointment/task. See the EventData model of the getEvent request and the TaskData model of the getTask request for more informations. The optional time zone argument applies to tasks and defaults to the user's time zone.
Saving a vCard email attachment
If a vCard file is attached to an email, its content can be saved as contacts into given contact folder.
{ "datasource": { "identifier":"com.openexchange.mail.vcard", "args": [ {"com.openexchange.mail.conversion.fullname":"<folder-fullname>"}, {"com.openexchange.mail.conversion.mailid":"<mail-id>"}, {"com.openexchange.mail.conversion.sequenceid":"<attachment-sequence-id>"} ] }, "datahandler": { "identifier":"com.openexchange.contact", "args": [ {"com.openexchange.groupware.contact.folder":"<contact-folder-id>"} ] } }The response is a JSON array of JSON objects each providing folder and object ID of added contacts, e.g.
[{"folder_id":2567,"id":7689}, ...].Contact(s) attached to a new email as a vCard file
Obtain vCard data from specified contact object(s).
{ "datasource": { "identifier":"com.openexchange.contact", "args": [ {"com.openexchange.groupware.contact.pairs":[{"folder":"<folder-id1>","id":"<id1>"}, ..., {"folder":"<folder-idn>","id":"<idn>"}]} ] }, "datahandler": { "identifier":"com.openexchange.mail.vcard", "args": [] } }The response is a JSON object containing mail data. See the MailData model of the getMail request.
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object the data source object and the data handler object.
Content-type: application/json-
ConversionBody
{- datasource ( ConversionSource , required ): No description available
- datahandler ( ConversionDataHandler , required ): No description available
-
ConversionSource
{- identifier ( string , required ): The identifier of the data source, e.g. `com.openexchange.mail.ical`, `com.openexchange.mail.vcard` or `com.openexchange.contact`.
- args ( array[ConversionDataSourcePair] ): A JSON array of JSON objects, each containing exactly one name-value-pair; objects with more or fewer pairs are ignored. Alternatively, a single JSON object containing all name-value-pairs is accepted.
-
ConversionDataSourcePair
{- com.openexchange.mail.conversion.fullname ( string ): The identifier of the mail folder. Evaluated by the data sources `com.openexchange.mail.ical` and `com.openexchange.mail.vcard`.
- com.openexchange.mail.conversion.mailid ( string ): The identifier of the mail. Evaluated by the data sources `com.openexchange.mail.ical` and `com.openexchange.mail.vcard`.
- com.openexchange.mail.conversion.sequenceid ( string ): The identifier of the attachment. Evaluated by the data sources `com.openexchange.mail.ical` and `com.openexchange.mail.vcard`.
- com.openexchange.groupware.contact.pairs ( array[ContactListElement] ): The folder and object IDs of the contacts to export as vCard. Evaluated by the data source `com.openexchange.contact`.
-
ContactListElement
{- id ( string , required ): The object ID of the contact.
- folder ( string , required ): The object ID of the related folder.
-
ConversionDataHandler
{- identifier ( string , required ): The identifier of the data handler.
- args ( array[ConversionDataHandlerPair] ): A JSON array of JSON objects, each containing exactly one name-value-pair; objects with more or fewer pairs are ignored. Alternatively, a single JSON object containing all name-value-pairs is accepted.
-
ConversionDataHandlerPair
{- com.openexchange.groupware.calendar.folder ( string ): The calendar folder ID to save appointments into. Evaluated by the data handlers `com.openexchange.ical` and `com.openexchange.chronos.ical`; if absent, appointments are not saved and a warning is returned.
- com.openexchange.groupware.task.folder ( string ): The task folder ID to save tasks into. Evaluated by the data handlers `com.openexchange.ical` and `com.openexchange.chronos.ical`; if absent, tasks are not saved and a warning is returned.
- com.openexchange.groupware.calendar.applyDefaultAlarms ( string ): Can be `true` or `false`. When set to `true`, alarms contained in the iCal data are ignored for the saved appointments, and the user's configured default alarms are applied instead. Only evaluated by the data handler `com.openexchange.chronos.ical`.
- com.openexchange.groupware.calendar.timezone ( string ): The timezone ID to parse tasks with, defaults to the user's timezone. Evaluated by the data handler `com.openexchange.ical.json`.
- com.openexchange.groupware.contact.folder ( string ): The contact folder ID to save contacts into. Required by the data handler `com.openexchange.contact`.
Responses:
200:
The conversion result. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ConversionResponse
{- data ( any ): The conversion result as returned by the data handler, e.g. a JSON array of folder and object IDs of the saved objects, a JSON array of converted objects, or a JSON object with mail data.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the user's data export task. If the user has no data export task, the data only contains the status `NONE`.
Content-type: application/json-
DataExportTaskResponse
{- data ( DataExportTask ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
DataExportTask
{- id ( string ): The task identifier
-
status
(
string
, possibleValues:
NONEPENDINGRUNNINGPAUSEDDONEFAILEDABORTED
- creationTime ( integer ): The time when task was created/submitted.
- startTime ( integer ): The time when processing of the task started. Not present in case task has not yet been started.
- duration ( integer ): The duration of the processing for the task in milliseconds. Only present in case the task is done and has result files.
- availableUntil ( integer ): The time (in milliseconds since January 1, 1970, 00:00:00 GMT) until the task's result files stay accessible before they get deleted automatically. Only present in case the task is done and has result files.
- results ( array[DataExportResultFile] ): The result files. Only present in case the task is done and has result files.
- workItems ( array[DataExportWorkItem] ): The task's work items, one per exported module.
-
DataExportResultFile
{- fileInfo ( string ): The file name of the result file
- number ( integer ): The package number
- contentType ( string ): The Content-Type identifier
- taskId ( string ): The task identifier
-
DataExportWorkItem
{- id ( string ): The work item identifier
- module ( string ): The module identifier
-
status
(
string
, possibleValues:
PENDINGRUNNINGPAUSEDDONEFAILEDABORTED
- info ( info ): The optional status information
-
info - The optional status information
{- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): An array of error params.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Fails with an error if the user already has a data export task.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type deleteOldDataExport (empty) A flag indicating whether previously completed data export is supposed to be deleted prior to submitting a new one.
query boolean Body:
Description:A JSON object containing the modules and associated parameters.
Content-type: application/json-
DataExportArguments - The modules to export, keyed by module identifier (as returned by the available modules request), plus the optional max. file size. At least one module MUST be specified.
{- maxFileSize ( integer ): The max. size in bytes of a single result file. MUST NOT be less than 536870912 (512 MB). Zero, a negative value or an absent field selects the configured default.
Responses:
200:
A JSON object containing the identifier of the submitted task.
Content-type: application/json-
DataExportSubmitResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- id ( string ): The identifier of the submitted data export task
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Fails with an error if the user has no data export task that can be canceled.
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
DataExportSuccessResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Always true; a failed operation yields an error response instead.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the available modules.
Content-type: application/json-
DataExportModulesResponse
{- data ( DataExportModules ): The data export modules available to the user, keyed by module identifier. A module's `include*` properties are present only if the user may export the associated folders.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
DataExportModules - The data export modules available to the user, keyed by module identifier. A module's `include*` properties are present only if the user may export the associated folders.
{- maxFileSize ( integer ): The default max. size in bytes of a single result file.
- calendar ( calendar ): The calendar module
- contacts ( contacts ): The contacts module
- infostore ( infostore ): The infostore module
- mail ( mail ): The mail module
- tasks ( tasks ): The tasks module
-
calendar - The calendar module
{- enabled ( boolean , required ): Whether the calendar module is enabled
- includePublic ( boolean ): The default setting for public folders if public folder export is available.
- includeShared ( boolean ): The default setting for shared folders if shared folder export is available.
- includeUnsubscribed ( boolean ): The default setting for unsubscribed folders if unsubscribed folder export is available.
-
contacts - The contacts module
{- enabled ( boolean , required ): Whether the contacts module is enabled
- includePublic ( boolean ): The default setting for public folders if public folder export is available.
- includeShared ( boolean ): The default setting for shared folders if shared folder export is available.
-
infostore - The infostore module
{- enabled ( boolean , required ): Whether the infostore module is enabled
- includePublic ( boolean ): The default setting for public folders if public folder export is available.
- includeShared ( boolean ): The default setting for shared folders if shared folder export is available.
- includeTrash ( boolean ): The default setting for the trash folder if trash folder export is available.
- includeAllVersions ( boolean ): The default setting for all versions export if all version export is available.
-
mail - The mail module
{- enabled ( boolean , required ): Whether the mail module is enabled
- includePublic ( boolean ): The default setting for public folders if public folder export is available.
- includeShared ( boolean ): The default setting for shared folders if shared folder export is available.
- includeTrash ( boolean ): The default setting for the trash folder if trash folder export is available.
- includeUnsubscribed ( boolean ): The default setting for unsubscribed folders if unsubscribed folder export is available.
-
tasks - The tasks module
{- enabled ( boolean , required ): Whether the tasks module is enabled
- includePublic ( boolean ): The default setting for public folders if public folder export is available.
- includeShared ( boolean ): The default setting for shared folders if shared folder export is available.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Deletes the result files and all resources of the data export task for session-associated user. Fails with an error if the user has no data export task.
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
DataExportSuccessResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Always true; a failed operation yields an error response instead.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Does nothing if data export processing is deactivated on the serving node.
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
DataExportSuccessResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Always true; a failed operation yields an error response instead.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Downloads the available result file package from user-associated data export task.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the user's data export task
path string number (empty) The number of the result file (see `number` of the task's results)
query integer Responses:
200:
A ZIP archive.
Content-type: application/zip-
Unknown
400:
Bad request, response contains error message.
401:
Not authorized
-
-
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON array containing deputy permissions.
Content-type: application/json-
DeputyListResponse
{- data ( array[GrantedDeputyPermission] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GrantedDeputyPermission
{- deputyId ( string ): The identifier of the deputy permission
- grantorId ( integer ): The identifier of the user which granted the deputy permission. `0` for a cross-context (foreign) grantor - its bare numeric id has no meaning in the requesting user's context; use `grantorIdentifier` / `grantorAddresses` to identify such a grantor.
- granteeId ( integer ): Same value as `grantorId`; use `grantorId` instead.
-
grantorIdentifier
(
string
):
The qualified identifier of the granting user as `
@ `. Disambiguates the grantor for a cross-context deputy grant, where the grantor lives in a different context than the deputy and the bare `grantorId` alone would be ambiguous. Only present in the reverse listing (`action=reverse`). - grantorAddresses ( array[string] ): An array containing the email addresses of the user which granted the deputy permission. Only present in the reverse listing (`action=reverse`), and there only when `sendOnBehalfOf` or `sendAs` is `true`.
- granteeAddresses ( array[string] ): Same value as `grantorAddresses`; use `grantorAddresses` instead.
- grantorEntityInfo ( grantorEntityInfo ): Detailed information about creator/modifier of an object
- userId ( integer ): The identifier of the user to which a deputy permission is granted. `0` for a cross-context (foreign) deputy entity - its bare numeric id has no meaning in the requesting user's context; use `identifier` instead.
-
identifier
(
string
):
The qualified identifier of the deputy entity as `
@ `. Disambiguates the deputy for a cross-context deputy grant, where the deputy lives in a different context than the granting user and the bare `userId` alone would be ambiguous. The counterpart of `grantorIdentifier`. - entityInfo ( entityInfo ): Detailed information about creator/modifier of an object
-
sendOnBehalfOf
(
boolean
):
Whether the deputy user is allowed to send E-Mail on behalf of granting user. In the reverse listing this takes the
operator setting into account: a granted
sendAsis reported assendOnBehalfOfwhile sending as the granting user is not enabled for that user. -
sendAs
(
boolean
):
Whether the deputy user is allowed to send E-Mail as granting user, i.e. without a
Senderheader. In the reverse listing this takes the operator setting into account, seesendOnBehalfOf, but each entry still reports the form of its own deputy permission only. The form sending actually uses is the one the aggregatedaction=reverseIdsreports per granting user: if the granting user grants the deputy "send as" through any of several deputy permissions, e.g. one to a group, sending uses "send as" for all of them. -
sentCopyToGranter
(
boolean
):
Whether the granting user gets a copy of the mails the deputy sends for them, on their behalf or as them, in their
standard Sent folder. Requires
sendOnBehalfOforsendAs, elseDEPUTY-0017is returned; switching between them keeps the copy, withdrawing both withdraws it as well, also if the stored value is passed back unchanged. Where the granting user's login offers the offline grant (modegrantofcom.openexchange.deputy.sentCopyToGranterModes), switching it on in the granting user's own session keeps a credential that refers to the grant; without a grant,MCRED-0014is returned unless a strategy applies, and the client lets the user authorize it (offline_grant?flow=authorize) and repeats the request. Granting it is rejected withDEPUTY-0018if neither the offline grant nor any of the strategies incom.openexchange.mail.admin.strategiesapplies to the granting user,doveadmonly wherecom.openexchange.deputy.sentCopyToGranterDoveAdmEnabledis set, and withDEPUTY-0019whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalse, though a value already granted can still be passed back unchanged; clients should offer it only where the capabilitydeputy_sent_copyis granted. Whether a mail gets a copy is decided each time the deputy sends. The copy contains the Bcc recipients of the mail. Omitted orfalseif not granted. In the reverse listing this takes the operator setting into account: it is omitted whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalsefor the granting user, even if granted. -
classifiedAccess
(
string
, possibleValues:
noneconfidential
sendOnBehalfOfan attribute of the whole deputy permission, but it only concerns the calendar. Defaults tonone: as for any other sharee, appointments classifiedCONFIDENTIALare anonymized andPRIVATEones are hidden.confidentialshows confidential appointments with their details; private appointments always stay hidden from deputies. Omitted fornone. -
folderMode
(
string
, possibleValues:
defaultallspecific
folderMode. - modulePermissions ( modulePermissions ): The individual permissions by module granted to deputy user, keyed by module identifier
-
grantorEntityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
entityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
modulePermissions - The individual permissions by module granted to deputy user, keyed by module identifier
{- calendar ( calendar ): The calendar permissions granted to deputy user
- contacts ( contacts ): The contact permissions granted to deputy user
- drive ( drive ): The Drive permissions granted to deputy user
- mail ( mail ): The mail permissions granted to deputy user
- tasks ( tasks ): The task permissions granted to deputy user
-
calendar - The calendar permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
contacts - The contact permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
drive - The Drive permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
mail - The mail permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
tasks - The task permissions granted to deputy user
{- permission ( integer ): The permission bit mask
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type extended (empty) If set to `true`, each available module is returned as an object that additionally indicates whether a *cross-context* deputy (a deputy residing in a different context) may be appointed for that module (`crossContext`). When absent or `false`, a plain array of module identifier strings is returned for backwards compatibility.
query boolean Responses:
200:
A JSON array containing available module identifiers for which to grant a deputy permission. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
DeputyAvailableModulesResponse
{- data ( array[null] ): Either a list of available module identifier strings (default), or - when the request was made with `extended=true` - a list of objects, each carrying the module identifier together with its cross-context eligibility.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type deputyId (empty) The identifier for the deputy permission
query string Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
DeleteDeputyPermissionByIdResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Always `true`; a deputy permission that cannot be deleted yields an error response instead.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type deputyId (empty) The identifier for the deputy permission
query string Responses:
200:
A JSON object containing all data of the requested deputy permission. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
DeputyResponse
{- data ( GrantedDeputyPermission ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GrantedDeputyPermission
{- deputyId ( string ): The identifier of the deputy permission
- grantorId ( integer ): The identifier of the user which granted the deputy permission. `0` for a cross-context (foreign) grantor - its bare numeric id has no meaning in the requesting user's context; use `grantorIdentifier` / `grantorAddresses` to identify such a grantor.
- granteeId ( integer ): Same value as `grantorId`; use `grantorId` instead.
-
grantorIdentifier
(
string
):
The qualified identifier of the granting user as `
@ `. Disambiguates the grantor for a cross-context deputy grant, where the grantor lives in a different context than the deputy and the bare `grantorId` alone would be ambiguous. Only present in the reverse listing (`action=reverse`). - grantorAddresses ( array[string] ): An array containing the email addresses of the user which granted the deputy permission. Only present in the reverse listing (`action=reverse`), and there only when `sendOnBehalfOf` or `sendAs` is `true`.
- granteeAddresses ( array[string] ): Same value as `grantorAddresses`; use `grantorAddresses` instead.
- grantorEntityInfo ( grantorEntityInfo ): Detailed information about creator/modifier of an object
- userId ( integer ): The identifier of the user to which a deputy permission is granted. `0` for a cross-context (foreign) deputy entity - its bare numeric id has no meaning in the requesting user's context; use `identifier` instead.
-
identifier
(
string
):
The qualified identifier of the deputy entity as `
@ `. Disambiguates the deputy for a cross-context deputy grant, where the deputy lives in a different context than the granting user and the bare `userId` alone would be ambiguous. The counterpart of `grantorIdentifier`. - entityInfo ( entityInfo ): Detailed information about creator/modifier of an object
-
sendOnBehalfOf
(
boolean
):
Whether the deputy user is allowed to send E-Mail on behalf of granting user. In the reverse listing this takes the
operator setting into account: a granted
sendAsis reported assendOnBehalfOfwhile sending as the granting user is not enabled for that user. -
sendAs
(
boolean
):
Whether the deputy user is allowed to send E-Mail as granting user, i.e. without a
Senderheader. In the reverse listing this takes the operator setting into account, seesendOnBehalfOf, but each entry still reports the form of its own deputy permission only. The form sending actually uses is the one the aggregatedaction=reverseIdsreports per granting user: if the granting user grants the deputy "send as" through any of several deputy permissions, e.g. one to a group, sending uses "send as" for all of them. -
sentCopyToGranter
(
boolean
):
Whether the granting user gets a copy of the mails the deputy sends for them, on their behalf or as them, in their
standard Sent folder. Requires
sendOnBehalfOforsendAs, elseDEPUTY-0017is returned; switching between them keeps the copy, withdrawing both withdraws it as well, also if the stored value is passed back unchanged. Where the granting user's login offers the offline grant (modegrantofcom.openexchange.deputy.sentCopyToGranterModes), switching it on in the granting user's own session keeps a credential that refers to the grant; without a grant,MCRED-0014is returned unless a strategy applies, and the client lets the user authorize it (offline_grant?flow=authorize) and repeats the request. Granting it is rejected withDEPUTY-0018if neither the offline grant nor any of the strategies incom.openexchange.mail.admin.strategiesapplies to the granting user,doveadmonly wherecom.openexchange.deputy.sentCopyToGranterDoveAdmEnabledis set, and withDEPUTY-0019whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalse, though a value already granted can still be passed back unchanged; clients should offer it only where the capabilitydeputy_sent_copyis granted. Whether a mail gets a copy is decided each time the deputy sends. The copy contains the Bcc recipients of the mail. Omitted orfalseif not granted. In the reverse listing this takes the operator setting into account: it is omitted whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalsefor the granting user, even if granted. -
classifiedAccess
(
string
, possibleValues:
noneconfidential
sendOnBehalfOfan attribute of the whole deputy permission, but it only concerns the calendar. Defaults tonone: as for any other sharee, appointments classifiedCONFIDENTIALare anonymized andPRIVATEones are hidden.confidentialshows confidential appointments with their details; private appointments always stay hidden from deputies. Omitted fornone. -
folderMode
(
string
, possibleValues:
defaultallspecific
folderMode. - modulePermissions ( modulePermissions ): The individual permissions by module granted to deputy user, keyed by module identifier
-
grantorEntityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
entityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
modulePermissions - The individual permissions by module granted to deputy user, keyed by module identifier
{- calendar ( calendar ): The calendar permissions granted to deputy user
- contacts ( contacts ): The contact permissions granted to deputy user
- drive ( drive ): The Drive permissions granted to deputy user
- mail ( mail ): The mail permissions granted to deputy user
- tasks ( tasks ): The task permissions granted to deputy user
-
calendar - The calendar permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
contacts - The contact permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
drive - The Drive permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
mail - The mail permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
tasks - The task permissions granted to deputy user
{- permission ( integer ): The permission bit mask
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Grants a new deputy permission to a certain user
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object describing the deputy permission.
Content-type: application/json-
DeputyPermission
{-
userId
(
integer
):
The identifier of the user to which a deputy permission is granted. Required unless
identifieris given. -
identifier
(
string
):
Optional qualified identifier of the deputy entity, enabling a cross-context deputy. Either
<id>@<contextId>ormailto:<email>; resolved server-side to a context-qualified entity and, when present, supersedesuserId. Admitting a deputy in a different context is subject to the deployment's cross-context authority policy. Omit for a regular same-context deputy. -
sendOnBehalfOf
(
boolean
):
Whether the deputy user is allowed to send E-Mail on behalf of granting user, i.e. with the granting user as
Fromand the deputy asSender. Mutually exclusive withsendAs: setting it totrueon an update without also passingsendAsclearssendAs. Setting it tofalsedoes not revokesendAs; pass both asfalseto revoke any sending right. -
sendAs
(
boolean
):
Whether the deputy user is allowed to send E-Mail as granting user, i.e. with the granting user as
Fromand without aSenderheader, so recipients cannot tell the deputy sent it. Mutually exclusive withsendOnBehalfOf: passing both astruefails withDEPUTY-0015, and setting it totrueon an update without also passingsendOnBehalfOfclearssendOnBehalfOf. Can only be granted if the capabilitydeputy_send_asis available to the granting user, elseDEPUTY-0016is returned; a value already granted can still be passed back unchanged. Whiledeputy_send_asis not available, a grantedsendAsis effective assendOnBehalfOf. -
sentCopyToGranter
(
boolean
):
Whether the granting user gets a copy of the mails the deputy sends for them, on their behalf or as them, in their
standard Sent folder. Requires
sendOnBehalfOforsendAs, elseDEPUTY-0017is returned; switching between them keeps the copy, withdrawing both withdraws it as well, also if the stored value is passed back unchanged. Where the granting user's login offers the offline grant (modegrantofcom.openexchange.deputy.sentCopyToGranterModes), switching it on in the granting user's own session keeps a credential that refers to the grant; without a grant,MCRED-0014is returned unless a strategy applies, and the client lets the user authorize it (offline_grant?flow=authorize) and repeats the request. Granting it is rejected withDEPUTY-0018if neither the offline grant nor any of the strategies incom.openexchange.mail.admin.strategiesapplies to the granting user,doveadmonly wherecom.openexchange.deputy.sentCopyToGranterDoveAdmEnabledis set, and withDEPUTY-0019whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalse, though a value already granted can still be passed back unchanged; clients should offer it only where the capabilitydeputy_sent_copyis granted. Whether a mail gets a copy is decided each time the deputy sends. The copy contains the Bcc recipients of the mail. Omitted orfalseif not granted. -
classifiedAccess
(
string
, possibleValues:
noneconfidential
sendOnBehalfOfan attribute of the whole deputy permission, but it only concerns the calendar. Defaults tonone: as for any other sharee, appointments classifiedCONFIDENTIALare anonymized andPRIVATEones are hidden.confidentialshows confidential appointments with their details; private appointments always stay hidden from deputies. -
folderMode
(
string
, possibleValues:
defaultallspecific
default:default- Only the module's default folder is shared.all- All personal folders of the module are shared to the deputy.specific- Only the explicitly listed folders are shared.
- notification ( FolderBodyNotification ): No description available
-
modulePermissions
(
modulePermissions
):
The individual permissions by module granted to deputy user, keyed by the module identifiers that
action=availablereturns
-
userId
(
integer
):
The identifier of the user to which a deputy permission is granted. Required unless
-
FolderBodyNotification
{- transport ( string ): E.g. "mail".
- message ( string ): No description available
-
modulePermissions - The individual permissions by module granted to deputy user, keyed by the module identifiers that
action=availablereturns
{- calendar ( calendar ): The calendar permissions granted to deputy user
- mail ( mail ): The mail permissions granted to deputy user
- contacts ( contacts ): The contact permissions granted to deputy user
- tasks ( tasks ): The task permissions granted to deputy user
- drive ( drive ): The Drive permissions granted to deputy user
-
calendar - The calendar permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
-
mail - The mail permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
-
contacts - The contact permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
-
tasks - The task permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
-
drive - The Drive permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
Responses:
200:
The JSON representation of the newly created deputy permission
Content-type: application/json-
DeputyResponse
{- data ( GrantedDeputyPermission ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GrantedDeputyPermission
{- deputyId ( string ): The identifier of the deputy permission
- grantorId ( integer ): The identifier of the user which granted the deputy permission. `0` for a cross-context (foreign) grantor - its bare numeric id has no meaning in the requesting user's context; use `grantorIdentifier` / `grantorAddresses` to identify such a grantor.
- granteeId ( integer ): Same value as `grantorId`; use `grantorId` instead.
-
grantorIdentifier
(
string
):
The qualified identifier of the granting user as `
@ `. Disambiguates the grantor for a cross-context deputy grant, where the grantor lives in a different context than the deputy and the bare `grantorId` alone would be ambiguous. Only present in the reverse listing (`action=reverse`). - grantorAddresses ( array[string] ): An array containing the email addresses of the user which granted the deputy permission. Only present in the reverse listing (`action=reverse`), and there only when `sendOnBehalfOf` or `sendAs` is `true`.
- granteeAddresses ( array[string] ): Same value as `grantorAddresses`; use `grantorAddresses` instead.
- grantorEntityInfo ( grantorEntityInfo ): Detailed information about creator/modifier of an object
- userId ( integer ): The identifier of the user to which a deputy permission is granted. `0` for a cross-context (foreign) deputy entity - its bare numeric id has no meaning in the requesting user's context; use `identifier` instead.
-
identifier
(
string
):
The qualified identifier of the deputy entity as `
@ `. Disambiguates the deputy for a cross-context deputy grant, where the deputy lives in a different context than the granting user and the bare `userId` alone would be ambiguous. The counterpart of `grantorIdentifier`. - entityInfo ( entityInfo ): Detailed information about creator/modifier of an object
-
sendOnBehalfOf
(
boolean
):
Whether the deputy user is allowed to send E-Mail on behalf of granting user. In the reverse listing this takes the
operator setting into account: a granted
sendAsis reported assendOnBehalfOfwhile sending as the granting user is not enabled for that user. -
sendAs
(
boolean
):
Whether the deputy user is allowed to send E-Mail as granting user, i.e. without a
Senderheader. In the reverse listing this takes the operator setting into account, seesendOnBehalfOf, but each entry still reports the form of its own deputy permission only. The form sending actually uses is the one the aggregatedaction=reverseIdsreports per granting user: if the granting user grants the deputy "send as" through any of several deputy permissions, e.g. one to a group, sending uses "send as" for all of them. -
sentCopyToGranter
(
boolean
):
Whether the granting user gets a copy of the mails the deputy sends for them, on their behalf or as them, in their
standard Sent folder. Requires
sendOnBehalfOforsendAs, elseDEPUTY-0017is returned; switching between them keeps the copy, withdrawing both withdraws it as well, also if the stored value is passed back unchanged. Where the granting user's login offers the offline grant (modegrantofcom.openexchange.deputy.sentCopyToGranterModes), switching it on in the granting user's own session keeps a credential that refers to the grant; without a grant,MCRED-0014is returned unless a strategy applies, and the client lets the user authorize it (offline_grant?flow=authorize) and repeats the request. Granting it is rejected withDEPUTY-0018if neither the offline grant nor any of the strategies incom.openexchange.mail.admin.strategiesapplies to the granting user,doveadmonly wherecom.openexchange.deputy.sentCopyToGranterDoveAdmEnabledis set, and withDEPUTY-0019whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalse, though a value already granted can still be passed back unchanged; clients should offer it only where the capabilitydeputy_sent_copyis granted. Whether a mail gets a copy is decided each time the deputy sends. The copy contains the Bcc recipients of the mail. Omitted orfalseif not granted. In the reverse listing this takes the operator setting into account: it is omitted whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalsefor the granting user, even if granted. -
classifiedAccess
(
string
, possibleValues:
noneconfidential
sendOnBehalfOfan attribute of the whole deputy permission, but it only concerns the calendar. Defaults tonone: as for any other sharee, appointments classifiedCONFIDENTIALare anonymized andPRIVATEones are hidden.confidentialshows confidential appointments with their details; private appointments always stay hidden from deputies. Omitted fornone. -
folderMode
(
string
, possibleValues:
defaultallspecific
folderMode. - modulePermissions ( modulePermissions ): The individual permissions by module granted to deputy user, keyed by module identifier
-
grantorEntityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
entityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
modulePermissions - The individual permissions by module granted to deputy user, keyed by module identifier
{- calendar ( calendar ): The calendar permissions granted to deputy user
- contacts ( contacts ): The contact permissions granted to deputy user
- drive ( drive ): The Drive permissions granted to deputy user
- mail ( mail ): The mail permissions granted to deputy user
- tasks ( tasks ): The task permissions granted to deputy user
-
calendar - The calendar permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
contacts - The contact permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
drive - The Drive permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
mail - The mail permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
tasks - The task permissions granted to deputy user
{- permission ( integer ): The permission bit mask
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON array containing deputy permissions.
Content-type: application/json-
DeputyListResponse
{- data ( array[GrantedDeputyPermission] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GrantedDeputyPermission
{- deputyId ( string ): The identifier of the deputy permission
- grantorId ( integer ): The identifier of the user which granted the deputy permission. `0` for a cross-context (foreign) grantor - its bare numeric id has no meaning in the requesting user's context; use `grantorIdentifier` / `grantorAddresses` to identify such a grantor.
- granteeId ( integer ): Same value as `grantorId`; use `grantorId` instead.
-
grantorIdentifier
(
string
):
The qualified identifier of the granting user as `
@ `. Disambiguates the grantor for a cross-context deputy grant, where the grantor lives in a different context than the deputy and the bare `grantorId` alone would be ambiguous. Only present in the reverse listing (`action=reverse`). - grantorAddresses ( array[string] ): An array containing the email addresses of the user which granted the deputy permission. Only present in the reverse listing (`action=reverse`), and there only when `sendOnBehalfOf` or `sendAs` is `true`.
- granteeAddresses ( array[string] ): Same value as `grantorAddresses`; use `grantorAddresses` instead.
- grantorEntityInfo ( grantorEntityInfo ): Detailed information about creator/modifier of an object
- userId ( integer ): The identifier of the user to which a deputy permission is granted. `0` for a cross-context (foreign) deputy entity - its bare numeric id has no meaning in the requesting user's context; use `identifier` instead.
-
identifier
(
string
):
The qualified identifier of the deputy entity as `
@ `. Disambiguates the deputy for a cross-context deputy grant, where the deputy lives in a different context than the granting user and the bare `userId` alone would be ambiguous. The counterpart of `grantorIdentifier`. - entityInfo ( entityInfo ): Detailed information about creator/modifier of an object
-
sendOnBehalfOf
(
boolean
):
Whether the deputy user is allowed to send E-Mail on behalf of granting user. In the reverse listing this takes the
operator setting into account: a granted
sendAsis reported assendOnBehalfOfwhile sending as the granting user is not enabled for that user. -
sendAs
(
boolean
):
Whether the deputy user is allowed to send E-Mail as granting user, i.e. without a
Senderheader. In the reverse listing this takes the operator setting into account, seesendOnBehalfOf, but each entry still reports the form of its own deputy permission only. The form sending actually uses is the one the aggregatedaction=reverseIdsreports per granting user: if the granting user grants the deputy "send as" through any of several deputy permissions, e.g. one to a group, sending uses "send as" for all of them. -
sentCopyToGranter
(
boolean
):
Whether the granting user gets a copy of the mails the deputy sends for them, on their behalf or as them, in their
standard Sent folder. Requires
sendOnBehalfOforsendAs, elseDEPUTY-0017is returned; switching between them keeps the copy, withdrawing both withdraws it as well, also if the stored value is passed back unchanged. Where the granting user's login offers the offline grant (modegrantofcom.openexchange.deputy.sentCopyToGranterModes), switching it on in the granting user's own session keeps a credential that refers to the grant; without a grant,MCRED-0014is returned unless a strategy applies, and the client lets the user authorize it (offline_grant?flow=authorize) and repeats the request. Granting it is rejected withDEPUTY-0018if neither the offline grant nor any of the strategies incom.openexchange.mail.admin.strategiesapplies to the granting user,doveadmonly wherecom.openexchange.deputy.sentCopyToGranterDoveAdmEnabledis set, and withDEPUTY-0019whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalse, though a value already granted can still be passed back unchanged; clients should offer it only where the capabilitydeputy_sent_copyis granted. Whether a mail gets a copy is decided each time the deputy sends. The copy contains the Bcc recipients of the mail. Omitted orfalseif not granted. In the reverse listing this takes the operator setting into account: it is omitted whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalsefor the granting user, even if granted. -
classifiedAccess
(
string
, possibleValues:
noneconfidential
sendOnBehalfOfan attribute of the whole deputy permission, but it only concerns the calendar. Defaults tonone: as for any other sharee, appointments classifiedCONFIDENTIALare anonymized andPRIVATEones are hidden.confidentialshows confidential appointments with their details; private appointments always stay hidden from deputies. Omitted fornone. -
folderMode
(
string
, possibleValues:
defaultallspecific
folderMode. - modulePermissions ( modulePermissions ): The individual permissions by module granted to deputy user, keyed by module identifier
-
grantorEntityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
entityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
modulePermissions - The individual permissions by module granted to deputy user, keyed by module identifier
{- calendar ( calendar ): The calendar permissions granted to deputy user
- contacts ( contacts ): The contact permissions granted to deputy user
- drive ( drive ): The Drive permissions granted to deputy user
- mail ( mail ): The mail permissions granted to deputy user
- tasks ( tasks ): The task permissions granted to deputy user
-
calendar - The calendar permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
contacts - The contact permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
drive - The Drive permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
mail - The mail permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
tasks - The task permissions granted to deputy user
{- permission ( integer ): The permission bit mask
-
-
The light-weight counterpart to
action=reverse: it lists the granting users and the identifiers of their grants, but neither the granted folders nor the permission bits. Resolving those requires asking every module involved - for the mail module a server-wideGETMETADATAsweep per mail account, whose cost grows with the number of mailboxes visible to the user. Use this action to render the grantors, and fetch a grant's details only when the user asks for them.Two consequences follow from not consulting the modules: an orphaned grant - one whose module no longer backs a permission - is still listed here, whereas
action=reverseomits it; and no folder or permission information is returned.Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON array containing the granting users, each with the identifiers of its grants.
Content-type: application/json-
DeputyReverseIdsResponse
{- data ( array[GrantedDeputyIds] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GrantedDeputyIds - A granting user together with the identifiers of the deputy permissions it granted to the requesting user. Carries no granted folders and no permission bits - resolving those is what makes `action=reverse` expensive. Fetch a single grant's details on demand once the user asks for them.
{- grantorId ( integer ): The identifier of the user which granted the deputy permissions. `0` for a cross-context (foreign) grantor - its bare numeric id has no meaning in the requesting user's context; use `grantorIdentifier` to identify such a grantor.
-
grantorIdentifier
(
string
):
The qualified identifier of the granting user as `
@ `. Disambiguates the grantor for a cross-context deputy grant, where the grantor lives in a different context than the deputy and the bare `grantorId` alone would be ambiguous. - grantorEntityInfo ( grantorEntityInfo ): Detailed information about creator/modifier of an object
- deputyIds ( array[string] ): The identifiers of the deputy permissions this user granted to the requesting user.
- sendOnBehalfOf ( boolean ): Whether at least one of this user's grants permits sending on their behalf. Aggregated across that user's grants, because the addresses a deputy would send from belong to the granting user rather than to an individual grant. `false` if one of them permits sending as that user, see `sendAs`.
- sendAs ( boolean ): Whether at least one of this user's grants permits sending as them, i.e. without a `Sender` header. Aggregated like `sendOnBehalfOf`, and effective: a grant is only reported here while sending as the granting user is enabled for that user, and as `sendOnBehalfOf` otherwise.
- grantorAddresses ( array[string] ): The addresses the requesting user may send from on the granting user's behalf or as the granting user. Present only when `sendOnBehalfOf` or `sendAs` is `true` - the full listing applies the same gate.
-
grantorEntityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
-
Updates a previously granted deputy permission to a certain user
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type deputyId (empty) The identifier for the deputy permission
query string Body:
Description:A JSON object describing the deputy permission.
Content-type: application/json-
DeputyPermission
{-
userId
(
integer
):
The identifier of the user to which a deputy permission is granted. Required unless
identifieris given. -
identifier
(
string
):
Optional qualified identifier of the deputy entity, enabling a cross-context deputy. Either
<id>@<contextId>ormailto:<email>; resolved server-side to a context-qualified entity and, when present, supersedesuserId. Admitting a deputy in a different context is subject to the deployment's cross-context authority policy. Omit for a regular same-context deputy. -
sendOnBehalfOf
(
boolean
):
Whether the deputy user is allowed to send E-Mail on behalf of granting user, i.e. with the granting user as
Fromand the deputy asSender. Mutually exclusive withsendAs: setting it totrueon an update without also passingsendAsclearssendAs. Setting it tofalsedoes not revokesendAs; pass both asfalseto revoke any sending right. -
sendAs
(
boolean
):
Whether the deputy user is allowed to send E-Mail as granting user, i.e. with the granting user as
Fromand without aSenderheader, so recipients cannot tell the deputy sent it. Mutually exclusive withsendOnBehalfOf: passing both astruefails withDEPUTY-0015, and setting it totrueon an update without also passingsendOnBehalfOfclearssendOnBehalfOf. Can only be granted if the capabilitydeputy_send_asis available to the granting user, elseDEPUTY-0016is returned; a value already granted can still be passed back unchanged. Whiledeputy_send_asis not available, a grantedsendAsis effective assendOnBehalfOf. -
sentCopyToGranter
(
boolean
):
Whether the granting user gets a copy of the mails the deputy sends for them, on their behalf or as them, in their
standard Sent folder. Requires
sendOnBehalfOforsendAs, elseDEPUTY-0017is returned; switching between them keeps the copy, withdrawing both withdraws it as well, also if the stored value is passed back unchanged. Where the granting user's login offers the offline grant (modegrantofcom.openexchange.deputy.sentCopyToGranterModes), switching it on in the granting user's own session keeps a credential that refers to the grant; without a grant,MCRED-0014is returned unless a strategy applies, and the client lets the user authorize it (offline_grant?flow=authorize) and repeats the request. Granting it is rejected withDEPUTY-0018if neither the offline grant nor any of the strategies incom.openexchange.mail.admin.strategiesapplies to the granting user,doveadmonly wherecom.openexchange.deputy.sentCopyToGranterDoveAdmEnabledis set, and withDEPUTY-0019whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalse, though a value already granted can still be passed back unchanged; clients should offer it only where the capabilitydeputy_sent_copyis granted. Whether a mail gets a copy is decided each time the deputy sends. The copy contains the Bcc recipients of the mail. Omitted orfalseif not granted. -
classifiedAccess
(
string
, possibleValues:
noneconfidential
sendOnBehalfOfan attribute of the whole deputy permission, but it only concerns the calendar. Defaults tonone: as for any other sharee, appointments classifiedCONFIDENTIALare anonymized andPRIVATEones are hidden.confidentialshows confidential appointments with their details; private appointments always stay hidden from deputies. -
folderMode
(
string
, possibleValues:
defaultallspecific
default:default- Only the module's default folder is shared.all- All personal folders of the module are shared to the deputy.specific- Only the explicitly listed folders are shared.
- notification ( FolderBodyNotification ): No description available
-
modulePermissions
(
modulePermissions
):
The individual permissions by module granted to deputy user, keyed by the module identifiers that
action=availablereturns
-
userId
(
integer
):
The identifier of the user to which a deputy permission is granted. Required unless
-
FolderBodyNotification
{- transport ( string ): E.g. "mail".
- message ( string ): No description available
-
modulePermissions - The individual permissions by module granted to deputy user, keyed by the module identifiers that
action=availablereturns
{- calendar ( calendar ): The calendar permissions granted to deputy user
- mail ( mail ): The mail permissions granted to deputy user
- contacts ( contacts ): The contact permissions granted to deputy user
- tasks ( tasks ): The task permissions granted to deputy user
- drive ( drive ): The Drive permissions granted to deputy user
-
calendar - The calendar permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
-
mail - The mail permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
-
contacts - The contact permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
-
tasks - The task permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
-
drive - The Drive permissions granted to deputy user
{- permission ( integer ): The permission bit mask. Required.
-
folderIds
(
array[string]
):
An array containing the identifiers of the explicitly shared folders (with folder mode
specific).
Responses:
200:
The JSON representation of the updated deputy permission
Content-type: application/json-
DeputyResponse
{- data ( GrantedDeputyPermission ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GrantedDeputyPermission
{- deputyId ( string ): The identifier of the deputy permission
- grantorId ( integer ): The identifier of the user which granted the deputy permission. `0` for a cross-context (foreign) grantor - its bare numeric id has no meaning in the requesting user's context; use `grantorIdentifier` / `grantorAddresses` to identify such a grantor.
- granteeId ( integer ): Same value as `grantorId`; use `grantorId` instead.
-
grantorIdentifier
(
string
):
The qualified identifier of the granting user as `
@ `. Disambiguates the grantor for a cross-context deputy grant, where the grantor lives in a different context than the deputy and the bare `grantorId` alone would be ambiguous. Only present in the reverse listing (`action=reverse`). - grantorAddresses ( array[string] ): An array containing the email addresses of the user which granted the deputy permission. Only present in the reverse listing (`action=reverse`), and there only when `sendOnBehalfOf` or `sendAs` is `true`.
- granteeAddresses ( array[string] ): Same value as `grantorAddresses`; use `grantorAddresses` instead.
- grantorEntityInfo ( grantorEntityInfo ): Detailed information about creator/modifier of an object
- userId ( integer ): The identifier of the user to which a deputy permission is granted. `0` for a cross-context (foreign) deputy entity - its bare numeric id has no meaning in the requesting user's context; use `identifier` instead.
-
identifier
(
string
):
The qualified identifier of the deputy entity as `
@ `. Disambiguates the deputy for a cross-context deputy grant, where the deputy lives in a different context than the granting user and the bare `userId` alone would be ambiguous. The counterpart of `grantorIdentifier`. - entityInfo ( entityInfo ): Detailed information about creator/modifier of an object
-
sendOnBehalfOf
(
boolean
):
Whether the deputy user is allowed to send E-Mail on behalf of granting user. In the reverse listing this takes the
operator setting into account: a granted
sendAsis reported assendOnBehalfOfwhile sending as the granting user is not enabled for that user. -
sendAs
(
boolean
):
Whether the deputy user is allowed to send E-Mail as granting user, i.e. without a
Senderheader. In the reverse listing this takes the operator setting into account, seesendOnBehalfOf, but each entry still reports the form of its own deputy permission only. The form sending actually uses is the one the aggregatedaction=reverseIdsreports per granting user: if the granting user grants the deputy "send as" through any of several deputy permissions, e.g. one to a group, sending uses "send as" for all of them. -
sentCopyToGranter
(
boolean
):
Whether the granting user gets a copy of the mails the deputy sends for them, on their behalf or as them, in their
standard Sent folder. Requires
sendOnBehalfOforsendAs, elseDEPUTY-0017is returned; switching between them keeps the copy, withdrawing both withdraws it as well, also if the stored value is passed back unchanged. Where the granting user's login offers the offline grant (modegrantofcom.openexchange.deputy.sentCopyToGranterModes), switching it on in the granting user's own session keeps a credential that refers to the grant; without a grant,MCRED-0014is returned unless a strategy applies, and the client lets the user authorize it (offline_grant?flow=authorize) and repeats the request. Granting it is rejected withDEPUTY-0018if neither the offline grant nor any of the strategies incom.openexchange.mail.admin.strategiesapplies to the granting user,doveadmonly wherecom.openexchange.deputy.sentCopyToGranterDoveAdmEnabledis set, and withDEPUTY-0019whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalse, though a value already granted can still be passed back unchanged; clients should offer it only where the capabilitydeputy_sent_copyis granted. Whether a mail gets a copy is decided each time the deputy sends. The copy contains the Bcc recipients of the mail. Omitted orfalseif not granted. In the reverse listing this takes the operator setting into account: it is omitted whilecom.openexchange.deputy.sentCopyToGranterEnabledisfalsefor the granting user, even if granted. -
classifiedAccess
(
string
, possibleValues:
noneconfidential
sendOnBehalfOfan attribute of the whole deputy permission, but it only concerns the calendar. Defaults tonone: as for any other sharee, appointments classifiedCONFIDENTIALare anonymized andPRIVATEones are hidden.confidentialshows confidential appointments with their details; private appointments always stay hidden from deputies. Omitted fornone. -
folderMode
(
string
, possibleValues:
defaultallspecific
folderMode. - modulePermissions ( modulePermissions ): The individual permissions by module granted to deputy user, keyed by module identifier
-
grantorEntityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
entityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
modulePermissions - The individual permissions by module granted to deputy user, keyed by module identifier
{- calendar ( calendar ): The calendar permissions granted to deputy user
- contacts ( contacts ): The contact permissions granted to deputy user
- drive ( drive ): The Drive permissions granted to deputy user
- mail ( mail ): The mail permissions granted to deputy user
- tasks ( tasks ): The task permissions granted to deputy user
-
calendar - The calendar permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
contacts - The contact permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
drive - The Drive permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
mail - The mail permissions granted to deputy user
{- permission ( integer ): The permission bit mask
- folderIds ( array[string] ): The identifiers of the folders the permission applies to.
-
tasks - The task permissions granted to deputy user
{- permission ( integer ): The permission bit mask
400:
Bad request, response contains error message.
401:
Not authorized
-
-
-
Export
The module export allows to export specific module data (like contacts, tasks or appointments) from a folder in several formats (iCal, vCard, CSV).-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder whose content shall be exported. This must be a contact folder. Only required if there is no `body` parameter submitted.
query string columns (empty) A comma-separated list of columns to export, like "501,502". A column is specified by a numeric column identifier, see Detailed contact data.
query string export_dlists (empty) Toggles whether distribution lists shall be exported too (default is `true`).
query string sanitize (empty) Whether cell values starting with `=`, `+`, `-`, `@`, a tab or a newline are prefixed with a single quote, so that spreadsheet applications do not interpret them as formulas. Defaults to the value of the property `com.openexchange.export.csv.sanitize`, which is `false` by default.
query boolean content_type (empty) If set to `application/octet-stream`, the file is delivered as a download with that MIME type instead of its format's MIME type.
query string delivery (empty) If set to `download`, the file is delivered as a download with the MIME type `application/octet-stream` instead of its format's MIME type.
query string body (empty) A JSON array of JSON objects with the `id` and `folder_id` of the contacts to export, like the request body of the PUT request. If set, the `folder` parameter is ignored.
query string Responses:
200:
An input stream containing the content of the CSV file with the MIME type `text/csv`, or `application/octet-stream` if a download was requested via `content_type` or `delivery`.
Content-type: text/csv-
Unknown
-
-
Exports a batch of contact data to a CSV file.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to export, like "501,502". A column is specified by a numeric column identifier, see Detailed contact data.
query string export_dlists (empty) Toggles whether distribution lists shall be exported too (default is `true`).
query string sanitize (empty) Whether cell values starting with `=`, `+`, `-`, `@`, a tab or a newline are prefixed with a single quote, so that spreadsheet applications do not interpret them as formulas. Defaults to the value of the property `com.openexchange.export.csv.sanitize`, which is `false` by default.
query boolean content_type (empty) If set to `application/octet-stream`, the file is delivered as a download with that MIME type instead of its format's MIME type.
query string delivery (empty) If set to `download`, the file is delivered as a download with the MIME type `application/octet-stream` instead of its format's MIME type.
query string Body:
Description:A JSON array of JSON objects with the id and folder_id.
Content-type: application/json-
InfoItemExport
{- id ( string , required ): The object ID of the contact, task or appointment (e.g. "368").
- folder_id ( string , required ): The object ID of the related folder (e.g. "2435").
Responses:
200:
An input stream containing the content of the CSV file with the MIME type `text/csv`, or `application/octet-stream` if a download was requested via `content_type` or `delivery`.
Content-type: text/csv-
Unknown
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar Name Scopes oauth
read_tasks
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder whose content shall be exported. This must be a calendar or task folder. Only required if there is no `body` parameter submitted.
query string columns (empty) A comma-separated list of columns to export, like "200,201". A column is specified by a numeric column identifier, see Detailed task data. Only applies to the export of a task folder; appointments and a `body` selection are always exported completely.
query string content_type (empty) If set to `application/octet-stream`, the file is delivered as a download with that MIME type instead of its format's MIME type.
query string delivery (empty) If set to `download`, the file is delivered as a download with the MIME type `application/octet-stream` instead of its format's MIME type.
query string body (empty) A JSON array of JSON objects with the `id` and `folder_id` of the appointments or tasks to export, like the request body of the PUT request. If set, the `folder` parameter is ignored.
query string Responses:
200:
An input stream containing the content of the iCal file with the MIME type `text/calendar`, or `application/octet-stream` if a download was requested via `content_type` or `delivery`.
Content-type: text/calendar-
Unknown
-
-
Exports a batch of appointments and tasks data to a iCalendar file.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_calendar Name Scopes oauth
read_tasks
Parameters:
Parameter Value Description Parameter Type Data Type content_type (empty) If set to `application/octet-stream`, the file is delivered as a download with that MIME type instead of its format's MIME type.
query string delivery (empty) If set to `download`, the file is delivered as a download with the MIME type `application/octet-stream` instead of its format's MIME type.
query string Body:
Description:A JSON array of JSON objects with the id and folder_id.
Content-type: application/json-
InfoItemExport
{- id ( string , required ): The object ID of the contact, task or appointment (e.g. "368").
- folder_id ( string , required ): The object ID of the related folder (e.g. "2435").
Responses:
200:
An input stream containing the content of the iCal file with the MIME type `text/calendar`, or `application/octet-stream` if a download was requested via `content_type` or `delivery`.
Content-type: text/calendar-
Unknown
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder whose content shall be exported. This must be a contact folder. Only required if there is no `body` parameter submitted.
query string export_dlists (empty) Whether distribution lists are exported or not
query boolean columns (empty) A comma-separated list of columns to export, like "501,502". A column is specified by a numeric column identifier, see Detailed contact data.
query string content_type (empty) If set to `application/octet-stream`, the file is delivered as a download with that MIME type instead of its format's MIME type.
query string delivery (empty) If set to `download`, the file is delivered as a download with the MIME type `application/octet-stream` instead of its format's MIME type.
query string body (empty) A JSON array of JSON objects with the `id` and `folder_id` of the contacts to export, like the request body of the PUT request. If set, the `folder` parameter is ignored.
query string Responses:
200:
An input stream containing the content of the vCard file with the MIME type `text/x-vcard`, or `application/octet-stream` if a download was requested via `content_type` or `delivery`.
Content-type: text/x-vcard-
Unknown
-
-
Exports a batch of contact data to a vCard file.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type export_dlists (empty) Whether distribution lists are exported or not
query boolean columns (empty) A comma-separated list of columns to export, like "501,502". A column is specified by a numeric column identifier, see Detailed contact data.
query string content_type (empty) If set to `application/octet-stream`, the file is delivered as a download with that MIME type instead of its format's MIME type.
query string delivery (empty) If set to `download`, the file is delivered as a download with the MIME type `application/octet-stream` instead of its format's MIME type.
query string Body:
Description:A JSON array of JSON objects with the id and folder_id.
Content-type: application/json-
InfoItemExport
{- id ( string , required ): The object ID of the contact, task or appointment (e.g. "368").
- folder_id ( string , required ): The object ID of the related folder (e.g. "2435").
Responses:
200:
An input stream containing the content of the vCard file with the MIME type `text/x-vcard`, or `application/octet-stream` if a download was requested via `content_type` or `delivery`.
Content-type: text/x-vcard-
Unknown
-
-
-
File
The ajax file upload module offers to store files in server's dedicated download directory for a configurable amount of time. The files are then accessible for further operations like inline images in (html) mails.-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the uploaded file.
query string Responses:
200:
The content of the requested file is directly written into output stream.
Content-type: application/octet-stream-
Unknown
404:
Not found.
-
-
By updating the last access timestamp the file is prevented from being deleted from both session and disk storage.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the uploaded file whose timestamp should be updated.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
It can be uploaded multiple files at once. Each file must be specified in an own form field (the form field name is arbitrary).
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type module (empty) The module for which the file is uploaded to determine proper upload quota constraints (e.g. "mail", "infostore", etc.).
query string type The file type filter to define which file types are allowed during upload. Currently supported filters are: file (for all), text (for `text/*`), media (for image, audio or video), image (for `image/*`), audio (for `audio/*`), video (for `video/*`) and application (for `application/*`).
query string Body:
Description:No description available
Content-type: multipart/form-data-
uploadFileBody
{- file ( string , required ): The file to upload.
Responses:
200:
A HTML page as described in File uploads containing a JSON array with the IDs of the uploaded files or errors if some occurred. The files are accessible through the returned IDs for future use.
Content-type: text/html-
Unknown
-
-
Returns at most
lenbytes of the file, starting at byte offsetoff. The range is cut at the end of the file; an offset at or beyond the end of the file yields an empty body.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the uploaded file.
query string off (empty) The zero-based byte offset to start reading from.
query integer len (empty) The maximum number of bytes to return.
query integer Responses:
200:
The requested byte range of the file is directly written into output stream.
Content-type: application/octet-stream-
Unknown
404:
Not found.
-
-
-
Filestorage
The file storage module provides access to file storage backends, e.g. Drive, Dropbox, etc.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_files
Parameters:
Parameter Value Description Parameter Type Data Type filestorageService (empty) The identifier of a file storage service to list only those accounts that belong to that file storage service.
query string connectionCheck (empty) If set to true, a connection check is performed for each queried file storage account. In case the connection check failed, the hasError flag is set to true in the returned response object, and also an error object describing the cause of the failure is included.
query boolean Responses:
200:
A JSON object containing an array with JSON objects each describing one file storage account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountsResponse
{- data ( array[FileAccountResponseData] ): An array of JSON objects each describing one file storage account.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
FileAccountResponseData
{- id ( string ): The identifier of the file storage account in the scope of its file storage service (e.g. Infostore, Dropbox, ...). This is not writeable and is generated by the server.
- filestorageService ( string ): The identifier of the file storage service this account belongs to.
- qualifiedId ( string ): A global identifier of the file storage account across all file storage services. This is not writeable and is generated by the server.
- displayName ( string ): A user chosen, human-readable name to identify the account. Will also be translated into the folder name of the folder representing the accounts content.
- rootFolder ( string ): The ID of the account's root folder within the folder tree, if available. This is not writeable and is generated by the server.
- isDefaultAccount ( boolean ): Indicates whether this account is the user's default file storage, i.e. the one new files go to. Exactly one account has this flag set to `true`: the built-in infostore, unless another file storage account is configured as the default through `com.openexchange.file.storage.default`. This is not writeable and is generated by the server.
- hasError ( boolean ): Indicates whether an error occurred while accessing this account, e.g. during the connection check. If set to true, the other error related information in this response object are set as well.
- error ( string ): The translated error message. Present in case of errors while accessing the account.
- error_params ( array[string] ): Exception parameters
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
- metadata ( metadata ): A JSON object providing additional arbitrary metadata of the account.
- capabilities ( array[string] ): An array of capability names. Possible values are: FILE_VERSIONS, EXTENDED_METADATA, RANDOM_FILE_ACCESS, LOCKS, READ_ONLY, MAIL_ATTACHMENTS, AUTO_NEW_VERSION, ZIPPABLE_FOLDER, COUNT_TOTAL, CASE_INSENSITIVE, AUTO_RENAME_FOLDERS, RESTORE, BACKWARD_LINK, and EXT_SHARING_LINK.
- configuration ( configuration ): The configuration data according to the form description of the relevant file storage service.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_files
Parameters:
Parameter Value Description Parameter Type Data Type filestorageService (empty) The identifier of the file storage service the account belongs to.
query string id (empty) The ID of the account to delete.
query string Responses:
200:
A JSON object containing the number 1 on success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountUpdateResponse
{- data ( integer ): Returns 1 on success.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_files
Parameters:
Parameter Value Description Parameter Type Data Type filestorageService (empty) The identifier of the file storage service the account belongs to.
query string id (empty) The ID of the requested account.
query string Responses:
200:
A JSON object containing the data of the file storage account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountResponse
{- data ( FileAccountResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
FileAccountResponseData
{- id ( string ): The identifier of the file storage account in the scope of its file storage service (e.g. Infostore, Dropbox, ...). This is not writeable and is generated by the server.
- filestorageService ( string ): The identifier of the file storage service this account belongs to.
- qualifiedId ( string ): A global identifier of the file storage account across all file storage services. This is not writeable and is generated by the server.
- displayName ( string ): A user chosen, human-readable name to identify the account. Will also be translated into the folder name of the folder representing the accounts content.
- rootFolder ( string ): The ID of the account's root folder within the folder tree, if available. This is not writeable and is generated by the server.
- isDefaultAccount ( boolean ): Indicates whether this account is the user's default file storage, i.e. the one new files go to. Exactly one account has this flag set to `true`: the built-in infostore, unless another file storage account is configured as the default through `com.openexchange.file.storage.default`. This is not writeable and is generated by the server.
- hasError ( boolean ): Indicates whether an error occurred while accessing this account, e.g. during the connection check. If set to true, the other error related information in this response object are set as well.
- error ( string ): The translated error message. Present in case of errors while accessing the account.
- error_params ( array[string] ): Exception parameters
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
- metadata ( metadata ): A JSON object providing additional arbitrary metadata of the account.
- capabilities ( array[string] ): An array of capability names. Possible values are: FILE_VERSIONS, EXTENDED_METADATA, RANDOM_FILE_ACCESS, LOCKS, READ_ONLY, MAIL_ATTACHMENTS, AUTO_NEW_VERSION, ZIPPABLE_FOLDER, COUNT_TOTAL, CASE_INSENSITIVE, AUTO_RENAME_FOLDERS, RESTORE, BACKWARD_LINK, and EXT_SHARING_LINK.
- configuration ( configuration ): The configuration data according to the form description of the relevant file storage service.
-
-
Example for creating a new OAuth-based file storage account
First, get the description of the file storage service for which a new account is supposed to be created:
GET /ajax/fileservice?action=get&id=boxcom&session=...The response might be:
{ id: "boxcom", displayName: "Box File Storage Service", configuration: { widget: "oauthAccount", options: { type: "com.openexchange.oauth.boxcom" }, name: "account", displayName: "Select an existing account", mandatory: true } }Next get the associated OAuth account information:
GET /ajax/oauth/accounts?action=all&serviceId=com.openexchange.oauth.boxcom&session=...The response might be:
{ "data":[ { "id":333, "displayName":"My Box.com account", "serviceId":"com.openexchange.oauth.boxcom" } ] }Finally, create the file storage account:
PUT /ajax/fileaccount?action=new&session=... { "filestorageService":"boxcom", "displayName":"My box.com account", "configuration":{ "account":"333", "type":"com.openexchange.oauth.boxcom" } }The response provides the relative identifier of the newly created account.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_files
Body:
Description:A JSON object describing the account to create, with at least the field `filestorageService` set.
Content-type: application/json-
FileAccountRequestData
{- id ( string ): The identifier of the file storage account in the scope of its file storage service (e.g. Infostore, Dropbox, ...). It is generated by the server on creation and identifies the account to update.
- filestorageService ( string ): The identifier of the file storage service this account belongs to.
- displayName ( string ): A user chosen, human-readable name to identify the account. Will also be translated into the folder name of the folder representing the accounts content.
- configuration ( configuration ): The configuration data according to the form description of the relevant file storage service.
Responses:
200:
A JSON object containing the ID of the newly created account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountCreationResponse
{- data ( string ): The ID of the newly created account.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Checks either a single account, stated by
idalong withfilestorageService, or all accounts of the user, optionally limited to the accounts of one file storage service. Accounts of file storage services that offer no connection check are reported with statusok.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_files
Parameters:
Parameter Value Description Parameter Type Data Type filestorageService (empty) The identifier of the file storage service. Required if `id` is set, otherwise it limits the check to the accounts of that file storage service.
query string id (empty) The ID of the account to check. If not set, all accounts are checked.
query string Responses:
200:
A JSON object containing an array with the status of each checked account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountStatusResponse
{- data ( array[FileAccountStatusData] ): An array of JSON objects each describing the status of one file storage account.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
FileAccountStatusData
{- id ( string ): The identifier of the file storage account in the scope of its file storage service.
- filestorageService ( string ): The identifier of the file storage service this account belongs to.
- displayName ( string ): The display name of the account.
-
status
(
string
, possibleValues:
okerrorinvalid_credentialsunreachable
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_files
Body:
Description:A JSON object describing the updated data of the account. The fields `id` and `filestorageService` must be set.
Content-type: application/json-
FileAccountRequestData
{- id ( string ): The identifier of the file storage account in the scope of its file storage service (e.g. Infostore, Dropbox, ...). It is generated by the server on creation and identifies the account to update.
- filestorageService ( string ): The identifier of the file storage service this account belongs to.
- displayName ( string ): A user chosen, human-readable name to identify the account. Will also be translated into the folder name of the folder representing the accounts content.
- configuration ( configuration ): The configuration data according to the form description of the relevant file storage service.
Responses:
200:
A JSON object containing the number 1 on success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountUpdateResponse
{- data ( integer ): Returns 1 on success.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_files
Responses:
200:
A JSON object containing an array with JSON objects each describing one file storage service. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileServicesResponse
{- data ( array[FileServiceData] ): An array of JSON objects each describing one service.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
FileServiceData
{- id ( string ): The identifier of the file storage service, e.g. "boxcom".
- displayName ( string ): A human-readable display name of the service, e.g. "Box File Storage Service"
- configuration ( array[FileServiceConfiguration] ): An array of dynamic form fields describing the account configuration. Omitted if the service has no configuration fields.
-
FileServiceConfiguration
{- widget ( string ): The name of the widget, one of "input", "password", "checkbox", "link" or "text", or the name of a custom widget.
- name ( string ): The name of the field.
- displayName ( string ): The display name of the field.
- mandatory ( boolean ): Indicates whether the field is mandatory.
- options ( options ): The options of the field as name-value pairs. Omitted if the field has no options.
- defaultValue ( any ): The default value of the field, e.g. a string or a boolean. Omitted if the field has no default value and always omitted for "password" widgets.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_files
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the file storage service to load.
query string Responses:
200:
A JSON object containing the data of the file storage service. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileServiceResponse
{- data ( FileServiceData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
FileServiceData
{- id ( string ): The identifier of the file storage service, e.g. "boxcom".
- displayName ( string ): A human-readable display name of the service, e.g. "Box File Storage Service"
- configuration ( array[FileServiceConfiguration] ): An array of dynamic form fields describing the account configuration. Omitted if the service has no configuration fields.
-
FileServiceConfiguration
{- widget ( string ): The name of the widget, one of "input", "password", "checkbox", "link" or "text", or the name of a custom widget.
- name ( string ): The name of the field.
- displayName ( string ): The display name of the field.
- mandatory ( boolean ): Indicates whether the field is mandatory.
- options ( options ): The options of the field as name-value pairs. Omitted if the field has no options.
- defaultValue ( any ): The default value of the field, e.g. a string or a boolean. Omitted if the field has no default value and always omitted for "password" widgets.
-
-
-
Folders
The folders module is used to access the OX folder structure. Special system folders:ID Type Description 6 contacts System Users drive://0/ infostore The virtual root of the Drive module in tree 1. Its subfolders are the root folders of every file storage account of the user: the default file storage first, then the built-in infostore as folder 9, then the other accounts. The folder is read-only and holds no items; listing a root folder gives the folders of that storage, e.g. the personal, shared and public folders and the trash. -
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string content_type (empty) The desired content type, either numbers or strings. Known default content types are:
- "tasks": for folders holding Task objects
- "calendar": for folders holding legacy Appointment objects (see module "calendar")
- "event": for folders holding Event objects (see module "chronos")
- "contacts": for folders holding Contact objects (see module "contacts"; with folder identifiers in legacy format)
- "addressdata": for folders holding Contact objects (see module "addressbooks"; with folder identifiers in composite format)
- "mail": for folders holding Maildata objects (see module "mail")
- "infostore": for folders holding Infoitem objects (see module "infostore")
query string columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string all (empty) Whether to include unsubscribed folders as well (`true` or `1`). By default, only subscribed folders are returned.
query boolean root (empty) The optional object ID of the root folder to start collecting the visible folders from.
query string mailRootFolders (empty) For content type "mail", set to `true` to also return the root folders of the user's external mail accounts among the private folders.
query boolean Responses:
200:
A JSON object containing three fields: "private", "public, and "shared". Each field is a JSON array with data for all folders. Each folder is itself described by an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. For the content_type "mail" a JSON object only containing the JSON array "private" is returned. Mail folders are managed by the mail storage and all are considered to be in private folder namespace for an Open-Xchange user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersVisibilityResponse
{- data ( FoldersVisibilityData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
FoldersVisibilityData
{- private ( private ): Array of private folders. Each folder is described as an array itself.
- public ( public ): Array of public folders. Each folder is described as an array itself.
- shared ( shared ): Array of shared folders. Each folder is described as an array itself.
401:
No description available
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the folder to check.
query string type (empty) The type of the files to upload (e. g. 'filestorage, 'pim')
query string Body:
Description:A JSON object containing an array of file meta data (size and name).
Content-type: application/json-
FolderCheckLimitsData
{- files ( array[FolderCheckLimitsFiles] ): An array of files
-
FolderCheckLimitsFiles
{- size ( integer ): The size of the file to check in bytes.
- name ( string ): The name of the file to check.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderCheckLimitsResponse
{- data ( FolderCheckLimitsResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
FolderCheckLimitsResponseData
{- errors ( array[FolderCheckLimitsResponseErrorData] ): No description available
-
FolderCheckLimitsResponseErrorData
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mails Name Scopes oauth
write_tasks Name Scopes oauth
write_calendar Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string pushToken (empty) The client's push token to restrict the generated drive event and mail folder push notifications
query string allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean Body:
Description:A JSON array with object IDs of the folders.
Content-type: application/json
Responses:
200:
A JSON array containing the IDs of folders that could not be cleared, each failure reported as a warning of the response. Meaning you receive an empty JSON array if everything worked well. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersCleanUpResponse
{- data ( array[string] ): An array with object IDs of folders that could not be processed because of a concurrent modification or something else. If the extendedResponse parameter is set to `true` the array contains json objects instead.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
202:
The operation did not complete in time and was added to job queue providing the job identifier. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetJobResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- job ( string ): The job identifier
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mails Name Scopes oauth
write_tasks Name Scopes oauth
write_calendar Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string timestamp (empty) The optional timestamp of the last update of the deleted folders.
query long allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string hardDelete (empty) If set to `true`, the folders are deleted permanently. Otherwise, and if the underlying storage supports a trash folder and the folders are not yet located below the trash folder, they are moved to the trash folder. The same question is asked of what the folders *hold*: unless this is set to `true`, the items in a deleted folder are moved into the owner's trash folder of that module where one is supported - calendar events and contacts currently - so that deleting a folder is no more final than deleting the items in it one by one. Setting it to `true` removes them permanently along with the folder. This is the same meaning the parameter has on `/chronos?action=delete` (spelled `harddelete` there). Deleting a trash folder itself is always permanent, for the folder and its contents alike, since a deletion there has nowhere further to go. Items for which the trash is not available or not supported are removed permanently as well, as a best-effort behavior.
query boolean failOnError (empty) If this parameter is set to `true` and the deletion of a folder fails, the remaining folders are still processed, then the request fails with an error naming the folders that could not be deleted. If this parameter is set to 'false' the process will continue for the remaining folders and will add a warning to the response instead.
query boolean extendedResponse (empty) If this parameter is set to `true` a different response will be returned. The response contains an array of json objects, which can contain the following fields:
new_path- The new path of the folder in case of a trash operation.path- The old path.hasFailed- A boolean flag indicating that the delete operation has failed.isTrashed- A boolean flag indicating that the folder has been trashed.isSuppoprted- A boolean flag indicating that the folder storage supports trashing.
query boolean pushToken (empty) The client's push token to restrict the generated drive event and mail folder push notifications
query string allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long Body:
Description:A JSON array with object IDs of the folders.
Content-type: application/json
Responses:
200:
An array with object IDs of folders that were NOT deleted. There may be a lot of different causes for a not deleted folder: A folder has been modified in the mean time, the user does not have the permission to delete it or those permissions have just been removed, the folder does not exist, etc. You receive an empty JSON array if everything worked well. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersCleanUpResponse
{- data ( array[string] ): An array with object IDs of folders that could not be processed because of a concurrent modification or something else. If the extendedResponse parameter is set to `true` the array contains json objects instead.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
202:
The operation did not complete in time and was added to job queue providing the job identifier. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetJobResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- job ( string ): The job identifier
401:
No description available
403:
No description available
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mails Name Scopes oauth
read_tasks Name Scopes oauth
read_calendar Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested folder.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string altNames (empty) Whether to prefer alternative names for former infostore folders or not.
query boolean Responses:
200:
A JSON object containing the data of the requested folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderResponse
{- data ( FolderResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
FolderResponseData
{- id ( string ): Object ID
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification. Note that the type is Timestamp, not Time.
- folder_id ( string ): Object ID of the parent folder.
- title ( string ): Name of this folder.
- module ( string ): Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail"
- type ( integer ): Type of folder.
- subfolders ( boolean ): Set `true` if this folder has subfolders.
- own_rights ( integer ): Permissions which apply to the current user, as described either in Permission flags or in RFC2086.
- permissions ( array[FolderPermission] ): No description available
- standard_folder ( boolean ): Indicates whether or not folder is marked as a default folder (only OX folder).
- total ( integer ): The number of objects in this Folder.
- new ( integer ): The number of new objects in this Folder.
- unread ( integer ): The number of unread objects in this Folder.
- deleted ( integer ): The number of deleted objects in this Folder.
-
capabilities
(
integer
):
Bit mask containing information about mailing system capabilites.
* bit 0 (mailing system supports permissions),
* bit 1 (mailing system supports ordering mails by their thread reference),
* bit 2 (mailing system supports quota restrictions),
* bit 3 (mailing system supports sorting),
* bit 4 (mailing system supports folder subscription, and the user may change the subscription status of the folder) - subscribed ( boolean ): Indicates whether this folder should appear in folder tree or not. Standard folders cannot be unsubscribed.
- subscr_subflds ( boolean ): Indicates whether subfolders should appear in folder tree or not.
-
standard_folder_type
(
integer
, possibleValues:
0123789101112
* 0 (non-default folder),
* 1 (task),
* 2 (calendar),
* 3 (contact),
* 7 (inbox),
* 8 (infostore),
* 9 (drafts),
* 10 (sent),
* 11 (spam),
* 12 (trash) - supported_capabilities ( array[string] ): Can contain "permissions", "quota", "sort", "subscription". The folders of a file storage may state further capabilities of that storage, e.g. "file_versions", "locks", "restore", "zippable_folder", "search_by_term", "search_in_folder_name", or "external_recipients", which denotes that the folder and its items can be shared with external recipients by their mail address, the storage granting them access itself without a guest user of the server.
- account_id ( string ): Will be null if the folder does not belong to any account (i.e. if its module doesn't support multiple accounts), is a virtual folder or an account-agnostic system folder.
- com.openexchange.publish.publicationFlag ( boolean ): Indicates whether this folder is published. Read Only, provided by the com.openexchange.publish plugin.
- com.openexchange.subscribe.subscriptionFlag ( boolean ): Indicates whether this folder has subscriptions storing their content in this folder. Read Only, provided by the com.openexchange.subscribe plugin.
- com.openexchange.folderstorage.displayName ( string ): Provides the read only display name of the folder's owner.
- com.openexchange.share.extendedPermissions ( array[FolderExtendedPermission] ): No description available
- com.openexchange.calendar.extendedProperties ( FolderCalendarExtendedProperties ): Contains the extended properties for calendar folders
- com.openexchange.calendar.config ( FolderCalendarConfig ): Holds arbitrary, provider-specific configuration data for calendar accounts.
- com.openexchange.calendar.calendarUser ( CalendarUser ): No description available
- com.openexchange.calendar.provider ( string ): Denotes the identifier of the underlying calendar provider.
- com.openexchange.contacts.extendedProperties ( FolderContactsExtendedProperties ): Contains the extended properties for contact folders
- com.openexchange.contacts.provider ( string ): Denotes the identifier of the underlying contacts provider, e.g. "sharedaccount" for the address books of a shared account.
- used_for_sync ( used_for_sync ): Indicates whether this folder should used for sync or not. Standard folders cannot be changed.
- created_from ( created_from ): Detailed information about creator/modifier of an object
- modified_from ( modified_from ): Detailed information about creator/modifier of an object
- com.openexchange.mail.ownerInfo ( com.openexchange.mail.ownerInfo ): The folder field exposing a mail folder's "owner" information. The qualified `identifier` is always present; the numeric `user` is only emitted when the owner lives in the session user's own context.
- com.openexchange.mail.rootFolderStatus ( com.openexchange.mail.rootFolderStatus ): Available for mail account root folder (if supported by underyling mail server), where it provides basic overall status information of the account.
-
FolderPermission
{- bits ( integer ): For non-mail folders, a number as described in Permission flags.
- rights ( string ): For mail folders, the rights string as defined in RFC 2086.
-
identifier
(
string
):
Qualified identifier of the entity associated with this permission. Opaque to the client; the concrete syntax depends on the folder's storage backend and may carry context qualification or other storage-specific encoding. Clients should treat it as a string token and echo it back verbatim on update.
The value is stable for a given principal and matches the corresponding `identifier` of `com.openexchange.groupware.EntityInfo` for the same principal, allowing clients to correlate base and extended permission entries.
On write, the field is optional. In addition to echoing a previously returned identifier, the server accepts a `mailto:
` URI to add a sharee that is resolved to an internal user via the configured mail resolver (e.g. `mailto:alice@elsewhere.example`). Same-context grants may keep sending bare `entity` only — unchanged behavior. If both `identifier` and `entity` are sent for an internal grant, they must refer to the same principal; otherwise the request is rejected as ambiguous. - entity ( integer ): Internal identifier of the user or group to which this permission applies (ignored for type "anonymous" or "guest"). Interpreted in the folder's host context unless the entity lives in a different context, in which case the qualified `identifier` is authoritative and clients should treat the bare `entity` as opaque.
- group ( boolean ): Set `true` if entity refers to a group, `false` if it refers to a user (ignored for type "anonymous" or "guest").
- type ( string ): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address ( string ): The e-mail address of the recipient (for type "guest").
- display_name ( string ): The display name of the recipient (for type "guest", optional).
- contact_id ( string ): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder ( string ): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
- includeSubfolders ( boolean ): If this permission is applied to subfolders (for type "anonymous", optional).
-
FolderExtendedPermission
{- identifier ( string ): Qualified identifier of the entity associated with this permission. Opaque to the client; the concrete syntax depends on the folder's storage backend and may carry context qualification or other storage-specific encoding. Equal to the `identifier` field of the matching base permission entry, and to be used to associate an extended permission with its base-permission equivalent.
- entity ( integer ): Internal identifier of the permission entity (i.e. user-, group- or guest-ID). Interpreted in the folder's host context unless the entity lives in a different context, in which case the qualified `identifier` is authoritative and clients should treat the bare `entity` as opaque.
- bits ( integer ): A number as described in Permission flags.
- type ( string ): Set "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name ( string ): A display name for the permission entity.
- contact ( contact ): A (reduced) set of Detailed contact data for "user" and "guest" entities.
- share_url ( string ): The share link for "anonymous" entities.
- password ( string ): The optionally set password for "anonymous" entities.
- expiry_date ( integer ): The optionally set expiry date for "anonymous" entities.
- includeSubfolders ( boolean ): The optionally set "include subfolders" option for "anonymous" entities.
- isInherited ( boolean ): A flag indicating whether the permissions is inherited from the parent folder or not. The client must not allow the user to delete or update inherited permissions.
- isInheritedFrom ( integer ): If this permission is handed down from a parent folder (isInherited is set to `true`) this field contains the id of the sharing folder.
-
FolderCalendarExtendedProperties - Contains the extended properties for calendar folders
{- description ( description ): The description of the folder
- usedForSync ( usedForSync ): Indicates whether the folder should be considered for synchronization with external clients or not.
- color ( color ): Indicates the color the folder should be displayed with
- scheduleTransp ( scheduleTransp ): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
- lastUpdate ( lastUpdate ): indicates the timestamp of the last update of the contents for cached calendars
-
description - The description of the folder
{- value ( string ): No description available
-
usedForSync - Indicates whether the folder should be considered for synchronization with external clients or not.
{- value ( string ): No description available
-
color - Indicates the color the folder should be displayed with
{- value ( string ): No description available
-
scheduleTransp - Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
{- value ( string ): No description available
-
lastUpdate - indicates the timestamp of the last update of the contents for cached calendars
{- value ( integer ): No description available
-
FolderCalendarConfig - Holds arbitrary, provider-specific configuration data for calendar accounts.
{- enabled ( boolean ): Defines if the account is enabled.
- color ( string ): Defines the account color.
- usedForSync ( boolean ): Defines if the account should be synced via CalDAV.
- uri ( string ): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval ( integer ): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login ( string ): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password ( string ): (ical provider only) An optional password for the subscribed ICal feed.
-
CalendarUser
{- sentBy ( SentByCalendarUser ): A calendar user that is acting on behalf of this calendar user
- extendedParameters ( object , read only ): Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client.
- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
SentByCalendarUser - A calendar user that is acting on behalf of this calendar user
{- uri ( string ): The universal resource identifier of the user.
- cn ( string ): The common name of the user.
- email ( string ): The mail address of the user.
- entity ( integer ): The internal user identifier.
-
Unknown Composed Schema
ALLOF: Object Set only on the organizer of an event, and only to carry `X-OX-SOFT-DELETED` if the organizer has been soft-deleted (pending deletion). Ignored when sent by a client. -
FolderContactsExtendedProperties - Contains the extended properties for contact folders
{- usedInPicker ( usedInPicker ): Indicates whether the folder should be considered for the enterprise contact picker or not.
-
usedInPicker - Indicates whether the folder should be considered for the enterprise contact picker or not.
{- value ( boolean ): No description available
-
used_for_sync - Indicates whether this folder should used for sync or not. Standard folders cannot be changed.
{- value ( string ): The actual used_for_sync value. Either 'true' or 'false'.
- protected ( string ): Whether this value is protected and can't be changed by the client or not. Either 'true' or 'false'
-
created_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
modified_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
com.openexchange.mail.ownerInfo - The folder field exposing a mail folder's "owner" information. The qualified `identifier` is always present; the numeric `user` is only emitted when the owner lives in the session user's own context.
{- user ( integer ): The owner's internal user id. Omitted when the owner lives in a different context than the session user (cross-context shared folder) - in that case the numeric id has no meaning in the session user's local entity space; clients should use `identifier` instead.
-
identifier
(
string
):
The owner's qualified entity identifier in `
@ ` form. Always emitted; safe to use for both same-context and cross-context owners.
-
com.openexchange.mail.rootFolderStatus - Available for mail account root folder (if supported by underyling mail server), where it provides basic overall status information of the account.
{- containsUnread ( boolean ): Indicates whether there are any unread messages in any of the account's mail folders
401:
No description available
-
-
Lists the home folder, the user's own files, of the user's default file storage. Where the user has no account in an external default storage, the built-in infostore answers with its folders below the system folders of the Drive module; a user without the infostore gets an empty listing. For the infostore that is the default folder of the user below "My files", for another storage its home directory, or its root folder for a storage that has no notion of one. The folders of every account, whatever the default storage, are reached through the virtual folder
drive://0/(see/folders?action=listwithparent=drive://0/). A default storage whose folders cannot be listed answers an empty listing, the error reported as a warning of the response.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
A JSON object containing an array with data for the folders. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse
{- data ( data ): Array of folders. Each folder is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mails Name Scopes oauth
read_tasks Name Scopes oauth
read_calendar Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type parent (empty) Object ID of a folder, which is the parent folder of the requested folders.
query string columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string all (empty) Set to 1 (or `true`) to list even not subscribed folders.
query integer tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string altNames (empty) Whether to prefer alternative names for former infostore folders or not.
query boolean errorOnDuplicateName (empty) Set to `true` to omit subfolders whose name equals the one of a preceding subfolder. Of equally named subfolders the first one is kept, unless a later one is a default folder.
query boolean Responses:
200:
A JSON object containing an array with data for all folders, which have the folder with the requested object ID as parent. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse
{- data ( data ): Array of folders. Each folder is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mails Name Scopes oauth
write_tasks Name Scopes oauth
write_calendar Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder_id (empty) The parent folder object ID of the newly created folder. Instead of this parameter, the parent folder may be passed in the parameter `folder`.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string pushToken (empty) The client's push token to restrict the generated drive event and mail folder push notifications
query string autorename (empty) Whether to automatically rename the folder in case an folder with the same name already exists.
query boolean Body:
Description:JSON object with "folder" object containing the modified fields and optional "notification" object to let added permission entities be notified about newly shared folders for all modules except mail. (Example: {"folder":{"module":"infostore","subscribed":true,"title":"Test123"}} or {"folder":{"module":"infostore","subscribed":true,"title":"Test123","permissions":[{"bits":403710016,"entity":84,"group":false}]},"notification":{"transport":"mail","message":"The message"}})Content-type: application/json-
NewFolderRequestBody
{- folder ( folder , required ): No description available
- notification ( FolderBodyNotification ): No description available
-
folder
{- id ( string ): Object ID
- folder_id ( string ): Object ID of the parent folder.
- title ( string ): Name of this folder.
- module ( string , required ): Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail"
- type ( integer ): Type of folder.
- own_rights ( integer ): Permissions which apply to the current user, as described either in Permission flags or in RFC2086.
- permissions ( array[FolderPermission] ): No description available
- standard_folder ( boolean ): Indicates whether or not folder is marked as a default folder (only OX folder).
- subscribed ( boolean ): Indicates whether this folder should appear in folder tree or not. Standard folders cannot be unsubscribed.
- subscr_subflds ( boolean ): Indicates whether subfolders should appear in folder tree or not.
-
standard_folder_type
(
integer
, possibleValues:
0123789101112
* 0 (non-default folder),
* 1 (task),
* 2 (calendar),
* 3 (contact),
* 7 (inbox),
* 8 (infostore),
* 9 (drafts),
* 10 (sent),
* 11 (spam),
* 12 (trash) - account_id ( string ): Will be null if the folder does not belong to any account (i.e. if its module doesn't support multiple accounts), is a virtual folder or an account-agnostic system folder.
- com.openexchange.share.extendedPermissions ( array[FolderExtendedPermission] ): No description available
- com.openexchange.calendar.extendedProperties ( FolderCalendarExtendedProperties ): Contains the extended properties for calendar folders
- com.openexchange.calendar.config ( FolderCalendarConfig ): Holds arbitrary, provider-specific configuration data for calendar accounts.
- com.openexchange.calendar.provider ( string ): Denotes the identifier of the underlying calendar provider.
- com.openexchange.contacts.extendedProperties ( FolderContactsExtendedProperties ): Contains the extended properties for contact folders
- com.openexchange.contacts.provider ( string ): Denotes the identifier of the underlying contacts provider, e.g. "sharedaccount" for the address books of a shared account.
- used_for_sync ( used_for_sync ): Indicates whether this folder should used for sync or not. Standard folders cannot be changed.
- created_from ( created_from ): Detailed information about creator/modifier of an object
- modified_from ( modified_from ): Detailed information about creator/modifier of an object
-
FolderPermission
{- bits ( integer ): For non-mail folders, a number as described in Permission flags.
- rights ( string ): For mail folders, the rights string as defined in RFC 2086.
-
identifier
(
string
):
Qualified identifier of the entity associated with this permission. Opaque to the client; the concrete syntax depends on the folder's storage backend and may carry context qualification or other storage-specific encoding. Clients should treat it as a string token and echo it back verbatim on update.
The value is stable for a given principal and matches the corresponding `identifier` of `com.openexchange.groupware.EntityInfo` for the same principal, allowing clients to correlate base and extended permission entries.
On write, the field is optional. In addition to echoing a previously returned identifier, the server accepts a `mailto:
` URI to add a sharee that is resolved to an internal user via the configured mail resolver (e.g. `mailto:alice@elsewhere.example`). Same-context grants may keep sending bare `entity` only — unchanged behavior. If both `identifier` and `entity` are sent for an internal grant, they must refer to the same principal; otherwise the request is rejected as ambiguous. - entity ( integer ): Internal identifier of the user or group to which this permission applies (ignored for type "anonymous" or "guest"). Interpreted in the folder's host context unless the entity lives in a different context, in which case the qualified `identifier` is authoritative and clients should treat the bare `entity` as opaque.
- group ( boolean ): Set `true` if entity refers to a group, `false` if it refers to a user (ignored for type "anonymous" or "guest").
- type ( string ): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address ( string ): The e-mail address of the recipient (for type "guest").
- display_name ( string ): The display name of the recipient (for type "guest", optional).
- contact_id ( string ): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder ( string ): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
- includeSubfolders ( boolean ): If this permission is applied to subfolders (for type "anonymous", optional).
-
FolderExtendedPermission
{- identifier ( string ): Qualified identifier of the entity associated with this permission. Opaque to the client; the concrete syntax depends on the folder's storage backend and may carry context qualification or other storage-specific encoding. Equal to the `identifier` field of the matching base permission entry, and to be used to associate an extended permission with its base-permission equivalent.
- entity ( integer ): Internal identifier of the permission entity (i.e. user-, group- or guest-ID). Interpreted in the folder's host context unless the entity lives in a different context, in which case the qualified `identifier` is authoritative and clients should treat the bare `entity` as opaque.
- bits ( integer ): A number as described in Permission flags.
- type ( string ): Set "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name ( string ): A display name for the permission entity.
- contact ( contact ): A (reduced) set of Detailed contact data for "user" and "guest" entities.
- share_url ( string ): The share link for "anonymous" entities.
- password ( string ): The optionally set password for "anonymous" entities.
- expiry_date ( integer ): The optionally set expiry date for "anonymous" entities.
- includeSubfolders ( boolean ): The optionally set "include subfolders" option for "anonymous" entities.
- isInherited ( boolean ): A flag indicating whether the permissions is inherited from the parent folder or not. The client must not allow the user to delete or update inherited permissions.
- isInheritedFrom ( integer ): If this permission is handed down from a parent folder (isInherited is set to `true`) this field contains the id of the sharing folder.
-
FolderCalendarExtendedProperties - Contains the extended properties for calendar folders
{- description ( description ): The description of the folder
- usedForSync ( usedForSync ): Indicates whether the folder should be considered for synchronization with external clients or not.
- color ( color ): Indicates the color the folder should be displayed with
- scheduleTransp ( scheduleTransp ): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
- lastUpdate ( lastUpdate ): indicates the timestamp of the last update of the contents for cached calendars
-
description - The description of the folder
{- value ( string ): No description available
-
usedForSync - Indicates whether the folder should be considered for synchronization with external clients or not.
{- value ( string ): No description available
-
color - Indicates the color the folder should be displayed with
{- value ( string ): No description available
-
scheduleTransp - Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
{- value ( string ): No description available
-
lastUpdate - indicates the timestamp of the last update of the contents for cached calendars
{- value ( integer ): No description available
-
FolderCalendarConfig - Holds arbitrary, provider-specific configuration data for calendar accounts.
{- enabled ( boolean ): Defines if the account is enabled.
- color ( string ): Defines the account color.
- usedForSync ( boolean ): Defines if the account should be synced via CalDAV.
- uri ( string ): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval ( integer ): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login ( string ): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password ( string ): (ical provider only) An optional password for the subscribed ICal feed.
-
FolderContactsExtendedProperties - Contains the extended properties for contact folders
{- usedInPicker ( usedInPicker ): Indicates whether the folder should be considered for the enterprise contact picker or not.
-
usedInPicker - Indicates whether the folder should be considered for the enterprise contact picker or not.
{- value ( boolean ): No description available
-
used_for_sync - Indicates whether this folder should used for sync or not. Standard folders cannot be changed.
{- value ( string ): The actual used_for_sync value. Either 'true' or 'false'.
- protected ( string ): Whether this value is protected and can't be changed by the client or not. Either 'true' or 'false'
-
created_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
modified_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
FolderBodyNotification
{- transport ( string ): E.g. "mail".
- message ( string ): No description available
Responses:
200:
A JSON object with the object ID of the folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderUpdateResponse
{- data ( string ): The object id of the folder.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mails Name Scopes oauth
write_tasks Name Scopes oauth
write_calendar Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string id (empty) Object ID of the shared folder to notify about.
query string Body:
Description:JSON object providing the JSON arrays `entities` and/or `identifiers`, which hold the entity ID(s) or identifiers of the users or groups that should be notified, as used in the corresponding permissions. To send a custom message to the recipients, an additional JSON object `notification` may be included, inside of which an optional message can be passed (otherwise, some default message is used). Example:
{"entities":[2332],"identifiers":["test@example.org"]} or {"entities":[2332],"notification":{"transport":"mail","message":"The message"}}Content-type: application/json-
FolderSharingNotificationBody - At least one of `entities` and `identifiers` MUST be given.
{- entities ( array[integer] ): Array containing the entity ID(s) of the users or groups that shall be notified, as used in the corresponding permissions.
- identifiers ( array[string] ): Array containing the identifiers of the users or groups that shall be notified, as used in the corresponding permissions.
- notification ( FolderBodyNotification ): No description available
-
FolderBodyNotification
{- transport ( string ): E.g. "mail".
- message ( string ): No description available
Responses:
200:
An empty JSON object. Any transport warnings that occurred during sending the notifications are available in the warnings array of the response. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderSharingNotificationResponse
{- data ( data ): An empty object. Transport warnings that occurred during sending the notifications are returned in the response's `warnings` field.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of a folder.
query string columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
An array with data for all parent nodes of a folder. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse
{- data ( data ): Array of folders. Each folder is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
-
-
Lists the public folders of the user's default file storage. Where the user has no account in an external default storage, the built-in infostore answers with its folders below the system folders of the Drive module; a user without the infostore gets an empty listing. For the infostore those are the folders below "Public files", for another storage the ones it states as public, e.g. the spaces of OpenCloud. The folders of every account, whatever the default storage, are reached through the virtual folder
drive://0/(see/folders?action=listwithparent=drive://0/). A default storage whose folders cannot be listed answers an empty listing, the error reported as a warning of the response.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
A JSON object containing an array with data for the folders. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse
{- data ( data ): Array of folders. Each folder is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mails Name Scopes oauth
write_tasks Name Scopes oauth
write_calendar Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string folder (empty) The object ID of the default destination folder, which also determines the folder storage that restores the folders. Defaults to the user's default infostore folder.
query string Body:
Description:A JSON array of folder ids that shall be restored.
Content-type: application/json
Responses:
200:
A JSON object containing an array with data for all restored folders. Each array element describes one folder and its new path. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderRestoreResponse
{- data ( array[object] ): One entry per restored folder.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Same as
/folders?action=listwithparent=0.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string altNames (empty) Whether to prefer alternative names for former infostore folders or not.
query boolean all (empty) Set to 1 (or `true`) to list even not subscribed folders.
query integer errorOnDuplicateName (empty) Set to `true` to omit folders whose name equals the one of a preceding folder. Of equally named folders the first one is kept, unless a later one is a default folder.
query boolean Responses:
200:
A JSON object containing an array with data for all folders at the root level of the folder structure. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse
{- data ( data ): Array of folders. Each folder is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data. Defaults to "1,2,3,4,5,51,52,300" (id,created_by,modified_by,creation_date,last_modified,created_from,modified_from,title)
query string id (empty) Object ID of the folder used as root folder for the search.
query string module (empty) Module identifier to search, the only valid values are "files" or "infostore".
query string Body:
Description:A JSON object containing the search body
Content-type: application/json-
FolderSearchBody
{- query ( string , required ): The query to search
- start ( integer ): The start of a pagination, if desired. Defaults to `0`.
- size ( integer ): The page size of a pagination, if desired. Defaults to `50`.
- includeSubfolders ( boolean ): Search in subfolders of given root folder too, defaults to `true`.
- all ( boolean ): Deliver all subfolders regardless of their subscribed status, defaults to `true`.
- date ( integer ): The time stamp to limit search result to folders that are newer, defaults to `-1`.
Responses:
200:
A JSON object containing an array with matching folders. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse
{- data ( data ): Array of folders. Each folder is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Lists the folders other users shared with the user of the user's default file storage. Where the user has no account in an external default storage, the built-in infostore answers with its folders below the system folders of the Drive module; a user without the infostore gets an empty listing. For the infostore those are the folders below "Shared files" except the user's own default folder, federated shares included, for another storage the ones its users shared with the user. Not to be confused with the action
shares, which lists what the user shares with others. The folders of every account, whatever the default storage, are reached through the virtual folderdrive://0/(see/folders?action=listwithparent=drive://0/). A default storage whose folders cannot be listed answers an empty listing, the error reported as a warning of the response.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
A JSON object containing an array with data for the folders. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse
{- data ( data ): Array of folders. Each folder is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string content_type (empty) The desired content type (either numbers or strings; e.g. "tasks", "calendar", "contacts", "mail", "infostore").
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
A JSON object containing an array with data for all folders that are considered as shared by the user. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse
{- data ( data ): Array of folders. Each folder is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type tree (empty) The identifier of the folder tree to subscribe the folders to or unsubscribe them from.
query string parent (empty) The optional object ID of the parent folder in the target tree for the subscribed folders.
query string Body:
Description:A JSON array of JSON objects, each naming a folder to subscribe or unsubscribe. Unsubscriptions are processed before subscriptions.
Content-type: application/json
Responses:
200:
An empty response. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mails Name Scopes oauth
write_tasks Name Scopes oauth
write_calendar Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean id (empty) Object ID of the updated folder.
query string timestamp (empty) Timestamp of the updated folder. If the folder was modified after the specified timestamp, then the update must fail.
query long tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string cascadePermissions (empty) `true` to cascade permissions to all sub-folders. The user must have administrative permissions to all sub-folders subject to change. If one permission change fails, the entire operation fails.
query boolean pushToken (empty) The client's push token to restrict the generated drive event and mail folder push notifications
query string autorename (empty) Whether to automatically rename the folder in case an folder with the same name already exists.
query boolean ignoreWarnings (empty) Indicates whether warnings should be ignored or not.
query boolean permissions Set to `inherit` to hand down the changed permissions to the subfolders of the updated folder.
query string Body:
Description:JSON object with "folder" object containing the modified fields and optional "notification" object to let added permission entities be notified about newly shared folders for all modules except mail. (Example: {"folder":{"title":"test123"}} or {"folder":{"permissions":[{"bits":403710016,"entity":84,"group":false}]},"notification":{"transport":"mail","message":"The message"}})Content-type: application/json-
FolderRequestBody
{- folder ( FolderRequestData , required ): No description available
- notification ( FolderBodyNotification ): No description available
-
FolderRequestData
{- id ( string ): Object ID
- folder_id ( string ): Object ID of the parent folder.
- title ( string ): Name of this folder.
- module ( string ): Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail"
- type ( integer ): Type of folder.
- own_rights ( integer ): Permissions which apply to the current user, as described either in Permission flags or in RFC2086.
- permissions ( array[FolderPermission] ): No description available
- standard_folder ( boolean ): Indicates whether or not folder is marked as a default folder (only OX folder).
- subscribed ( boolean ): Indicates whether this folder should appear in folder tree or not. Standard folders cannot be unsubscribed.
- subscr_subflds ( boolean ): Indicates whether subfolders should appear in folder tree or not.
-
standard_folder_type
(
integer
, possibleValues:
0123789101112
* 0 (non-default folder),
* 1 (task),
* 2 (calendar),
* 3 (contact),
* 7 (inbox),
* 8 (infostore),
* 9 (drafts),
* 10 (sent),
* 11 (spam),
* 12 (trash) - account_id ( string ): Will be null if the folder does not belong to any account (i.e. if its module doesn't support multiple accounts), is a virtual folder or an account-agnostic system folder.
- com.openexchange.share.extendedPermissions ( array[FolderExtendedPermission] ): No description available
- com.openexchange.calendar.extendedProperties ( FolderCalendarExtendedProperties ): Contains the extended properties for calendar folders
- com.openexchange.calendar.config ( FolderCalendarConfig ): Holds arbitrary, provider-specific configuration data for calendar accounts.
- com.openexchange.calendar.provider ( string ): Denotes the identifier of the underlying calendar provider.
- com.openexchange.contacts.extendedProperties ( FolderContactsExtendedProperties ): Contains the extended properties for contact folders
- com.openexchange.contacts.provider ( string ): Denotes the identifier of the underlying contacts provider, e.g. "sharedaccount" for the address books of a shared account.
- used_for_sync ( used_for_sync ): Indicates whether this folder should used for sync or not. Standard folders cannot be changed.
- created_from ( created_from ): Detailed information about creator/modifier of an object
- modified_from ( modified_from ): Detailed information about creator/modifier of an object
-
FolderPermission
{- bits ( integer ): For non-mail folders, a number as described in Permission flags.
- rights ( string ): For mail folders, the rights string as defined in RFC 2086.
-
identifier
(
string
):
Qualified identifier of the entity associated with this permission. Opaque to the client; the concrete syntax depends on the folder's storage backend and may carry context qualification or other storage-specific encoding. Clients should treat it as a string token and echo it back verbatim on update.
The value is stable for a given principal and matches the corresponding `identifier` of `com.openexchange.groupware.EntityInfo` for the same principal, allowing clients to correlate base and extended permission entries.
On write, the field is optional. In addition to echoing a previously returned identifier, the server accepts a `mailto:
` URI to add a sharee that is resolved to an internal user via the configured mail resolver (e.g. `mailto:alice@elsewhere.example`). Same-context grants may keep sending bare `entity` only — unchanged behavior. If both `identifier` and `entity` are sent for an internal grant, they must refer to the same principal; otherwise the request is rejected as ambiguous. - entity ( integer ): Internal identifier of the user or group to which this permission applies (ignored for type "anonymous" or "guest"). Interpreted in the folder's host context unless the entity lives in a different context, in which case the qualified `identifier` is authoritative and clients should treat the bare `entity` as opaque.
- group ( boolean ): Set `true` if entity refers to a group, `false` if it refers to a user (ignored for type "anonymous" or "guest").
- type ( string ): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address ( string ): The e-mail address of the recipient (for type "guest").
- display_name ( string ): The display name of the recipient (for type "guest", optional).
- contact_id ( string ): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder ( string ): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
- includeSubfolders ( boolean ): If this permission is applied to subfolders (for type "anonymous", optional).
-
FolderExtendedPermission
{- identifier ( string ): Qualified identifier of the entity associated with this permission. Opaque to the client; the concrete syntax depends on the folder's storage backend and may carry context qualification or other storage-specific encoding. Equal to the `identifier` field of the matching base permission entry, and to be used to associate an extended permission with its base-permission equivalent.
- entity ( integer ): Internal identifier of the permission entity (i.e. user-, group- or guest-ID). Interpreted in the folder's host context unless the entity lives in a different context, in which case the qualified `identifier` is authoritative and clients should treat the bare `entity` as opaque.
- bits ( integer ): A number as described in Permission flags.
- type ( string ): Set "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name ( string ): A display name for the permission entity.
- contact ( contact ): A (reduced) set of Detailed contact data for "user" and "guest" entities.
- share_url ( string ): The share link for "anonymous" entities.
- password ( string ): The optionally set password for "anonymous" entities.
- expiry_date ( integer ): The optionally set expiry date for "anonymous" entities.
- includeSubfolders ( boolean ): The optionally set "include subfolders" option for "anonymous" entities.
- isInherited ( boolean ): A flag indicating whether the permissions is inherited from the parent folder or not. The client must not allow the user to delete or update inherited permissions.
- isInheritedFrom ( integer ): If this permission is handed down from a parent folder (isInherited is set to `true`) this field contains the id of the sharing folder.
-
FolderCalendarExtendedProperties - Contains the extended properties for calendar folders
{- description ( description ): The description of the folder
- usedForSync ( usedForSync ): Indicates whether the folder should be considered for synchronization with external clients or not.
- color ( color ): Indicates the color the folder should be displayed with
- scheduleTransp ( scheduleTransp ): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
- lastUpdate ( lastUpdate ): indicates the timestamp of the last update of the contents for cached calendars
-
description - The description of the folder
{- value ( string ): No description available
-
usedForSync - Indicates whether the folder should be considered for synchronization with external clients or not.
{- value ( string ): No description available
-
color - Indicates the color the folder should be displayed with
{- value ( string ): No description available
-
scheduleTransp - Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
{- value ( string ): No description available
-
lastUpdate - indicates the timestamp of the last update of the contents for cached calendars
{- value ( integer ): No description available
-
FolderCalendarConfig - Holds arbitrary, provider-specific configuration data for calendar accounts.
{- enabled ( boolean ): Defines if the account is enabled.
- color ( string ): Defines the account color.
- usedForSync ( boolean ): Defines if the account should be synced via CalDAV.
- uri ( string ): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval ( integer ): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login ( string ): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password ( string ): (ical provider only) An optional password for the subscribed ICal feed.
-
FolderContactsExtendedProperties - Contains the extended properties for contact folders
{- usedInPicker ( usedInPicker ): Indicates whether the folder should be considered for the enterprise contact picker or not.
-
usedInPicker - Indicates whether the folder should be considered for the enterprise contact picker or not.
{- value ( boolean ): No description available
-
used_for_sync - Indicates whether this folder should used for sync or not. Standard folders cannot be changed.
{- value ( string ): The actual used_for_sync value. Either 'true' or 'false'.
- protected ( string ): Whether this value is protected and can't be changed by the client or not. Either 'true' or 'false'
-
created_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
modified_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
FolderBodyNotification
{- transport ( string ): E.g. "mail".
- message ( string ): No description available
Responses:
200:
A JSON object with the object id of the folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderUpdateResponse
{- data ( string ): The object id of the folder.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
202:
The operation did not complete in time and was added to job queue providing the job identifier. Only a move of the folder or a change of permissions with `cascadePermissions=true` is added to the job queue. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetJobResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- job ( string ): The job identifier
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the requested folders.
query long columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string ignore Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string mail (empty) Set to 1 (or `true`) to include the top-level mail folders, which are left out otherwise.
query integer Responses:
200:
An array with data for new, modified and deleted folders. New and modified folders are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted folders, unless ignored through `ignore=deleted`, follow and are identified by their object IDs as plain strings, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderUpdatesResponse
{- data ( data ): Array of folders.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
-
-
-
Groups
The group module allows to query available groups. It is mainly used by the dialog for the selection of participants.-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Group data. Supported columns are 1 (id), 5 (last_modified), 700 (name), 701 (display_name) and 702 (members).
query string Responses:
200:
A JSON object containing an array of groups, each group an array of the requested column values. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupsAllResponse
{- data ( array[array[null]] ): Array of groups. Each group is an array of the values of the requested columns, in the order of the `columns` parameter.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the group to delete.
query long Body:
Description:A JSON object with the field `id` containing the unique identifier of the group.
Content-type: application/json-
GroupListElement
{- id ( integer ): ID of a group.
Responses:
200:
A JSON object with an empty array if the group was deleted successfully. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupsResponse
{- data ( array[GroupResponseData] ): Array of group objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GroupResponseData
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the group.
query integer Responses:
200:
A JSON object containing the group data. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupResponse
{- data ( GroupResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GroupResponseData
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON array of JSON objects with the id of the requested groups.
Content-type: application/json-
GroupListElement
{- id ( integer ): ID of a group.
Responses:
200:
A JSON object containing an array of group objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupsResponse
{- data ( array[GroupResponseData] ): Array of group objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GroupResponseData
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the group data. The field id is not present.
Content-type: application/json-
GroupRequestData
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
Responses:
200:
A JSON object with the ID of the newly created group. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupUpdateResponse
{- data ( GroupUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GroupUpdateData
{- id ( integer ): The ID of a newly created group.
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object with the search parameters.
Content-type: application/json-
GroupSearchBody
{- pattern ( string ): Search pattern, matched as a substring of the display name and the internal name of a group. The character "*" matches zero or more characters; "*" alone returns all groups. If the field is missing, the request falls back to the `all` action and fails unless the `columns` query parameter is given.
Responses:
200:
A JSON object containing an array of group objects, or an empty array if the user has no groupware permission. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupsResponse
{- data ( array[GroupResponseData] ): Array of group objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GroupResponseData
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the group that shall be updated.
query integer timestamp (empty) Timestamp of the last update of the group to update. If the group was modified after the specified timestamp, then the update must fail.
query long Body:
Description:A JSON object containing the group data fields to change. Only modified fields are present and the field id is omitted.
Content-type: application/json-
GroupRequestData
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the requested groups.
query long Responses:
200:
A JSON object with fields `new`, `modified` and `deleted` representing arrays of new, modified and deleted group objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupUpdatesResponse
{- data ( GroupUpdatesData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
GroupUpdatesData
{- new ( array[GroupResponseData] ): Array of new and modified group objects (same content as `modified`).
- modified ( array[GroupResponseData] ): Array of new and modified group objects (same content as `new`).
- deleted ( array[GroupResponseData] ): Array of deleted group objects.
-
GroupResponseData
{- id ( integer ): The group ID.
- display_name ( string ): Display name of the group.
- name ( string ): Internal name with character restrictions.
- members ( array[integer] ): The array contains identifiers of users that are member of the group.
- last_modified_utc ( integer ): Timestamp of the last modification.
-
-
-
-
Important:
This endpoint is deprecated and will be removed in the future. Use the new /contacts/picture endpoint instead.
At least one of the optional search parameters should be set. The user ID parameters are evaluated in the order
internal_userid,userid,user_id, and only the first one set is used.idandfolderare ignored if a user ID is given. Internal users are matched before other contacts.Parameters:
Parameter Value Description Parameter Type Data Type session (empty) Falls back to the public session cookie.
query string internal_userid (empty) The internal user ID of a user whose picture you want to load.
query integer userid (empty) An alias for `internal_userid`.
query integer user_id (empty) An alias for `internal_userid`.
query integer id (empty) A contact ID. Only used together with `folder` and if no user ID is given.
query string folder (empty) The folder ID of the contact given by `id`.
query string account_id (empty) The identifier of a specific account of the session user. If set, the search is delegated to the matching account and the user is not looked up by its user ID.
query string email (empty) An email address to search for.
query string email1 (empty) An alias for `email`, used only if `email` is not set.
query string email2 (empty) An additional email address to search for.
query string email3 (empty) An additional email address to search for.
query string transformationNeeded (empty) Indicate if the image needs to be transformed.
query boolean cropWidth (empty) The width of the specified rectangular region.
query integer cropHeight (empty) The height of the specified rectangular region.
query integer cropX (empty) The X coordinate of the upper-left corner of the specified rectangular region.
query integer cropY (empty) The Y coordinate of the upper-left corner of the specified rectangular region.
query integer rotate (empty) Indicate if the image should get rotated
query boolean width (empty) The maximum width of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxWidth'. Default is 4096.
query integer height (empty) The maximum height of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxHeight'. Default is 4096.
query integer shrinkOnly (empty) Set to 'true' to only scale images 'greater than' target size
query boolean scaleType The scale type to use.
query string Responses:
200:
The picture with proper ETag and caching headers set.
Content-type: image/*-
Unknown
404:
If no picture could be found or the look-up failed.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type provider (empty) The halo provider, like "com.openexchange.halo.contacts". See /halo/contact?action=services for available providers.
query string columns (empty) A comma-separated list of columns to return. See Column identifiers for a mapping of numeric identifiers to fields. Mandatory for provider "com.openexchange.halo.mail". Optional for provider "com.openexchange.halo.contacts", which returns all fields if absent. Ignored by provider "com.openexchange.halo.events", which uses `fields` instead.
query string email1 (empty) The first eMail address of the contact
query string email2 (empty) The second eMail address of the contact
query string email3 (empty) The third eMail address of the contact
query string internal_userid (empty) The internal id of the user
query integer timezone (empty) The timezone.
query string limit (empty) Optional for provider "com.openexchange.halo.mail". The maximum number of mails taken from the INBOX folders and, separately, from the sent folders, so the result holds up to twice this number of mails.
query integer rangeStart (empty) Mandatory for provider "com.openexchange.halo.events". Lower inclusive limit of the queried range as a utc date-time value as specified in RFC 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Mandatory for provider "com.openexchange.halo.events". Upper exclusive limit of the queried range as a utc date-time value as specified in RFC 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASCfor ascending, orDESCfor descending.query string sort (empty) Specifies the field for sorting the results.
query string expand (empty) Defines if event series should be extended or not.
query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Responses:
200:
A JSON object containing an array with data for the requested columns. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
HaloInvestigationResponse
{- data ( data ): Array of halo data. Providers "com.openexchange.halo.contacts" and "com.openexchange.halo.mail" return one array per item holding the values of the requested `columns`; provider "com.openexchange.halo.events" returns one event object per event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
The contact is taken from the request body. The body MUST contain at least one of
email1,email2,email3, or a positivecontact_idorinternal_userid, otherwise the request fails.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type provider (empty) The halo provider, like "com.openexchange.halo.contacts". See /halo/contact?action=services for available providers.
query string columns (empty) A comma-separated list of columns to return. See Column identifiers for a mapping of numeric identifiers to fields. Mandatory for provider "com.openexchange.halo.mail". Optional for provider "com.openexchange.halo.contacts", which returns all fields if absent. Ignored by provider "com.openexchange.halo.events", which uses `fields` instead.
query string timezone (empty) The timezone.
query string limit (empty) Optional for provider "com.openexchange.halo.mail". The maximum number of mails taken from the INBOX folders and, separately, from the sent folders, so the result holds up to twice this number of mails.
query integer rangeStart (empty) Mandatory for provider "com.openexchange.halo.events". Lower inclusive limit of the queried range as a utc date-time value as specified in RFC 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Mandatory for provider "com.openexchange.halo.events". Upper exclusive limit of the queried range as a utc date-time value as specified in RFC 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASCfor ascending, orDESCfor descending.query string sort (empty) Specifies the field for sorting the results.
query string expand (empty) Defines if event series should be extended or not.
query boolean extendedEntities (empty) If set to 'true', attendees and the organizer that reference internal users will be extended by a 'contact', 'resource' or 'group' field, which contains further details of the underlying groupware entity.
query boolean Body:
Description:A JSON object containing the contact's data.
Content-type: application/json-
ContactRequestDataWithInternalId Composed Schema
ALLOF: Object Object -
Unknown
{- contact_id ( integer ): The internal user id; takes precedence over `internal_userid` if positive.
- internal_userid ( integer ): The internal user id
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): The contact image as Base64-encoded string.
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
Responses:
200:
A JSON object containing an array with data for the requested columns. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
HaloInvestigationResponse
{- data ( data ): Array of halo data. Providers "com.openexchange.halo.contacts" and "com.openexchange.halo.mail" return one array per item holding the values of the requested `columns`; provider "com.openexchange.halo.events" returns one event object per event.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing an array with available halo providers. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
HaloServicesResponse
{- data ( array[string] ): An array with available halo providers.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
Image
The image module allows to download images from Open-Xchange server without providing a session ID in request's URL parameters.-
Important: This endpoint is deprecated and will be removed in the future. Use the new /contacts/picture endpoint instead.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The folder ID in which the contact resides.
query string id (empty) The object ID of the contact.
query integer transformationNeeded (empty) Indicate if the image needs to be transformed.
query boolean cropX (empty) The x coordinate of the crop region's upper left corner. Default is 0.
query integer cropY (empty) The y coordinate of the crop region's upper left corner. Default is 0.
query integer cropWidth (empty) The width of the crop region. The image is only cropped if both `cropWidth` and `cropHeight` are greater than 0. A region exceeding the image is filled with transparent pixels. Can not be greater than the value set in 'com.openexchange.tools.images.maxWidth'.
query integer cropHeight (empty) The height of the crop region. The image is only cropped if both `cropWidth` and `cropHeight` are greater than 0. A region exceeding the image is filled with transparent pixels. Can not be greater than the value set in 'com.openexchange.tools.images.maxHeight'.
query integer rotate (empty) Indicate if the image should get rotated according to its orientation. If not set, a JPEG image is rotated if its orientation requires it.
query boolean width (empty) The maximum width of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxWidth'. Default is 4096.
query integer height (empty) The maximum height of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxHeight'. Default is 4096.
query integer shrinkOnly (empty) Set to 'true' to only scale images 'greater than' target size
query boolean scaleType The scale type to use. Only applies if `width` or `height` is set. An absent or unknown value means `auto`.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
403:
If the user lacks the permission to read the image.
404:
If the contact does not exist.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The folder ID of the MP3 file.
query string id (empty) The object ID of the MP3 file.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type uid (empty) The identifier of the image attachment.
query string Responses:
200:
The content of the requested image is directly written into output stream. An invalid `uid` yields an empty image.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the composition space.
query string uid (empty) The identifier of the image attachment.
query string Responses:
200:
The content of the requested image is directly written into output stream. An invalid `id` or `uid` yields an empty image.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The folder ID in which the mail resides.
query string id (empty) The object ID of the mail.
query string uid (empty) The identifier of the image inside the referenced mail.
query string accountId (empty) The mail account identifier
query integer mailIdentity (empty) The `mail_identity` of the mail as returned by `/mail?action=get`. Changes URL and ETag once a re-created folder hands out the same mail identifier again. If it does not match the mail's current identity, the image is not found (404). Ignored if the mail's identity is unknown.
query string decrypt (empty) Set to `true` to read the image from an encrypted mail. Requires OX Guard, which takes the authentication from the `cryptoAuth` cookie or parameter.
query boolean cryptoAuth (empty) The OX Guard authentication token if `decrypt` is `true` and no `cryptoAuth` cookie is sent.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
403:
If the user lacks the permission to read the mail.
404:
If the folder, the mail or the image does not exist, or `mailIdentity` does not match.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type uid (empty) The identifier of the image previously obtained from the authentication_results field of the mail module.
query string Responses:
200:
The content of the requested image is directly written into output stream. An unknown `uid` yields an empty image.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type uid (empty) The identifier of the uploaded image.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The scheme of the configured image location; one of `resource`, `file`, `http` or `https`.
query string uid (empty) The image identifier as contained in the image URL the server generated.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the snippet.
query string uid (empty) The content ID or attachment ID of the image inside the snippet.
query string Responses:
200:
The content of the requested image is directly written into output stream. An image not found in the snippet yields an empty image.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
-
-
Important: This endpoint is deprecated and will be removed in the future. Use the new /contacts/picture endpoint instead.
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The object ID of the user.
query string transformationNeeded (empty) Indicate if the image needs to be transformed.
query boolean cropX (empty) The x coordinate of the crop region's upper left corner. Default is 0.
query integer cropY (empty) The y coordinate of the crop region's upper left corner. Default is 0.
query integer cropWidth (empty) The width of the crop region. The image is only cropped if both `cropWidth` and `cropHeight` are greater than 0. A region exceeding the image is filled with transparent pixels. Can not be greater than the value set in 'com.openexchange.tools.images.maxWidth'.
query integer cropHeight (empty) The height of the crop region. The image is only cropped if both `cropWidth` and `cropHeight` are greater than 0. A region exceeding the image is filled with transparent pixels. Can not be greater than the value set in 'com.openexchange.tools.images.maxHeight'.
query integer rotate (empty) Indicate if the image should get rotated according to its orientation. If not set, a JPEG image is rotated if its orientation requires it.
query boolean width (empty) The maximum width of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxWidth'. Default is 4096.
query integer height (empty) The maximum height of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxHeight'. Default is 4096.
query integer shrinkOnly (empty) Set to 'true' to only scale images 'greater than' target size
query boolean scaleType The scale type to use. Only applies if `width` or `height` is set. An absent or unknown value means `auto`.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
Unknown
304:
If the `If-None-Match` header matches the image's ETag.
400:
If request cannot be handled.
403:
If the user lacks the permission to read the image.
-
-
-
Import
The module import allows to import specific module data (like Contacts, Tasks or Appointments) in several formats (iCal, vCard, CSV) into a folder. Please note: The callback for all actions of this bundle is `callback_import`, not `callback_$actionname` for legacy purposes.-
Example CSV
"Given name","Sur name" "Günther","Mustermann" "Hildegard","Musterfrau"The delimiter may be any CSV-valid character (e.g. "," or ";"). The first line must contain the column titles that are related to the corresponding fields of the ContactRequestData model (see getContact request). See Detailed contact data for a mapping of fields to CSV column titles. Column titles of the other configured CSV mappings (e.g. the ones exported by Outlook or Google) are recognized as well, see importOutlookCSV.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean folder (empty) Object ID of the folder into which the data should be imported. This must be a contact folder.
query string charset (empty) A fixed character encoding to use when parsing the uploaded file, overriding the built-in defaults, following the conventions documented in RFC 2278. If omitted, empty or `auto`, the encoding is detected automatically.
query string Body:
Description:No description available
Content-type: multipart/form-data-
importCSVBody
{- file ( string , required ): The CSV file containing the contact data. The column titles are the ones described in Detailed contact data.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the field `data` that represents an array with one object per entry of the uploaded file. A successfully imported entry consists of the fields `id`, `folder_id` and `last_modified` of the newly created contact. An entry that could not be imported carries the well known error fields instead, plus `line_number` for an error of category `ERROR`. An entry that was imported despite a warning carries the error fields together with `id`, `folder_id` and `last_modified`, plus a `warnings` array of objects with error fields if conversion warnings occurred. If entries carry warnings or not all entries were imported due to the configured import limit, the JSON object itself also carries error fields of category `WARNING`. If the import fails as a whole, the JSON object contains only the error fields.
Content-type: text/html-
Unknown
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_calendar Name Scopes oauth
write_tasks
Parameters:
Parameter Value Description Parameter Type Data Type allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean folder (empty) Object ID of the folder into which the data should be imported. This may be be an appointment or a task folder.
query string suppressNotification (empty) Can be used to disable the notifications for new appointments that are imported through the given iCal file. This help keeping the Inbox clean if a lot of appointments need to be imported. The value of this parameter does not matter because only for the existence of the parameter is checked.
query boolean ignoreUIDs (empty) When set to `true`, UIDs are partially ignored during import of tasks and appointments from iCal. Internally, each UID is replaced statically by a random one to preserve possibly existing relations between recurring appointments in the same iCal file, but at the same time to avoid collisions with already existing tasks and appointments.
query boolean applyDefaultAlarms (empty) When set to `true`, alarms contained in the iCal file are ignored for imported appointments, and the user's configured default alarms are applied instead. Useful when the data does not originate from the user's own calendar, e.g. when importing an appointment from a mail attachment. Has no effect on tasks.
query boolean plainJson (empty) When set to `true`, signals that client expects plain JSON; no JavaScript callback.
query boolean Body:
Description:No description available
Content-type: multipart/form-data-
importICalBody
{- file ( string , required ): The iCal file containing the appointment and task data.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the field `data` that represents an array with one object per entry of the uploaded file. A successfully imported entry consists of the fields `id`, `folder_id` and `last_modified` of the newly created appointment or task. An entry that could not be imported carries the well known error fields instead, plus `line_number` for an error of category `ERROR`. An entry that was imported despite a warning carries the error fields together with `id`, `folder_id` and `last_modified`, plus a `warnings` array of objects with error fields if conversion warnings occurred. If entries carry warnings or not all entries were imported due to the configured import limit, the JSON object itself also carries error fields of category `WARNING`. If the import fails as a whole, the JSON object contains only the error fields.
Content-type: text/html-
Unknown
-
-
Example: exported Outlook CSV
First Name,Last Name Günther,Mustermann Hildegard,MusterfrauThis action is processed the same way as importCSV: the column titles in the first line of the CSV file are matched against the configured CSV mappings, and the best matching one is used. The mappings shipped by default cover the column titles of the English, French, German, Dutch and Japanese versions of Outlook, of Google Contacts and of the App Suite CSV export.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean folder (empty) Object ID of the folder into which the data should be imported. This must be a contact folder.
query string charset (empty) A fixed character encoding to use when parsing the uploaded file, overriding the built-in defaults, following the conventions documented in RFC 2278. If omitted, empty or `auto`, the encoding is detected automatically.
query string Body:
Description:No description available
Content-type: multipart/form-data-
importOutlookCSVBody
{- file ( string , required ): The CSV file containing the contact data, e.g. as exported by Outlook. Unless the `charset` parameter is set, the encoding is detected automatically.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the field `data` that represents an array with one object per entry of the uploaded file. A successfully imported entry consists of the fields `id`, `folder_id` and `last_modified` of the newly created contact. An entry that could not be imported carries the well known error fields instead, plus `line_number` for an error of category `ERROR`. An entry that was imported despite a warning carries the error fields together with `id`, `folder_id` and `last_modified`, plus a `warnings` array of objects with error fields if conversion warnings occurred. If entries carry warnings or not all entries were imported due to the configured import limit, the JSON object itself also carries error fields of category `WARNING`. If the import fails as a whole, the JSON object contains only the error fields.
Content-type: text/html-
Unknown
-
-
Supported vCard formats
- vCard 2.1
- vCard 3.0
- vCard 4.0
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_contacts
Parameters:
Parameter Value Description Parameter Type Data Type allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean folder (empty) Object ID of the folder into which the data should be imported. This must be a contact folder.
query string maxSimilarity (empty) Enables a duplicate check with the given maximum similarity score between 0 and 1. A vCard whose contact is at least this similar to an existing contact is not imported; its entry in the response carries an error instead. Has no effect if no contact similarity service is installed.
query float Body:
Description:No description available
Content-type: multipart/form-data-
importVCardBody
{- file ( string , required ): The vCard file.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the field `data` that represents an array with one object per entry of the uploaded file. A successfully imported entry consists of the fields `id`, `folder_id` and `last_modified` of the newly created contact. An entry that could not be imported carries the well known error fields instead, plus `line_number` for an error of category `ERROR`. An entry that was imported despite a warning carries the error fields together with `id`, `folder_id` and `last_modified`, plus a `warnings` array of objects with error fields if conversion warnings occurred. If entries carry warnings or not all entries were imported due to the configured import limit, the JSON object itself also carries error fields of category `WARNING`. If the import fails as a whole, the JSON object contains only the error fields.
Content-type: text/html-
Unknown
-
-
Infostore
The module infostore or filestore or files or drive has been renamed quite often. Whatever its name, it combines the knowledge database, bookmarks and document storage.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.
query string folder (empty) The folder ID to restrict the search to. If not specified, all folders are searched.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string start (empty) The start index (inclusive, zero-based) in the ordered search, that is requested.
query integer end (empty) The last index (inclusive) from the ordered search, that is requested.
query integer limit (empty) The maximum number of infoitems to return, starting at index 0. Only evaluated if `end` is not specified.
query integer includeSubfolders (empty) If set to `true` and a `folder` is specified, this folder and all of its subfolders are considered by the search.
query boolean pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Body:
Description:A JSON object containing the search term in its field `filter`.
Content-type: application/json-
infostoreAdvancedSearchBody
{- filter ( array[null] , required ): The search term as introduced in Advanced search, e.g. `["=", {"field":"filename"}, "test.txt"]`.
Responses:
200:
A JSON object containing an array with matching infoitems. Infoitems are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse
{- data ( data ): Array of infoitems. Each infoitem is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the infoitems.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data. If not specified, all columns are returned.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer limit (empty) A positive integer number to specify how many items shall be returned according to given sorting; overrides left_hand_limit/right_hand_limit parameters and is equal to left_hand_limit=0 and right_hand_limit=
. query integer pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Responses:
200:
A JSON object containing an array with data for all infoitems. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse
{- data ( data ): Array of infoitems. Each infoitem is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the infoitems.
query string id (empty) Object ID of the requested infoitem.
query string redirect (empty) "true" if the redirect link should be returned in the Location header of a HTTP 302 Moved Temporarily response, "false" (default) to return the link in a plain API response.
query boolean Responses:
302:
The backward link will be put into the Location header of the response. Used if "redirect" URL parameter was true.
200:
An JSON object holding the backward link in its "link" field if the call was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
BackwardLinkResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- link ( string ): The generated backward link
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type name (empty) The file name to check.
query string Responses:
200:
An empty JSON object when file name is valid. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
This request cannot change or add files. Therefore it is necessary to use the
POSTmethod.If the request body is a JSON array of objects with the fields
id,folderand optionallyversioninstead, the referenced infoitems are copied to the folder given by thefolderparameter. An element withoutiddenotes a folder, which is copied along with its infoitems and subfolders. In that case the response'sdatafield istrue.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem that shall be copied. Required unless the request body is a JSON array.
query string folder (empty) ID of the destination folder. Required if the request body is a JSON array, otherwise only used if the body has no `folder_id`.
query string version (empty) The version of the infoitem to copy. If not specified, the current version is copied.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string ignoreWarnings (empty) Indicates whether warnings should be ignored or not.
query boolean Body:
Description:A JSON object containing the modified fields of the destination infoitem. The field `id` must not be present.
Content-type: application/json-
InfoItemRequestData - The infoitem data.
{- object_permissions ( array[InfoItemPermission] ): An array of object permissions.
- title ( string ): The title.
- url ( string ): Link/URL to item.
- filename ( string ): Displayed filename of the document.
- file_mimetype ( string ): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size ( integer ): The size of the document in bytes.
- version ( string ): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description ( string ): A description if the item.
- file_md5sum ( string ): MD5Sum of the document.
- version_comment ( string ): A version comment is used to file a changelog for the file.
- sequence_number ( integer ): Sequence number of the infoitem.
- com.openexchange.share.extendedObjectPermissions ( array[InfoItemExtendedPermission] ): An array of extended object permissions (read-only).
- created_from ( created_from ): Detailed information about creator/modifier of an object
- modified_from ( modified_from ): Detailed information about creator/modifier of an object
- id ( string ): Object ID.
- folder_id ( string , required ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission
{-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - identifier ( string ): The qualified identifier of the entity associated with this permission.
- entity ( integer ): Internal identifier of the user or group to which this permission applies.
- group ( boolean ): Is `true` if entity refers to a group, `false` if it refers to a user.
- type ( string ): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address ( string ): The e-mail address of the recipient (for type "guest").
- display_name ( string ): The display name of the recipient (for type "guest", optional).
- contact_id ( string ): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder ( string ): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits
(
integer
, possibleValues:
-
InfoItemExtendedPermission
{- identifier ( string ): The qualified identifier of the entity associated with this permission. Should be used to associate the entry with its 'extended' permission version equivalent.
- entity ( integer ): Internal identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type ( string ): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name ( string ): A display name for the permission entity.
- contact ( ContactResponseData ): No description available
- share_url ( string ): The share link for "anonymous" entities.
- password ( string ): The optionally set password for "anonymous" entities.
- expiry_date ( integer ): The optionally set expiry date for "anonymous" entities.
-
ContactResponseData Composed Schema
ALLOF: CommonObjectResponseData RawContactResponseData -
CommonObjectResponseData
{- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactResponseData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- user_id ( integer ): The internal user id, in case the contact represents a user of the *same* context. For a user residing in a different context (a cross-context entity) this field is omitted; use `user_identifier` instead.
-
user_identifier
(
string
,
read only
):
The qualified identifier of the internal user this contact represents, in `
@ ` form (read-only, requested via the `user_identifier` column). It is only present for users the requesting user is permitted to bridge to across context boundaries, and can be used directly as a cross-context principal reference - e.g. as a folder permission's `identifier` - without a separate resolve round-trip. - number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): No description available
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
-
created_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
modified_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
Responses:
200:
A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdateResponse
{- data ( string ): The object ID of the updated infoitem.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Copies an infoitem's data with the possibility to change the file. The normal request body must be placed as form-data using the content-type
multipart/form-data. The form fieldjsoncontains the infoitem's data while the file must be placed in a file field namedfile(see also File uploads).Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem that shall be copies.
query string folder (empty) ID of the destination folder. Only used if the infoitem's data has no `folder_id`.
query string version (empty) The version of the infoitem to copy. If not specified, the current version is copied.
query string pushToken (empty) The push token of the drive client
query string ignoreWarnings (empty) Indicates whether warnings should be ignored or not.
query boolean Body:
Description:No description available
Content-type: multipart/form-data-
copyInfoItemAdvancedBody
{- json ( string , required ): Represents the normal request body as JSON string containing the infoitem's data (See InfoItemRequestData model of the getInfoItem request). Only modified fields must be specified but at least `{"folder_id":"destination"}`.
- file ( string ): The metadata as per ``. If omitted, the copy keeps the file of the source infoitem.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred.
Content-type: text/html-
Unknown
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The identifier of the folder the item is located in.
query string id (empty) The identifier of the file to share. Omitted, the folder that is stated is the item the share refers to.
query string Body:
Description:A JSON object stating the properties of the share to create, as far as the storage understands them.
Content-type: application/json-
InfoItemShareBody - The properties of a share, as far as the storage the item is located in understands them. The ones stated here are the ones the OpenCloud storage understands.
{- type ( string ): The type of the share, stating which rights it grants, e.g. `view`, `edit` or `upload`. Required when a share is created, optional when it is updated, where a property that is not stated stays untouched.
- displayName ( string ): The name to display for the share. Required when a share is created, optional when it is updated.
- password ( string ): The password that protects the share. Stated as an empty value, the password of an existing share is removed.
- expiryDate ( integer ): The point in time the share expires at, as milliseconds since 1970-01-01 00:00:00 UTC. The day this denotes within the time zone of the user is the one the share expires at the end of. Stated as an empty value, the expiration date of an existing share is removed.
Responses:
200:
A JSON object containing the share that has been created. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemShareResponse
{- data ( InfoItemShareData ): A share of an item, as it is stated by the storage the item is located in. All values are strings, and which of them are stated depends on the kind of the share, so a share that is granted to a user states no address to access it through. The properties stated here are the ones the OpenCloud storage provides.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
InfoItemShareData - A share of an item, as it is stated by the storage the item is located in. All values are strings, and which of them are stated depends on the kind of the share, so a share that is granted to a user states no address to access it through. The properties stated here are the ones the OpenCloud storage provides.
{- permissionId ( string ): The identifier of the share, which further requests refer to it by.
- type ( string ): The type of the share, stating which rights it grants.
- displayName ( string ): The name to display for the share.
- webUrl ( string ): The address the share can be accessed through.
- roles ( string ): The identifiers of the roles the share grants, as a comma separated list.
- creationDate ( string ): The point in time the share has been created at, as milliseconds since 1970-01-01 00:00:00 UTC.
- expiryDate ( string ): The point in time the share expires at, as milliseconds since 1970-01-01 00:00:00 UTC.
- hasPassword ( string ): Whether the share is protected by a password, as `true` or `false`.
- preventDownloads ( string ): Whether the share prevents the item from being downloaded, as `true` or `false`.
- invitedBy ( string ): The entity that created the share.
- grantedTo ( string ): The entity the share grants access to.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the infoitems to delete.
query long hardDelete (empty) Defaults to `false`. If set to `true`, the file is deleted permanently. Otherwise, and if the underlying storage supports a trash folder and the file is not yet located below the trash folder, it is moved to the trash folder.
query boolean pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON array of objects with the fields `id` and `folder` representing infoitems that shall be deleted.
Content-type: application/json-
InfoItemListElement
{- id ( string , required ): The object ID of the infoitem (e.g. "31841/36639").
- folder ( string , required ): The object ID of the related folder (e.g. "31841").
Responses:
200:
A JSON object with an array of the infoitems that could not be deleted, which is empty if the infoitems were deleted successfully. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsDeleteResponse
{- data ( array[InfoItemListElement] ): The infoitems that could not be deleted (due to a conflict). Empty if all infoitems were deleted.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
InfoItemListElement
{- id ( string , required ): The object ID of the infoitem (e.g. "31841/36639").
- folder ( string , required ): The object ID of the related folder (e.g. "31841").
-
-
Note
When the current version of a document is deleted the new current version will be the latest version.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the base object.
query string timestamp (empty) Timestamp of the last update of the infoitem.
query long pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON array of version numbers to detach.
Content-type: application/json
Responses:
200:
A JSON object with an empty array of version numbers that were not deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemDetachResponse
{- data ( array[string] ): The versions that could not be deleted.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
It is possible to add a filename to the request's URI like
/infostore/{filename}?action=document. The filename may be added to the customary infostore path to suggest a filename to a Save-As dialog.If the file is an image file then it is possible to use the image transformation parameters.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested infoitem.
query string folder (empty) Object ID of the folder who contains the infoitem. Not evaluated, the folder is taken from the infoitem's ID.
query string version (empty) If present the infoitem data describes the given version. Otherwise the current version is returned.
query string content_type (empty) If present the response declares the given `content_type` in the Content-Type header.
query string scan (empty) Flag to request an Anti-Virus scan for the specified document before downloading them.
query boolean format (empty) Allows to set "metadata" as value to retrieve an image's metadata information (EXIF directory, etc.) as a JSON structure. If there are no metadata available (e.g. infoitem document is not an image) 404 Not Found is returned.
query string rotate (empty) Adds a 'rotate' transformation, leading to the image being rotated according to the contained EXIF information.
query boolean width (empty) The maximum width of the target image.
query integer height (empty) The maximum height of the target image.
query integer shrinkOnly (empty) Set to true to only scale images 'greater than' target size.
query boolean scaleType Defines the scale type. Possible value:
cover- The "cover" scale type, specifying the minimum target dimensions.
The source image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "cover", will result in the picture being resized to 267x200 pixels.contain- The "contain" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "contain", will result in the picture being resized to 200x150 pixels.containforcedimension- The "containforcedimension" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved while smaller sides get padded to fit exact dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "containforcedimension", will result in the picture being first resized to 200x150 pixels, then height gets padded by 25 pixels per side resulting in exactly 200x200 pixels.coverandcrop- The "coverandcrop" scale type, specifying the target dimensions.
If the source image is bigger than the target dimension, in a first step the image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. In a second step the image will be cropped to fit the target dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "coverandcrop", will result in the picture being resized to 267x200 pixels and then cropped to fit 200x200. In case the image is smaller than then target dimension the image will not be resized and instead it gets padded to fit exact dimension. For example, with an original resolution of 100x100 pixels and a target dimension of 200x200 pixels and type "coverandcrop", will result in the picture being padded on all sides with 50 pixels.auto- The "auto" scale type.
query string cropWidth (empty) The width of the specified rectangular region.
query integer cropHeight (empty) The height of the specified rectangular region.
query integer cropX (empty) The X coordinate of the upper-left corner of the specified rectangular region.
query integer cropY (empty) The Y coordinate of the upper-left corner of the specified rectangular region.
query integer Responses:
200:
The raw byte data of the document. The response type for the HTTP request is set accordingly to the defined mimetype for this infoitem or the content_type given.
Content-type: application/octet-stream-
Unknown
-
Computes the rdiff delta of the infoitem document against the rdiff signature passed as request body, e.g. one obtained through documentsig for an older copy of the document.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem.
query string version (empty) The version of the document to compute the delta for. If not specified, the current version is used.
query string Body:
Description:The rdiff signature.
Content-type: application/octet-stream-
Unknown
Responses:
200:
The raw byte data of the rdiff delta.
Content-type: application/octet-stream-
Unknown
-
-
Applies the rdiff delta passed as request body to the infoitem document and stores the result as the infoitem's document.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem.
query string version (empty) The version of the document the delta is applied to. If not specified, the current version is used.
query string Body:
Description:The rdiff delta.
Content-type: application/octet-stream-
Unknown
Responses:
200:
A JSON object whose `data` field is `null` if the document was patched. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem.
query string version (empty) The version of the document to compute the signature for. If not specified, the current version is used.
query string Responses:
200:
The raw byte data of the rdiff signature.
Content-type: application/octet-stream-
Unknown
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested infoitem.
query string folder (empty) Object ID of the folder who contains the infoitem. Not evaluated, the folder is taken from the infoitem's ID.
query string version (empty) If present the infoitem data describes the given version. Otherwise the current version is returned.
query string Responses:
200:
A JSON object containing all data of the requested infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemResponse
{- data ( InfoItemResponseData ): The infoitem data.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
InfoItemResponseData - The infoitem data.
{- object_permissions ( array[InfoItemPermission] ): An array of object permissions.
- shareable ( boolean ): (read-only) Indicates if the item can be shared.
- title ( string ): The title.
- url ( string ): Link/URL to item.
- filename ( string ): Displayed filename of the document.
- file_mimetype ( string ): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size ( integer ): The size of the document in bytes.
- version ( string ): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description ( string ): A description if the item.
- locked_until ( integer ): The time until which this item will presumably be locked. Only set if the docment is currently locked, `0` otherwise.
- file_md5sum ( string ): MD5Sum of the document.
- version_comment ( string ): A version comment is used to file a changelog for the file.
- current_version ( boolean ): `true` if this version is the current version, `false` otherwise. Note: This is not writeable.
- number_of_versions ( integer ): The number of all versions of the item. Note: This is not writeable.
- sequence_number ( integer ): Sequence number of the infoitem.
- capture_date ( integer ): Date and time when media file was captured/recorded
- geolocation ( string ): The geo location associated with the media resource as latitude and longitude pair; e.g. "(45 23)"
- width ( integer ): The width of the media resource
- height ( integer ): The height of the media resource
- camera_iso_speed ( integer ): The ISO speed value of a camera or input device associated with the media resource
- camera_aperture ( string ): The aperture used to create the photo (f-number)
- camera_exposure_time ( string ): The length of the exposure, in seconds
- camera_focal_length ( string ): The focal length used to create the photo, in millimeters
- camera_model ( string ): The name of the camera model associated with the media resource
- media_meta ( media_meta ): Contains metadata extracted from the media resource
- media_status ( string ): Represents the status for the process of extracting metadata from a media resource
- media_date ( integer ): A special field, which prefers the capture date and falls-back to last-modified date if absent
- com.openexchange.share.extendedObjectPermissions ( array[InfoItemExtendedPermission] ): An array of extended object permissions (read-only).
- com.openexchange.realtime.resourceID ( string ): The resource identifier for the infoitem for usage within the realtime component.
- com.openexchange.file.storage.mail.mailMetadata ( com.openexchange.file.storage.mail.mailMetadata ): Contains additional metadata for items in the "maildrive" file storage.
- unique_id ( string ): Lifetime unique identifier of the file that does not change e.g. after move or rename operations.
- created_from ( created_from ): Detailed information about creator/modifier of an object
- modified_from ( modified_from ): Detailed information about creator/modifier of an object
- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string , required ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission
{-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - identifier ( string ): The qualified identifier of the entity associated with this permission.
- entity ( integer ): Internal identifier of the user or group to which this permission applies.
- group ( boolean ): Is `true` if entity refers to a group, `false` if it refers to a user.
- type ( string ): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address ( string ): The e-mail address of the recipient (for type "guest").
- display_name ( string ): The display name of the recipient (for type "guest", optional).
- contact_id ( string ): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder ( string ): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits
(
integer
, possibleValues:
-
InfoItemExtendedPermission
{- identifier ( string ): The qualified identifier of the entity associated with this permission. Should be used to associate the entry with its 'extended' permission version equivalent.
- entity ( integer ): Internal identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type ( string ): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name ( string ): A display name for the permission entity.
- contact ( ContactResponseData ): No description available
- share_url ( string ): The share link for "anonymous" entities.
- password ( string ): The optionally set password for "anonymous" entities.
- expiry_date ( integer ): The optionally set expiry date for "anonymous" entities.
-
ContactResponseData Composed Schema
ALLOF: CommonObjectResponseData RawContactResponseData -
CommonObjectResponseData
{- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactResponseData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- user_id ( integer ): The internal user id, in case the contact represents a user of the *same* context. For a user residing in a different context (a cross-context entity) this field is omitted; use `user_identifier` instead.
-
user_identifier
(
string
,
read only
):
The qualified identifier of the internal user this contact represents, in `
@ ` form (read-only, requested via the `user_identifier` column). It is only present for users the requesting user is permitted to bridge to across context boundaries, and can be used directly as a cross-context principal reference - e.g. as a folder permission's `identifier` - without a separate resolve round-trip. - number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): No description available
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
-
created_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
modified_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data. If not specified, all columns are returned.
query string pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Body:
Description:A JSON array of JSON objects with the id of the infoitems.
Content-type: application/json-
InfoItemListElement
{- id ( string , required ): The object ID of the infoitem (e.g. "31841/36639").
- folder ( string , required ): The object ID of the related folder (e.g. "31841").
Responses:
200:
A JSON object containing an array with data for the requested infoitems. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse
{- data ( data ): Array of infoitems. Each infoitem is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The identifier of the folder the item is located in.
query string id (empty) The identifier of the file to share. Omitted, the folder that is stated is the item the share refers to.
query string Responses:
200:
A JSON object containing an array with the shares of the item. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemSharesResponse
{- data ( array[InfoItemShareData] ): The shares of the item
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
InfoItemShareData - A share of an item, as it is stated by the storage the item is located in. All values are strings, and which of them are stated depends on the kind of the share, so a share that is granted to a user states no address to access it through. The properties stated here are the ones the OpenCloud storage provides.
{- permissionId ( string ): The identifier of the share, which further requests refer to it by.
- type ( string ): The type of the share, stating which rights it grants.
- displayName ( string ): The name to display for the share.
- webUrl ( string ): The address the share can be accessed through.
- roles ( string ): The identifiers of the roles the share grants, as a comma separated list.
- creationDate ( string ): The point in time the share has been created at, as milliseconds since 1970-01-01 00:00:00 UTC.
- expiryDate ( string ): The point in time the share expires at, as milliseconds since 1970-01-01 00:00:00 UTC.
- hasPassword ( string ): Whether the share is protected by a password, as `true` or `false`.
- preventDownloads ( string ): Whether the share prevents the item from being downloaded, as `true` or `false`.
- invitedBy ( string ): The entity that created the share.
- grantedTo ( string ): The entity the share grants access to.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem that shall be locked.
query string diff (empty) If present the value is added to the current time on the server (both in ms). The document will be locked until that time. If this parameter is not present, the document will be locked for a duration as configured on the server.
query long Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the infoitem to move.
query long folder (empty) ID of the destination folder.
query string id (empty) Object ID of the infoitem that shall be moved.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string ignoreWarnings (empty) Indicates whether warnings should be ignored or not.
query boolean extendedResponse (empty) If the parameter is set to `true` the response will contain the moved infoitem instead of its identifier (default: false).
query boolean Responses:
200:
A JSON object with the new identifier of the moved infoitem. If the move was aborted due to warnings, the identifier is missing, the warnings are returned and the error fields are filled unless `ignoreWarnings` is `true` (see Error handling).
Content-type: application/json-
InfoItemMovedResponse
{- data ( string ): The new infoitem identifier.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) ID of the destination folder.
query string pushToken (empty) The push token of the drive client
query string ignoreWarnings (empty) Indicates whether warnings should be ignored or not.
query boolean autorename (empty) Whether to automatically rename an infoitem in case an infoitem with the same name already exists in the destination folder.
query boolean Body:
Description:A JSON array of JSON objects each referencing to an existing infoitem that is supposed to be moved to the destination folder.
Content-type: application/json-
InfoItemListElement
{- id ( string , required ): The object ID of the infoitem (e.g. "31841/36639").
- folder ( string , required ): The object ID of the related folder (e.g. "31841").
Responses:
200:
A JSON object with an array of infoitem identifiers that could not be moved (due to a conflict). Th array is empty if everything went fine. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsMovedResponse
{- data ( array[InfoItemListElement] ): Array of infoitems that could not be moved (due to a conflict).
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
InfoItemListElement
{- id ( string , required ): The object ID of the infoitem (e.g. "31841/36639").
- folder ( string , required ): The object ID of the related folder (e.g. "31841").
-
-
Creates a new infoitem. This request cannot add a file to the infoitem. Therefor it is necessary to use the
POSTmethod.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type pushToken (empty) The client's push token to restrict the generated drive event
query string try_add_version (empty) Add new file version if file name exists
query boolean ignoreWarnings (empty) Indicates whether warnings should be ignored or not.
query boolean extendedResponse (empty) If the parameter is set to `true` the response's `data` field is an object with the field `file` holding the created infoitem and the field `save_action`, which is "rename" if the file name was changed, "new_version" if a new version was added to an existing infoitem, or "none" (default: false).
query boolean Body:
Description:A JSON object containing a field `file` with the modified fields of the infoitem's data. It is possible to let added object permission entities be notified about newly shared files. In that case add a "notification" object.
Content-type: application/json-
InfoItemRequestBody
{- file ( InfoItemRequestData , required ): The infoitem data.
- notification ( InfoItemBodyNotification ): Responsible for sending out notifications for changed object permissions of an infoitem.
-
InfoItemRequestData - The infoitem data.
{- object_permissions ( array[InfoItemPermission] ): An array of object permissions.
- title ( string ): The title.
- url ( string ): Link/URL to item.
- filename ( string ): Displayed filename of the document.
- file_mimetype ( string ): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size ( integer ): The size of the document in bytes.
- version ( string ): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description ( string ): A description if the item.
- file_md5sum ( string ): MD5Sum of the document.
- version_comment ( string ): A version comment is used to file a changelog for the file.
- sequence_number ( integer ): Sequence number of the infoitem.
- com.openexchange.share.extendedObjectPermissions ( array[InfoItemExtendedPermission] ): An array of extended object permissions (read-only).
- created_from ( created_from ): Detailed information about creator/modifier of an object
- modified_from ( modified_from ): Detailed information about creator/modifier of an object
- id ( string ): Object ID.
- folder_id ( string , required ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission
{-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - identifier ( string ): The qualified identifier of the entity associated with this permission.
- entity ( integer ): Internal identifier of the user or group to which this permission applies.
- group ( boolean ): Is `true` if entity refers to a group, `false` if it refers to a user.
- type ( string ): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address ( string ): The e-mail address of the recipient (for type "guest").
- display_name ( string ): The display name of the recipient (for type "guest", optional).
- contact_id ( string ): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder ( string ): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits
(
integer
, possibleValues:
-
InfoItemExtendedPermission
{- identifier ( string ): The qualified identifier of the entity associated with this permission. Should be used to associate the entry with its 'extended' permission version equivalent.
- entity ( integer ): Internal identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type ( string ): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name ( string ): A display name for the permission entity.
- contact ( ContactResponseData ): No description available
- share_url ( string ): The share link for "anonymous" entities.
- password ( string ): The optionally set password for "anonymous" entities.
- expiry_date ( integer ): The optionally set expiry date for "anonymous" entities.
-
ContactResponseData Composed Schema
ALLOF: CommonObjectResponseData RawContactResponseData -
CommonObjectResponseData
{- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactResponseData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- user_id ( integer ): The internal user id, in case the contact represents a user of the *same* context. For a user residing in a different context (a cross-context entity) this field is omitted; use `user_identifier` instead.
-
user_identifier
(
string
,
read only
):
The qualified identifier of the internal user this contact represents, in `
@ ` form (read-only, requested via the `user_identifier` column). It is only present for users the requesting user is permitted to bridge to across context boundaries, and can be used directly as a cross-context principal reference - e.g. as a folder permission's `identifier` - without a separate resolve round-trip. - number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): No description available
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
-
created_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
modified_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
InfoItemBodyNotification - Responsible for sending out notifications for changed object permissions of an infoitem.
{- transport ( string ): E.g. "mail".
- message ( string ): No description available
Responses:
200:
A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdateResponse
{- data ( string ): The object ID of the updated infoitem.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Creates a new infoitem with a file. The normal request body must be placed as form-data using the content-type
multipart/form-data. The form fieldjsoncontains the infoitem's data while the file must be placed in a file field namedfile(see also File uploads).Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type pushToken (empty) The push token of the drive client
query string try_add_version (empty) Add new file version if file name exists
query boolean ignoreWarnings (empty) Indicates whether warnings should be ignored or not.
query boolean extendedResponse (empty) If the parameter is set to `true` the response's `data` field is an object with the field `file` holding the created infoitem and the field `save_action`, which is "rename" if the file name was changed, "new_version" if a new version was added to an existing infoitem, or "none" (default: false).
query boolean Body:
Description:No description available
Content-type: multipart/form-data-
createInfoItemAdvancedBody
{- json ( string , required ): Represents the normal request body as JSON string containing the infoitem's data (See InfoItemRequestBody model of the newInfoItem request).
- file ( string ): The metadata as per ``. If omitted, the infoitem is created without a file.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred.
Content-type: text/html-
Unknown
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the shared infoitem to notify about.
query string Body:
Description:JSON object providing the JSON array `entities`, which holds the entity ID(s) of the users or groups that should be notified. To send a custom message to the recipients, an additional JSON object `notification` may be included, inside of which an optional message can be passed (otherwise, some default message is used). (Example: {"entities":["2332"]} or {"entities":["2332"],"notification":{"transport":"mail","message":"The message"}})Content-type: application/json-
InfoItemSharingNotificationBody
{- entities ( array[string] , required ): Array containing the entity ID(s) of the users or groups that shall be notified.
- notification ( InfoItemBodyNotification ): Responsible for sending out notifications for changed object permissions of an infoitem.
-
InfoItemBodyNotification - Responsible for sending out notifications for changed object permissions of an infoitem.
{- transport ( string ): E.g. "mail".
- message ( string ): No description available
Responses:
200:
An empty JSON object. Any transport warnings that occurred during sending the notifications are available in the warnings array of the response. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemSharingNotificationResponse
{- data ( data ): An empty object. Transport warnings that occurred during sending the notifications are returned in the response's `warnings` field.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The identifier of the folder the item is located in.
query string id (empty) The identifier of the file to share. Omitted, the folder that is stated is the item the share refers to.
query string Body:
Description:The identifiers of the shares to remove, all of them referring to the same item.
Content-type: application/json
Responses:
200:
A JSON object containing an array with the identifiers of the shares that have been removed. A share that could not be removed does not let the request fail, it is stated within the warnings instead. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemSharesRemovedResponse
{- data ( array[string] ): The identifiers of the shares that have been removed, which includes the ones that did not exist anymore, as the state the client asked for is reached either way. A share that could not be removed is stated within the warnings.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type pushToken (empty) The client's push token to restrict the generated drive event
query string folder (empty) The default destination folder, used by the storage where an infoitem cannot be restored to its original location. If not specified, the user's default infostore folder is used.
query string Body:
Description:A JSON array of objects with the fields `id` and `folder` representing infoitems that shall be restored.
Content-type: application/json-
InfoItemListElement
{- id ( string , required ): The object ID of the infoitem (e.g. "31841/36639").
- folder ( string , required ): The object ID of the related folder (e.g. "31841").
Responses:
200:
A JSON object containing an array with data for all infoitems requested to restore. Each array element describes one infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsRestoreResponse
{- data ( array[InfoItemsRestoreResponseData] ): The restored items
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
InfoItemsRestoreResponseData - The restored item
{- id ( string ): Object ID
- path ( array[InfoFolderPathData] ): Folder path from restored file down to root folder
-
InfoFolderPathData
{- id ( string ): The folder id
- title ( string ): The folder title
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the base object.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object. Besides the plain numeric ID, the qualified folder ID of a groupware account is accepted, e.g. `con://37/727` for a contact in an address book shared from another context.
query string module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer attachment (empty) The ID of the attachment to save.
query integer pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON object with a field `file` describing the attachment's infoitem (or the infoitem object itself). The field `id` is not included. The fields in this infoitem object override values from the attachment. The folder_id must be given. A "notification" object is not evaluated.
Content-type: application/json-
InfoItemRequestBody
{- file ( InfoItemRequestData , required ): The infoitem data.
- notification ( InfoItemBodyNotification ): Responsible for sending out notifications for changed object permissions of an infoitem.
-
InfoItemRequestData - The infoitem data.
{- object_permissions ( array[InfoItemPermission] ): An array of object permissions.
- title ( string ): The title.
- url ( string ): Link/URL to item.
- filename ( string ): Displayed filename of the document.
- file_mimetype ( string ): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size ( integer ): The size of the document in bytes.
- version ( string ): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description ( string ): A description if the item.
- file_md5sum ( string ): MD5Sum of the document.
- version_comment ( string ): A version comment is used to file a changelog for the file.
- sequence_number ( integer ): Sequence number of the infoitem.
- com.openexchange.share.extendedObjectPermissions ( array[InfoItemExtendedPermission] ): An array of extended object permissions (read-only).
- created_from ( created_from ): Detailed information about creator/modifier of an object
- modified_from ( modified_from ): Detailed information about creator/modifier of an object
- id ( string ): Object ID.
- folder_id ( string , required ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission
{-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - identifier ( string ): The qualified identifier of the entity associated with this permission.
- entity ( integer ): Internal identifier of the user or group to which this permission applies.
- group ( boolean ): Is `true` if entity refers to a group, `false` if it refers to a user.
- type ( string ): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address ( string ): The e-mail address of the recipient (for type "guest").
- display_name ( string ): The display name of the recipient (for type "guest", optional).
- contact_id ( string ): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder ( string ): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits
(
integer
, possibleValues:
-
InfoItemExtendedPermission
{- identifier ( string ): The qualified identifier of the entity associated with this permission. Should be used to associate the entry with its 'extended' permission version equivalent.
- entity ( integer ): Internal identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type ( string ): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name ( string ): A display name for the permission entity.
- contact ( ContactResponseData ): No description available
- share_url ( string ): The share link for "anonymous" entities.
- password ( string ): The optionally set password for "anonymous" entities.
- expiry_date ( integer ): The optionally set expiry date for "anonymous" entities.
-
ContactResponseData Composed Schema
ALLOF: CommonObjectResponseData RawContactResponseData -
CommonObjectResponseData
{- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactResponseData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- user_id ( integer ): The internal user id, in case the contact represents a user of the *same* context. For a user residing in a different context (a cross-context entity) this field is omitted; use `user_identifier` instead.
-
user_identifier
(
string
,
read only
):
The qualified identifier of the internal user this contact represents, in `
@ ` form (read-only, requested via the `user_identifier` column). It is only present for users the requesting user is permitted to bridge to across context boundaries, and can be used directly as a cross-context principal reference - e.g. as a folder permission's `identifier` - without a separate resolve round-trip. - number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): No description available
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
-
created_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
modified_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
InfoItemBodyNotification - Responsible for sending out notifications for changed object permissions of an infoitem.
{- transport ( string ): E.g. "mail".
- message ( string ): No description available
Responses:
200:
A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdateResponse
{- data ( string ): The object ID of the updated infoitem.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.
query string folder (empty) The folder ID to restrict the search to. If not specified, all folders are searched.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string start (empty) The start index (inclusive, zero-based) in the ordered search, that is requested.
query integer end (empty) The last index (inclusive) from the ordered search, that is requested.
query integer limit (empty) The maximum number of infoitems to return, starting at index 0. Only evaluated if `end` is not specified.
query integer includeSubfolders (empty) If set to `true` and a `folder` is specified, this folder and all of its subfolders are considered by the search.
query boolean pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Body:
Description:A JSON object containing search parameters. Without a body, the search pattern is empty.
Content-type: application/json-
InfoItemSearchBody
{- pattern ( string ): The search pattern, where "*" matches any sequence of characters.
Responses:
200:
A JSON object containing an array with matching infoitems. Infoitems are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse
{- data ( data ): Array of infoitems. Each infoitem is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data. If not specified, all columns are returned.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Responses:
200:
A JSON object containing an array with data for all infoitems that are considered as shared by the user. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse
{- data ( data ): Array of infoitems. Each infoitem is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem that shall be unlocked.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Updates an infoitem's data. This request cannot change or add files. Therefore it is necessary to use the
POSTmethod.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem that shall be updated.
query string timestamp (empty) Timestamp of the last update of the infoitem. If the infoitem was modified after the specified timestamp, then the update must fail.
query long pushToken (empty) The client's push token to restrict the generated drive event
query string extendedResponse (empty) If the parameter is set to `true` the response will contain the updated infoitem (default: false).
query boolean ignoreWarnings (empty) Indicates whether warnings should be ignored or not.
query boolean Body:
Description:A JSON object containing a field `file` with the modified fields of the infoitem's data. It is possible to let added object permission entities be notified about newly shared files. In that case add a "notification" object.
Content-type: application/json-
InfoItemRequestBody
{- file ( InfoItemRequestData , required ): The infoitem data.
- notification ( InfoItemBodyNotification ): Responsible for sending out notifications for changed object permissions of an infoitem.
-
InfoItemRequestData - The infoitem data.
{- object_permissions ( array[InfoItemPermission] ): An array of object permissions.
- title ( string ): The title.
- url ( string ): Link/URL to item.
- filename ( string ): Displayed filename of the document.
- file_mimetype ( string ): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size ( integer ): The size of the document in bytes.
- version ( string ): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description ( string ): A description if the item.
- file_md5sum ( string ): MD5Sum of the document.
- version_comment ( string ): A version comment is used to file a changelog for the file.
- sequence_number ( integer ): Sequence number of the infoitem.
- com.openexchange.share.extendedObjectPermissions ( array[InfoItemExtendedPermission] ): An array of extended object permissions (read-only).
- created_from ( created_from ): Detailed information about creator/modifier of an object
- modified_from ( modified_from ): Detailed information about creator/modifier of an object
- id ( string ): Object ID.
- folder_id ( string , required ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission
{-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - identifier ( string ): The qualified identifier of the entity associated with this permission.
- entity ( integer ): Internal identifier of the user or group to which this permission applies.
- group ( boolean ): Is `true` if entity refers to a group, `false` if it refers to a user.
- type ( string ): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address ( string ): The e-mail address of the recipient (for type "guest").
- display_name ( string ): The display name of the recipient (for type "guest", optional).
- contact_id ( string ): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder ( string ): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits
(
integer
, possibleValues:
-
InfoItemExtendedPermission
{- identifier ( string ): The qualified identifier of the entity associated with this permission. Should be used to associate the entry with its 'extended' permission version equivalent.
- entity ( integer ): Internal identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits
(
integer
, possibleValues:
012
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type ( string ): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name ( string ): A display name for the permission entity.
- contact ( ContactResponseData ): No description available
- share_url ( string ): The share link for "anonymous" entities.
- password ( string ): The optionally set password for "anonymous" entities.
- expiry_date ( integer ): The optionally set expiry date for "anonymous" entities.
-
ContactResponseData Composed Schema
ALLOF: CommonObjectResponseData RawContactResponseData -
CommonObjectResponseData
{- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
RawContactResponseData
{- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- user_id ( integer ): The internal user id, in case the contact represents a user of the *same* context. For a user residing in a different context (a cross-context entity) this field is omitted; use `user_identifier` instead.
-
user_identifier
(
string
,
read only
):
The qualified identifier of the internal user this contact represents, in `
@ ` form (read-only, requested via the `user_identifier` column). It is only present for users the requesting user is permitted to bridge to across context boundaries, and can be used directly as a cross-context principal reference - e.g. as a folder permission's `identifier` - without a separate resolve round-trip. - number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): No description available
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
-
created_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
modified_from - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
InfoItemBodyNotification - Responsible for sending out notifications for changed object permissions of an infoitem.
{- transport ( string ): E.g. "mail".
- message ( string ): No description available
Responses:
200:
A JSON object with the object ID of the updated infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdateResponse
{- data ( string ): The object ID of the updated infoitem.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Updates an infoitem's data and file. The normal request body must be placed as form-data using the content-type
multipart/form-data. The form fieldjsoncontains the infoitem's data while the file must be placed in a file field namedfile(see also File uploads).Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem that shall be updated.
query string timestamp (empty) Timestamp of the updated infoitem. If the infoitem was modified after the specified timestamp, then the update must fail.
query long offset (empty) Optionally sets the start offset in bytes where to append the data to the document, must be equal to the actual document's length. Only available if the underlying File storage account supports the "RANDOM_FILE_ACCESS" capability.
query integer pushToken (empty) The client's push token to restrict the generated drive event
query string ignoreVersion (empty) `true` to replace the file of the current version instead of adding a new version. Only evaluated if the underlying file storage supports the "IGNORABLE_VERSION" capability and no `offset` is given.
query boolean extendedResponse (empty) If the parameter is set to `true` the response will contain the updated infoitem (default: false).
query boolean ignoreWarnings (empty) Indicates whether warnings should be ignored or not.
query boolean Body:
Description:No description available
Content-type: multipart/form-data-
updateInfoItemAdvancedBody
{- json ( string , required ): Represents the normal request body as JSON string containing the infoitem's data (See InfoItemRequestBody model of the newInfoItem request). Only modified fields must be specified but at least "{}".
- file ( string ): The metadata as per ``. If omitted, only the infoitem's data is updated.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred.
Content-type: text/html-
Unknown
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The identifier of the folder the item is located in.
query string id (empty) The identifier of the file to share. Omitted, the folder that is stated is the item the share refers to.
query string permissionId (empty) The identifier of the share to update.
query string Body:
Description:A JSON object stating the properties of the share to change, the ones that are not stated staying untouched.
Content-type: application/json-
InfoItemShareBody - The properties of a share, as far as the storage the item is located in understands them. The ones stated here are the ones the OpenCloud storage understands.
{- type ( string ): The type of the share, stating which rights it grants, e.g. `view`, `edit` or `upload`. Required when a share is created, optional when it is updated, where a property that is not stated stays untouched.
- displayName ( string ): The name to display for the share. Required when a share is created, optional when it is updated.
- password ( string ): The password that protects the share. Stated as an empty value, the password of an existing share is removed.
- expiryDate ( integer ): The point in time the share expires at, as milliseconds since 1970-01-01 00:00:00 UTC. The day this denotes within the time zone of the user is the one the share expires at the end of. Stated as an empty value, the expiration date of an existing share is removed.
Responses:
200:
A JSON object containing the share as it is after the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemShareResponse
{- data ( InfoItemShareData ): A share of an item, as it is stated by the storage the item is located in. All values are strings, and which of them are stated depends on the kind of the share, so a share that is granted to a user states no address to access it through. The properties stated here are the ones the OpenCloud storage provides.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
InfoItemShareData - A share of an item, as it is stated by the storage the item is located in. All values are strings, and which of them are stated depends on the kind of the share, so a share that is granted to a user states no address to access it through. The properties stated here are the ones the OpenCloud storage provides.
{- permissionId ( string ): The identifier of the share, which further requests refer to it by.
- type ( string ): The type of the share, stating which rights it grants.
- displayName ( string ): The name to display for the share.
- webUrl ( string ): The address the share can be accessed through.
- roles ( string ): The identifiers of the roles the share grants, as a comma separated list.
- creationDate ( string ): The point in time the share has been created at, as milliseconds since 1970-01-01 00:00:00 UTC.
- expiryDate ( string ): The point in time the share expires at, as milliseconds since 1970-01-01 00:00:00 UTC.
- hasPassword ( string ): Whether the share is protected by a password, as `true` or `false`.
- preventDownloads ( string ): Whether the share prevents the item from being downloaded, as `true` or `false`.
- invitedBy ( string ): The entity that created the share.
- grantedTo ( string ): The entity the share grants access to.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the infoitems.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.
query string timestamp (empty) Timestamp of the last update of the requested infoitems.
query long ignore Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Responses:
200:
An array with new, modified and deleted infoitems. New and modified infoitems are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted infoitems would be identified by their object IDs as string, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdatesResponse
{- data ( array[object] ): Array of infoitems.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Creates or updates an infoitem with a file.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type folder_id (empty) The folder id.
query string timestamp (empty) Timestamp of the last update of the infoitem. If the infoitem was modified after the specified timestamp, then the update must fail. Note: This must only be set for updates of existing infoitems.
query long id (empty) The id of the file in case of an update.
query string title (empty) The title of the file.
query string filename (empty) The name of the file.
query string file_mimetype (empty) The mimetype of the file.
query string file_md5sum (empty) The md5sum of the file.
query string description (empty) The description of the file.
query string url (empty) The url of the file.
query string version (empty) The version of the file.
query string version_comment (empty) The comment of the version.
query string categories (empty) The a list of categories.
query string color_label (empty) The color label identifier.
query integer file_size (empty) The complete final size of the document in bytes, even if data is appended.
query long try_add_version (empty) Add new file version if file name exists
query boolean ignoreWarnings (empty) In case of an update indicates whether warnings should be ignored or not
query boolean offset (empty) Optionally sets the start offset in bytes where to append the data to the document, must be equal to the actual document's length. Only available if the underlying File storage account supports the "RANDOM_FILE_ACCESS" capability. If set the id parameter must also be set to the id previously recieved from the first/starting request.
query long pushToken (empty) The client's push token to restrict the generated drive event
query string creation_date (empty) The creation date of the file, in milliseconds since 1970-01-01 00:00:00 in the time zone given by `timezone` (default: the user's time zone).
query long last_modified (empty) The last modification date of the file, in milliseconds since 1970-01-01 00:00:00 in the time zone given by `timezone` (default: the user's time zone).
query long timezone (empty) The time zone `creation_date` and `last_modified` are given in. If not specified, the user's time zone is used.
query string extendedResponse (empty) If the parameter is set to `true` the response's `data` field is an object with the field `file` holding the stored infoitem and the field `save_action`, which is "rename" if the file name was changed, "new_version" if a new version was added to an existing infoitem, or "none" (default: false).
query boolean Body:
Description:The binary file
Content-type: application/octet-stream-
Unknown
Responses:
200:
A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdateResponse
{- data ( string ): The object ID of the updated infoitem.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the infoitem whose versions are requested.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data. If not specified, all columns are returned.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Responses:
200:
A JSON object containing an array with data for the infoitem. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. The timestamp is the timestamp relating to the requested infostore item. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse
{- data ( data ): Array of infoitems. Each infoitem is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type scan (empty) Flag to request an Anti-Virus scan for the specified documents before downloading them.
query boolean recursive (empty) `true` to also include the subfolders of the folders referenced in the request body and their infoitems; otherwise `false`.
query boolean body (empty) The JSON array that is otherwise passed as request body, e.g. for a download through a plain link. Only evaluated if there is no request body.
query string Body:
Description:A JSON array of JSON objects with the id, folder and optionally the documents' versions to include in the requested ZIP archive (if missing, it refers to the latest/current version). An object without `id` denotes a folder whose infoitems are included. Not required if the `body` parameter is given.
Content-type: application/json-
InfoItemZipElement - An infoitem or a folder to add to the ZIP archive. At least one of `id` and `folder` MUST be given.
{- id ( string ): The object ID of the infoitem (e.g. "31841/36639").
- folder ( string ): The object ID of the related folder (e.g. "31841"). Without `id`, the infoitems of this folder are added.
- version ( string ): The version of the infoitem.
Responses:
200:
The raw byte data of the ZIP archive. The response type for the HTTP request is set to `application/zip`.
Content-type: application/zip-
Unknown
-
-
It is possible to add a filename to the request's URI like
/infostore/{filename}?action=zipfolder. The filename may be added to the customary infostore path to suggest a filename to a Save-As dialog.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the infoitems.
query string recursive (empty) `true` to also include subfolders and their infoitems respectively; otherwise `false` to only consider the infoitems of specified.
query boolean scan (empty) Flag to request an Anti-Virus scan for the ifoitems in the specified folder before downloading them.
query boolean addFolderAsRoot (empty) Flag to request that the zipped folder is added to the archive as a root folder
query boolean Responses:
200:
The raw byte data of the ZIP archive. The response type for the HTTP request is set to `application/zip`.
Content-type: application/zip-
Unknown
-
-
-
Jobqueue
The job queue module-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
An array of JSON objects each describing a job currently held in job queue. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AllJobsResponse
{- data ( array[InfoJobData] ): Contains the JSON representations for jobs currently held in job queue for a user
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
InfoJobData
{- id ( string ): The job identifier
- action ( string ): The action identifier
- module ( string ): The module identifier
- done ( boolean ): Signals whether job is already done or still in progress
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON array with the identifiers of the jobs to cancel. Identifiers of jobs that are unknown or not owned by the user are ignored.
Content-type: application/json
Responses:
200:
A JSON object providing success information. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CancelJobResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Always `true` once the request has been processed, also if a job was unknown or had already completed
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier for the job
query string Responses:
200:
The regular response appropriate for submitted job. The job is removed from job queue once its result has been retrieved. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
Unknown - The response of the originating request that was submitted as a job
202:
The job did not complete in time and is still held in job queue. The response provides the job identifier and a long-running operation warning. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetJobResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- job ( string ): The job identifier
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier for the job
query string Responses:
200:
A JSON object describing the job held in job queue. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoJobResponse
{- data ( InfoJobData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
InfoJobData
{- id ( string ): The job identifier
- action ( string ): The action identifier
- module ( string ): The module identifier
- done ( boolean ): Signals whether job is already done or still in progress
-
-
-
JSlob
The JSlob module is used to store and retrieve arbitrary JSON-structured configuration for a single user.-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string id (empty) The JSlob identifier.
query string jslobPath (empty) The path to the value inside the JSlob's tree, e.g. `chronos/defaultFolderId`. Path segments are separated by `/` (a literal slash is escaped as `\/`), and `name[index]` addresses an element of a JSON array.
path string Responses:
200:
A JSON object containing the value at the given path, or `null` if the path does not exist. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
JSlobValueResponse
{- data ( any ): The JSON value at the requested path; any JSON type, or `null` if the path does not exist.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
The value at the given jslobPath is replaced by the request body.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The JSlob identifier.
query string serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string jslobPath (empty) The path to the value inside the JSlob's tree, e.g. `chronos/defaultFolderId`. Path segments are separated by `/` (a literal slash is escaped as `\/`), and `name[index]` addresses an element of a JSON array.
path string Body:
Description:The new value for the path, any JSON value. Use `/jslob?action=set` to delete fields or entire JSlob.
Content-type: application/json-
Unknown
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string Responses:
200:
A JSON object containing an array of JSON objects each representing a certain JSON configuration. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
JSlobsResponse
{- data ( array[JSlobData] ): An array containing JSON configurations.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
JSlobData
{- id ( string ): The identifier of the JSlob.
- tree ( tree ): The JSON object that is stored in the JSlob.
- meta ( meta ): A JSON object containing meta data.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string id (empty) The JSlob identifier.
query string Responses:
200:
A JSON object containing the complete JSlob. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
JSlobResponse
{- data ( JSlobData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
JSlobData
{- id ( string ): The identifier of the JSlob.
- tree ( tree ): The JSON object that is stored in the JSlob.
- meta ( meta ): A JSON object containing meta data.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string Body:
Description:A JSON array with the identifiers of the requested JSlobs.
Content-type: application/json
Responses:
200:
A JSON object containing an array of JSON objects each representing a certain JSON configuration. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
JSlobsResponse
{- data ( array[JSlobData] ): An array containing JSON configurations.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
JSlobData
{- id ( string ): The identifier of the JSlob.
- tree ( tree ): The JSON object that is stored in the JSlob.
- meta ( meta ): A JSON object containing meta data.
-
-
To delete a JSON configuration just send an empty request body for the specified
id.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The JSlob identifier.
query string serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string Body:
Description:A JSON object containing the JSON configuration to store. To delete the JSlob just send an empty body or `null`.
Content-type: application/json-
Unknown
{
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
When updating a JSlob entry there are two different ways to do so:
- Using a path and value field in the request body The path of the sub tree to replace is provided in the request body as 'path' and its new value as 'value'. For example:
{ "path":"path/to/the/sub/tree" "value": {...} }2. Performing a merge In case no path is given the provided value is merged with the existing jslob entry and only provided fields are updated.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The JSlob identifier.
query string serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string Body:
Description:Either a JSON object which contains the new JSON configuration or a json object which contains a path and value field which provides the JSlob sub path and its value respectively. In case the configuration is provided directly it is either merged in case no path is given or it is used to update the subpath. Use `/jslob?action=set` to delete fields or entire JSlob.
Content-type: application/json-
Unknown
{
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
- Using a path and value field in the request body The path of the sub tree to replace is provided in the request body as 'path' and its new value as 'value'. For example:
-
-
Jump
The jump module is used to pass an acquired identity token for an authenticated user from one system to another for a single sign-on.-
Registers an end-point and an end-point handler for the system "dummy", unless they already exist, so that
identityTokencan be called withsystem=dummy. Intended for tests only.Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object whose data is `true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
JumpDummyResponse
{- data ( boolean ): Always `true`.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type system (empty) The identifier for the external service/system, like "com.openexchange.jump.endpoint.mysystem". The request fails if no end-point is configured for that system or no registered end-point handler accepts it.
query string Responses:
200:
A JSON object containing the identity token. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
JumpResponse
{- data ( JumpTokenData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
JumpTokenData
{- token ( string ): The identity token, a random UUID as 32 hex digits without dashes.
-
-
-
Login
The login module is used to obtain a session from the user's login credentials. To understand the details of the different login methods, see the article titled Login variations. Because of security reasons each login variation will reject requests containing the parameter "password" within the URL query.-
Lets a client without a browser, such as a native app or a command line tool, get a personal access token without a web session. The request runs through the regular login, so authentication plug-ins, login listeners and client checks apply; the session it creates is transient and removed before the response is sent. No cookies are set. The same sign-in is available to other end-points through the
AccessTokenSignInService.The response is the same as for
accesstoken?action=new: the token's metadata and, once, its secret. The token keeps the password for mail access asaccesstoken?action=newdoes. App passwords and guest credentials are refused as invalid credentials.If the user has a second factor, the response carries the error
ACCESSTOKEN-0012and, as data, a challenge. Confirm it withlogin?action=accessTokenSecondFactorwithinexpiresAt; the password is not needed again. Only factors answered with a typed code are offered: authenticator apps, backup strings and SMS. A user who has only WebAuthn or U2F devices getsACCESSTOKEN-0015.Available if
com.openexchange.accesstoken.signin.enabledistrueand the OAuth provider is enabled for the user. Attempts are limited per login name and per client address (com.openexchange.accesstoken.signin.rateLimit.*); beyond the limit the answer isLGI-0028, andACCESSTOKEN-0019if the limits cannot be evaluated. The client address is the transport address; aclientIPparameter is ignored, as is a second factor passed along with this call.Parameters:
Parameter Value Description Parameter Type Data Type client (empty) Identifier of the client. It names the token when no label is given and can be restricted with `com.openexchange.accesstoken.signin.allowedClients`.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Body:
Description:No description available
Content-type: application/json-
AccessTokenSignInBody - The credentials and what the token should grant; omitted values fall back to the configured defaults
{- login ( string , required ): The login name
- password ( string , required ): The password; app passwords are refused
- label ( string ): A label for the token, at most 128 characters; defaults to the client identifier and the date
- scopes ( array[string] ): The scopes the token grants; defaults to those of `com.openexchange.accesstoken.signin.defaultScopes` the user can grant
- expires ( integer ): The expiration time in milliseconds since the epoch; defaults to `com.openexchange.accesstoken.signin.defaultLifetimeDays`
-
api_type
(
string
, possibleValues:
genericmcpmobile
Responses:
200:
The token with its secret, or a second-factor challenge with the error `ACCESSTOKEN-0012`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccessTokenSignInResponse
{- data ( object ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Unknown Composed Schema
ALLOF: AccessToken Object -
AccessToken - The metadata of a personal access token, or of what the user granted an OAuth client of the built-in authorization server of the MCP endpoint; the secret is never part of it
{- id ( string ): The token identifier; for a grant of an OAuth client the grant identifier, which covers all tokens the client gets by refreshing
- label ( string ): The label the user chose; for a grant of an OAuth client the name the client declared, or the host it redirects to
- scopes ( array[string] ): The scopes the token grants
- created ( integer ): The creation time in milliseconds since the epoch
- expires ( integer ): The expiration time in milliseconds since the epoch
- last_used ( integer ): The time of the last successful use in milliseconds since the epoch, `0` if never used
- client ( client ): Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
- mail_access ( boolean ): Whether the mail credential vault keeps a credential for the token (the user's password or the OAuth tokens of a single sign-on session, sealed with the token's secret; under master authentication a note that nothing is needed), so that a session made from it can read mail; `false` once the token has expired
-
api_type
(
string
, possibleValues:
genericmcpmobile
- folders ( folders ): Present if the token is restricted to folders; maps a module to the identifiers of the folders the token may reach in it
-
client - Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
{- id ( string ): The client identifier from its dynamic registration
- name ( string ): The name the client declared about itself, not verified; absent if it declared none
- redirect_host ( string ): The host the grant was sent to
-
AccessTokenSignInFactor - A second factor a sign-in can be confirmed with
{- provider ( string ): The provider, `TOTP`, `BACKUP_STRING` or `SMS`
- deviceId ( string ): The device identifier
- name ( string ): The name the user gave the device
- backup ( boolean ): Whether it is a backup device
405:
The request did not use POST.
-
-
Confirms the challenge
login?action=accessTokenanswered with. The code is checked as in the web client, so wrong codes count towards the multifactor lock-out. A wrong code or an unknown device is answered withACCESSTOKEN-0016, a locked-out user withACCESSTOKEN-0017; the challenge stays valid for another attempt until it expires. An unknown or expired challenge is answered withACCESSTOKEN-0014, as is a confirmation sent while another one of the same challenge is still running: wait for the answer before trying again. A factor that cannot be checked at the moment is answered withACCESSTOKEN-0018.Without
secret_codethe factor is only started: for SMS this sends the code. The response then repeats the challenge identifier and its expiry.With a correct code the user is signed in again with the password kept in the challenge, and the response is the same as for
accesstoken?action=new. A challenge can be confirmed once.Parameters:
Parameter Value Description Parameter Type Data Type client (empty) Identifier of the client, as for `login?action=accessToken`.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Body:
Description:No description available
Content-type: application/json-
AccessTokenSecondFactorBody - The answer to a sign-in challenge
{- challengeId ( string , required ): The challenge identifier from `login?action=accessToken`
- provider ( string , required ): The provider of the chosen factor, as listed in the challenge
- deviceId ( string , required ): The device of the chosen factor, as listed in the challenge
- secret_code ( string ): The code; omit it to start the factor, which sends the code of an SMS factor
Responses:
200:
The token with its secret, or the challenge after starting a factor. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AccessTokenSignInResponse
{- data ( object ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Unknown Composed Schema
ALLOF: AccessToken Object -
AccessToken - The metadata of a personal access token, or of what the user granted an OAuth client of the built-in authorization server of the MCP endpoint; the secret is never part of it
{- id ( string ): The token identifier; for a grant of an OAuth client the grant identifier, which covers all tokens the client gets by refreshing
- label ( string ): The label the user chose; for a grant of an OAuth client the name the client declared, or the host it redirects to
- scopes ( array[string] ): The scopes the token grants
- created ( integer ): The creation time in milliseconds since the epoch
- expires ( integer ): The expiration time in milliseconds since the epoch
- last_used ( integer ): The time of the last successful use in milliseconds since the epoch, `0` if never used
- client ( client ): Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
- mail_access ( boolean ): Whether the mail credential vault keeps a credential for the token (the user's password or the OAuth tokens of a single sign-on session, sealed with the token's secret; under master authentication a note that nothing is needed), so that a session made from it can read mail; `false` once the token has expired
-
api_type
(
string
, possibleValues:
genericmcpmobile
- folders ( folders ): Present if the token is restricted to folders; maps a module to the identifiers of the folders the token may reach in it
-
client - Present for a grant of an OAuth client of the built-in authorization server of the MCP endpoint only
{- id ( string ): The client identifier from its dynamic registration
- name ( string ): The name the client declared about itself, not verified; absent if it declared none
- redirect_host ( string ): The host the grant was sent to
-
AccessTokenSignInFactor - A second factor a sign-in can be confirmed with
{- provider ( string ): The provider, `TOTP`, `BACKUP_STRING` or `SMS`
- deviceId ( string ): The device identifier
- name ( string ): The name the user gave the device
- backup ( boolean ): Whether it is a backup device
405:
The request did not use POST.
-
-
Creates a guest session for a share that is protected by a password only (authentication mode
ANONYMOUS_PASSWORD). The share token itself identifies the guest, so no login name is needed. Shares with another authentication mode are refused as invalid credentials.The password is taken from a JSON request body
{"password": "..."}if one is sent, otherwise from the form parameterpassword.Parameters:
Parameter Value Description Parameter Type Data Type share (empty) The token of the share to access
query string target (empty) The path to a specific share target. An unknown or missing target is answered as an unknown share.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
doAnonymousLoginBody
{- password ( string , required ): The password (MUST be placed in the request body, otherwise the login request will be denied).
- client ( string ): Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.
- version ( string ): Used version of the HTTP/JSON interface client.
- clientIP ( string ): IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.
- clientUserAgent ( string ): Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.
- staySignedIn ( boolean ): Cookies will be persisted if user chooses to stay signed in
Responses:
200:
A JSON object containing the session ID used for all subsequent requests, plus `module`, `folder` and `item` of the share target. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
LoginResponse
{- session ( string ): The session ID.
- user ( string ): The username.
- user_id ( integer ): The user ID.
- context_id ( integer ): The context ID.
- locale ( string ): The users locale (e.g. "en_US").
- requires_multifactor ( boolean ): True if multifactor login required
- enforce_multifactor ( boolean ): True if multifactor authentication is enforced for the user and not yet done
- enforce_multifactor_dismissable ( boolean ): True if multifactor authentication is enforced, but the user may still dismiss setting it up
- enforcement_data ( enforcement_data ): With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
- modules ( modules ): The configuration tree below `modules`, if requested with `modules=true`
- multiple ( array[object] ): The responses to the requests passed in `multiple`, in their order
- module ( string ): Guest and anonymous logins only. The module of the share target, if the target is a folder or an item of a module
- folder ( string ): Guest and anonymous logins only. The folder of the share target
- item ( string ): Guest and anonymous logins only. The item of the share target
- password ( string ): `redeemToken` only. The user's password, if the token login application is configured with `com.openexchange.tokenlogin.[applicationId].accessPassword`
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
enforcement_data - With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
{- remaining_seconds ( number ): The seconds left
- remaining_logins ( integer ): The logins left
-
-
If the session ID was stored in a cookie before by choosing to 'stay signed in' when logging in, the user can reuse his old session by using the autologin request.
Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request. (IS OPTIONAL, meaning can be empty)
query string client (empty) Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.
query string share (empty) The token of a share. Its guest is mixed into the cookie hash, so that the session of that guest is found.
query string modules (empty) If `true`, the response carries the configuration tree below `modules` as field `modules`.
query boolean Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
autologinBody
{
Responses:
200:
A JSON object containing the session ID used for all subsequent requests. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
LoginResponse
{- session ( string ): The session ID.
- user ( string ): The username.
- user_id ( integer ): The user ID.
- context_id ( integer ): The context ID.
- locale ( string ): The users locale (e.g. "en_US").
- requires_multifactor ( boolean ): True if multifactor login required
- enforce_multifactor ( boolean ): True if multifactor authentication is enforced for the user and not yet done
- enforce_multifactor_dismissable ( boolean ): True if multifactor authentication is enforced, but the user may still dismiss setting it up
- enforcement_data ( enforcement_data ): With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
- modules ( modules ): The configuration tree below `modules`, if requested with `modules=true`
- multiple ( array[object] ): The responses to the requests passed in `multiple`, in their order
- module ( string ): Guest and anonymous logins only. The module of the share target, if the target is a folder or an item of a module
- folder ( string ): Guest and anonymous logins only. The folder of the share target
- item ( string ): Guest and anonymous logins only. The item of the share target
- password ( string ): `redeemToken` only. The user's password, if the token login application is configured with `com.openexchange.tokenlogin.[applicationId].accessPassword`
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
enforcement_data - With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
{- remaining_seconds ( number ): The seconds left
- remaining_logins ( integer ): The logins left
-
-
The following request is especially for integration with systems located in the providers infrastructure. If those systems create a session with the following request the client host IP address in the session can be changed. The IP check for following requests will be done using this newly set client host IP address.
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string clientIP (empty) New IP address of the client host for the current session.
query string Responses:
200:
A JSON object containing the string "1" as data attribute. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChangeIPResponse
{- data ( string ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
This request implements a possible login to the web frontend by only using a simple HTML form. The response contains a redirect link to the Web-UI. See OXSessionFormLogin for details. An example for such a form can be found in com.openexchange.server/doc/examples/login.html
Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request. Required unless `com.openexchange.login.formLoginWithoutAuthId` is `true`.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
doFormLoginBody
{- login ( string , required ): The login name.
- password ( string , required ): The password.
- client ( string , required ): Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange. If the autologin request should work the client must be the same as the client sent by the UI in the normal login request.
- version ( string , required ): Used version of the HTTP/JSON interface client.
- autologin ( boolean ): Whether the cookies are persisted, so that the autologin request works later. Only evaluated if `staySignedIn` is not set.
- staySignedIn ( boolean ): Cookies will be persisted if user chooses to stay signed in.
- uiWebPath ( string ): Defines another path on this web server where the UI is located. If this parameter is not defined or not a path on this host, the configured default of the backend is used.
- clientIP ( string ): IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.
- clientUserAgent ( string ): Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.
Responses:
302:
A redirect to the web UI, with the session cookies set. The URL of the web UI is either taken from `uiWebPath` or from the configured default of the backend, and carries the session identifier, user and context identifier and language in its fragment.
200:
An error, as an error page if `com.openexchange.ajax.login.errorPageTemplate` is set, otherwise as a JSON error response (see Error handling).
-
-
Creates a guest session for a share whose guest is a named user (authentication mode
GUESTorGUEST_PASSWORD). Shares with another authentication mode are refused as invalid credentials.The credentials are taken from a JSON request body
{"login": "...", "password": "..."}if one is sent, otherwise from the form parametersnameandpassword. The login name MUST be<user-id>@<context-id>of the guest. A guest without a password signs in without one.Parameters:
Parameter Value Description Parameter Type Data Type share (empty) The token of the share to access
query string target (empty) The path to a specific share target. An unknown or missing target is answered as an unknown share.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
doGuestLoginBody
{-
name
(
string
,
required
):
The login name of the guest, `
@ `. - password ( string ): The password (MUST be placed in the request body, otherwise the login request will be denied).
- client ( string ): Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.
- version ( string ): Used version of the HTTP/JSON interface client.
- clientIP ( string ): IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.
- clientUserAgent ( string ): Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.
- staySignedIn ( boolean ): Cookies will be persisted if user chooses to stay signed in
-
name
(
string
,
required
):
The login name of the guest, `
Responses:
200:
A JSON object containing the session ID used for all subsequent requests, plus `module`, `folder` and `item` of the share target. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
LoginResponse
{- session ( string ): The session ID.
- user ( string ): The username.
- user_id ( integer ): The user ID.
- context_id ( integer ): The context ID.
- locale ( string ): The users locale (e.g. "en_US").
- requires_multifactor ( boolean ): True if multifactor login required
- enforce_multifactor ( boolean ): True if multifactor authentication is enforced for the user and not yet done
- enforce_multifactor_dismissable ( boolean ): True if multifactor authentication is enforced, but the user may still dismiss setting it up
- enforcement_data ( enforcement_data ): With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
- modules ( modules ): The configuration tree below `modules`, if requested with `modules=true`
- multiple ( array[object] ): The responses to the requests passed in `multiple`, in their order
- module ( string ): Guest and anonymous logins only. The module of the share target, if the target is a folder or an item of a module
- folder ( string ): Guest and anonymous logins only. The folder of the share target
- item ( string ): Guest and anonymous logins only. The item of the share target
- password ( string ): `redeemToken` only. The user's password, if the token login application is configured with `com.openexchange.tokenlogin.[applicationId].accessPassword`
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
enforcement_data - With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
{- remaining_seconds ( number ): The seconds left
- remaining_logins ( integer ): The logins left
-
-
Kept for compatibility: the answer is always
{"autologin": true}, without the usualdatawrapper.Responses:
200:
A JSON object with `autologin` set to `true`.
Content-type: application/json-
HasAutologinResponse
{- autologin ( boolean ): No description available
-
-
The login module is used to obtain a session from the user's login credentials. Parameters are normally expected in the POST request body.
The response sets the session and secret cookies. On success it is the plain JSON object, not wrapped in
data.Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request. (IS OPTIONAL, meaning can be empty)
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
doLoginBody
{- name ( string , required ): The login name.
- password ( string , required ): The password (MUST be placed in the request body, otherwise the login request will be denied).
- client ( string ): Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.
- version ( string ): Used version of the HTTP/JSON interface client.
- clientIP ( string ): IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.
- clientUserAgent ( string ): Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.
- staySignedIn ( boolean ): Cookies will be persisted if user chooses to stay signed in. If not set, `autologin` is evaluated instead.
- locale ( string ): The locale to use for the session if `language` is not set.
- storeLanguage ( boolean ): Whether to store `language` as the user's locale. If not set, `storeLocale` is evaluated instead.
- storeLocale ( boolean ): Whether to store the locale as the user's locale; used if `storeLanguage` is not set.
- transient ( boolean ): Whether the session is transient, like the short-lived sessions of WebDAV access.
- modules ( boolean ): If `true`, the response carries the configuration tree below `modules` as field `modules`.
- multiple ( string ): A JSON array of requests as for the `multiple` module, run right after the login with the new session. Their responses are returned in the field `multiple`.
Responses:
200:
A JSON object containing the session ID used for all subsequent requests. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
LoginResponse
{- session ( string ): The session ID.
- user ( string ): The username.
- user_id ( integer ): The user ID.
- context_id ( integer ): The context ID.
- locale ( string ): The users locale (e.g. "en_US").
- requires_multifactor ( boolean ): True if multifactor login required
- enforce_multifactor ( boolean ): True if multifactor authentication is enforced for the user and not yet done
- enforce_multifactor_dismissable ( boolean ): True if multifactor authentication is enforced, but the user may still dismiss setting it up
- enforcement_data ( enforcement_data ): With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
- modules ( modules ): The configuration tree below `modules`, if requested with `modules=true`
- multiple ( array[object] ): The responses to the requests passed in `multiple`, in their order
- module ( string ): Guest and anonymous logins only. The module of the share target, if the target is a folder or an item of a module
- folder ( string ): Guest and anonymous logins only. The folder of the share target
- item ( string ): Guest and anonymous logins only. The item of the share target
- password ( string ): `redeemToken` only. The user's password, if the token login application is configured with `com.openexchange.tokenlogin.[applicationId].accessPassword`
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
enforcement_data - With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
{- remaining_seconds ( number ): The seconds left
- remaining_logins ( integer ): The logins left
-
-
Does the logout which invalidates the session.
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A successfull logout
400:
The parameter `session` is missing.
403:
FORBIDDEN. The server refuses to respond to the request.
-
GET /login?action=oidcLogin Creates a session after successful authentication at the OpenID provider
This API call is typically used after the client has been authenticated at the OpenID provider. After successful authentication at the OpenID provider, the client (web browser) is redirected to this endpoint, where the client can exchange an auth code for the actual OX App Suite session. As a result, the user gets redirected to
https://<webmail-domain>/<login-path>#session=<session-id>. The redirect response has the session cookies set. A request with the headerAccept: application/jsongets a JSON object withsession,user_idandcontext_idinstead of the redirect, and errors as a JSON error object. The action name carries the path of the OpenID back-end, if one is configured (oidcLogin<path>).Parameters:
Parameter Value Description Parameter Type Data Type sessionToken (empty) The auth code to be exchanged
query string client (empty) Identifier of the client using the HTTP/JSON interface. Default: Value of configuration property `com.openexchange.ajax.login.http-auth.client`
query string uriFragment (empty) A fragment to append to the redirect URL after the session parameter, for example a deep link into the web UI.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
With `Accept: application/json`, the JSON object with `session`, `user_id` and `context_id`, or a JSON error object. Otherwise a HTML error page.
302:
Upon success, the middleware responds with a redirect for bootstrapping the client session.
400:
In case the sessionToken is missing
403:
In case the login is not allowed
-
This API call is typically the result of a redirect created by the OpenID provider. After successful logout at the OpenID provider, the client (web browser) is redirected to this endpoint, where the client can terminated the actual OX App Suite session. As a result, the user gets usually redirected to an environment-specific location, for example a portal page. The redirect response removes all OX App Suite session cookies.
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) OX App Suite session
query string Responses:
200:
A HTML result page
302:
A redirect to an exit page
-
Redeems a session reservation token that another server component created (see
SessionReservationService) and creates the session for the reserved user. A token can be redeemed once. The response sets the session cookies and redirects to the web UI, carrying the session identifier in the URL fragment.Parameters:
Parameter Value Description Parameter Type Data Type token (empty) The session reservation token.
query string uiWebPath (empty) The path of the web UI on this host to redirect to. Default: value of configuration property `com.openexchange.UIWebPath`.
query string client (empty) Identifier of the client using the HTTP/JSON interface. Default: value of configuration property `com.openexchange.ajax.login.http-auth.client`.
query string Responses:
302:
A redirect to the web UI, `
#session= `. 200:
An error, as an error page if `com.openexchange.ajax.login.errorPageTemplate` is set, otherwise as a JSON error response (see Error handling); for example when `token` is missing.
400:
The token is unknown or already redeemed.
403:
The context or the user is disabled.
-
With a valid session it is possible to acquire a secret (see
token?action=acquireToken). Using this secret another system is able to generate a valid session. This session may also contain the users password (configurable). The system in question needs to be registered at the server and has to identify itself with a key configured at the open-xchange server. This is only for internal communication and by default no keys are available.Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request.
query string staySignedIn (empty) Cookies will be persisted if user chooses to stay signed in. Default is `false`.
query boolean Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
redeemTokenBody
{- token ( string , required ): The token created with `token?action=acquireToken`.
- client ( string , required ): Identifier of the client using the HTTP/JSON interface. The client identifier must be the same for each request after creating the login session.
- appId ( string , required ): The application identifier of the token login service. Applications can be defined through ` com.openexchange.tokenlogin.applications` and will be announced to the client via JSLob if `com.openexchange.tokenlogin.[applicationId].announceId` is set to `true`. The parameter `secret` is accepted instead.
- redirectUrl ( string ): If set, the response redirects to this URL instead of returning JSON.
- clientIP ( string ): IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.
- clientUserAgent ( string ): Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.
Responses:
200:
A JSON object containing the session ID used for all subsequent requests. If configured by `com.openexchange.tokenlogin.[applicationId].accessPassword` even the user password will be returned. In case of errors the responsible fields in the response are filled (see Error handling), or an error page is returned if `com.openexchange.ajax.login.errorPageTemplate` is set.
Content-type: application/json-
LoginResponse
{- session ( string ): The session ID.
- user ( string ): The username.
- user_id ( integer ): The user ID.
- context_id ( integer ): The context ID.
- locale ( string ): The users locale (e.g. "en_US").
- requires_multifactor ( boolean ): True if multifactor login required
- enforce_multifactor ( boolean ): True if multifactor authentication is enforced for the user and not yet done
- enforce_multifactor_dismissable ( boolean ): True if multifactor authentication is enforced, but the user may still dismiss setting it up
- enforcement_data ( enforcement_data ): With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
- modules ( modules ): The configuration tree below `modules`, if requested with `modules=true`
- multiple ( array[object] ): The responses to the requests passed in `multiple`, in their order
- module ( string ): Guest and anonymous logins only. The module of the share target, if the target is a folder or an item of a module
- folder ( string ): Guest and anonymous logins only. The folder of the share target
- item ( string ): Guest and anonymous logins only. The item of the share target
- password ( string ): `redeemToken` only. The user's password, if the token login application is configured with `com.openexchange.tokenlogin.[applicationId].accessPassword`
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
enforcement_data - With `enforce_multifactor_dismissable`, how long the user may still dismiss setting up multifactor authentication
{- remaining_seconds ( number ): The seconds left
- remaining_logins ( integer ): The logins left
302:
With `redirectUrl`, a redirect to that URL with `&session=
` appended. 400:
The token or the application identifier is empty, or the application is unknown for the user.
403:
The context or the user is disabled.
500:
The `redirectUrl` is not a valid URL.
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
This API call is typically the result of a redirect created by the server. It does not need to be explicitly implemented by clients!
After a successful SAML login flow, the client (web browser) is redirected to this endpoint, where the actual App Suite session gets created. As a result, the user gets redirected to
https://<webmail-domain>/<login-path>#session=<session-id>. The redirect response has App Suite session cookies set.Parameters:
Parameter Value Description Parameter Type Data Type token (empty) A valid session reservation token
query string client (empty) Identifier of the client using the HTTP/JSON interface. Default: Value of configuration property `com.openexchange.ajax.login.http-auth.client`
query string clientUserAgent (empty) Parameter to override the user agent used for session creation. By default the `User-Agent` request header is evaluated.
query string loginPath (empty) The login path to be set on the resulting `Location` response header as part of the redirect response. Default: Value of configuration property `com.openexchange.UIWebPath`.
query string uriFragment (empty) A fragment to append to the redirect URL after the session parameter, for example a deep link into the web UI.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
A html error page
302:
In case of a succes the middleware answers with a redirect to for bootstrapping the client session
400:
In case the token is missing
403:
In case the login is not allowed
-
This API call is typically the result of a redirect created by the server. It does not need to be explicitly implemented by clients!
After a successful SAML logout flow, the client (web browser) is redirected to this endpoint, where the actual App Suite session gets terminated. As a result, the user gets usually redirected to an environment-specific location, for example a portal page. The redirect response removes all App Suite session cookies.
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) App Suite session ID
query string Responses:
200:
A html result page
302:
A redirect to an exit page
-
This request allows every possible client to create a very short living session. This session can then be transferred to any other client preferably a browser entering then the normal web interface. Then the sessions life time will be extended equally to every other session.
Two tokens are used. One of these tokens is only known to the client and one is generated by the server. Only the combination of both tokens allows to use the session. The combination of both tokens must be done by the client creating the session.
DISCLAIMER: This request MUST NOT be used by some server side instance. If some server side instance uses this request to create a session for a browser on some client machine, then you have to transfer the full URL with server and client token over some connection to the client. This creates a VULNERABILITY if this is done. The token login method is only secure if this request is already sent from the same machine that later runs the browser using the created session.
Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
doTokenLoginBody
{- login ( string , required ): The login information.
- password ( string , required ): The password (MUST be placed in the request body, otherwise the login request will be denied).
- clientToken ( string , required ): Client side identifier for accessing the session later. The value should be some token that is unique for every login request.
- client ( string , required ): Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.
- version ( string , required ): Version of the HTTP/JSON interface client. Only for statistic evaluations.
- staySignedIn ( boolean ): Cookies will be persisted if user chooses to stay signed in.
- uiWebPath ( string ): Defines another path on this web server where the UI is located. If this parameter is not defined or not a path on this host, the configured default of the backend is used.
- clientIP ( string ): IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.
- clientUserAgent ( string ): Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.
- jsonResponse ( boolean ): ’True’ or ’false’ (default). Defines the returned data type as JSON. Default `false` will return a redirect.
Responses:
200:
With `jsonResponse=true`, a plain JSON object (not wrapped in `data`) with the server token, the user and the redirect URL. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TokenLoginResponse
{- serverToken ( string ): The token generated by the server.
- user ( string ): The username.
- user_id ( integer ): The user ID.
- url ( string ): The URL of the redirect to the web UI.
- context_id ( integer ): The context ID.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
302:
Without `jsonResponse=true`, a redirect to the web UI. The URL of the web UI is either taken from `uiWebPath` or from the configured default of the backend. This redirect only contains the server side token. The client side token sent in the request must be appended by the client creating the session; the final URL has the form `redirect_URL&clientToken=token`. Both tokens are necessary to use the session and both tokens must match, otherwise the session is terminated.
-
-
This request allows clients to access a session created with the
/login?action=tokenLoginrequest. When accessing the session its life time is extended equally to every other session. The response sets the session cookies.Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
accessSessionBody
{- serverToken ( string , required ): The server side token from the `tokenLogin` response.
- clientToken ( string , required ): The client side token that was passed to the `tokenLogin` request.
- client ( string , required ): Identifier of the client using the HTTP/JSON interface. It replaces the client of the session and is used for the cookie hash.
Responses:
200:
A JSON object conform to the normal response body containing the session identifier, the login, the identifier and the locale of the user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TokensResponse
{- data ( TokensData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
TokensData
{- session ( string ): The session ID.
- user ( string ): The username.
- user_id ( integer ): The user ID.
- context_id ( integer ): The context ID.
- locale ( string ): The users locale (e.g. "en_US").
- requires_multifactor ( boolean ): True if multifactor login required
- enforce_multifactor ( boolean ): True if multifactor authentication is enforced for the user and not yet done
- enforce_multifactor_dismissable ( boolean ): True if multifactor authentication is enforced, but the user may still dismiss setting it up
-
-
-
Mail
The mail module is used to access mail data. When mails are stored on an IMAP server, some functionality is not available due to restrictions of the IMAP protocol. Such functionality is marked with "not IMAP".-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data. The values "all" and "list" select predefined column sets.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string unseen (empty) If `true` only mails without the `\Seen` flag are returned.
query boolean deleted (empty) If `false` only mails without the `\Deleted` flag are returned.
query boolean sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return. Only applied together with `right_hand_limit`.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return. Only applied together with `left_hand_limit`.
query integer limit (empty) Either a positive integer number to specify how many items shall be returned according to given sorting, which is equal to `left_hand_limit=0` and `right_hand_limit=
`, or a comma-separated range ` , ` (start inclusive, end exclusive); overrides `left_hand_limit`/`right_hand_limit` parameters. query string categoryid (empty) The category id to filter for. If set to "general" all mails which does not belong to any other category are retrieved; "none" applies no category filter.
query string Responses:
200:
'A JSON object containing an array with mail data. Each array element describes one mail and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailsResponse
{- data ( array[array[object]] ): Array of mails. Each mail is described as an array itself.
- cache ( boolean ): If present and set to true, that parameter signals that response has been fetched from cache
- more ( integer ): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string Responses:
200:
A JSON object with the value `true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailsAllSeenResponse
{- data ( boolean ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Optional object ID of the folder containing the mails
query string useDefaultName (empty) Whether or not to use the default archive folder name if none is set
query boolean createIfAbsent (empty) Whether or not to create the archive folder if absent
query boolean decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:The mails to archive
Content-type: application/json
Responses:
200:
A JSON array containing the archive folders. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ArchiveResponse
{- data ( array[object] ): An array of archive folders which were used
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Moves all mails of the folder received before the given number of days to the archive folder. Requires the capability
archive_emails.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string days (empty) Mails received more than this number of days ago are archived. If absent, the configured default number of days applies.
query integer useDefaultName (empty) Whether or not to use the default archive folder name if none is set
query boolean createIfAbsent (empty) Whether or not to create the archive folder if absent
query boolean undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Responses:
200:
A JSON object with the value `true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailsAllSeenResponse
{- data ( boolean ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail which contains the attachment.
query string attachment (empty) ID of the requested attachment (can be substituted by the parameter `cid` otherwise this parameter is **mandatory**).
query string cid (empty) Value of header 'Content-ID' of the requested attachment (can be substituted by the parameter `attachment` otherwise this parameter is **mandatory**).
query string save (empty) 1 overwrites the defined mimetype for this attachment to force the download dialog, otherwise 0.
query integer filter (empty) 1 to apply HTML white-list filter rules if and only if requested attachment is of MIME type `text/htm*` **AND** parameter `save` is set to 0.
query integer save_as (empty) The file name to use for the download instead of the attachment's own name.
query string delivery (empty) The value "download" has the same effect as `save=1`.
query string from_structure (empty) `true` or `1` to fetch the attachment from the structure-fixed message, i.e. the sequence ID refers to the message as returned by `action=get_structure`.
query boolean unseen (empty) `true` or `1` to keep a previously unseen mail unseen when the attachment is fetched.
query boolean exact_length (empty) `true` to calculate the attachment's exact size before it is returned, so that the response carries an exact content length.
query boolean scan (empty) Flag to request an Anti-Virus scan for the specified e-mail attachment before downloading it. Note that if there is a max file limitation set on the middleware, the URL parameter 'exact_length' has to be set to 'true' to instruct the middleware to calculate the attachment's size before passing it to the Anti-Virus scanner.
query boolean as_json (empty) If the attachment is a nested message (`message/rfc822`), it is returned as JSON mail object instead of raw bytes. Requires the `attachment` parameter. Can lead to longer loading times, for multiple nested messages.
query boolean decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string rotate (empty) Adds a 'rotate' transformation, leading to the image being rotated according to the contained EXIF information.
query boolean width (empty) The maximum width of the target image.
query integer height (empty) The maximum height of the target image.
query integer shrinkOnly (empty) Set to true to only scale images 'greater than' target size.
query boolean scaleType Defines the scale type. Possible value:
cover- The "cover" scale type, specifying the minimum target dimensions.
The source image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "cover", will result in the picture being resized to 267x200 pixels.contain- The "contain" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "contain", will result in the picture being resized to 200x150 pixels.containforcedimension- The "containforcedimension" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved while smaller sides get padded to fit exact dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "containforcedimension", will result in the picture being first resized to 200x150 pixels, then height gets padded by 25 pixels per side resulting in exactly 200x200 pixels.coverandcrop- The "coverandcrop" scale type, specifying the target dimensions.
If the source image is bigger than the target dimension, in a first step the image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. In a second step the image will be cropped to fit the target dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "coverandcrop", will result in the picture being resized to 267x200 pixels and then cropped to fit 200x200. In case the image is smaller than then target dimension the image will not be resized and instead it gets padded to fit exact dimension. For example, with an original resolution of 100x100 pixels and a target dimension of 200x200 pixels and type "coverandcrop", will result in the picture being padded on all sides with 50 pixels.auto- The "auto" scale type.
query string cropWidth (empty) The width of the specified rectangular region.
query integer cropHeight (empty) The height of the specified rectangular region.
query integer cropX (empty) The X coordinate of the upper-left corner of the specified rectangular region.
query integer cropY (empty) The Y coordinate of the upper-left corner of the specified rectangular region.
query integer Responses:
200:
The raw byte data of the document. The response type for the HTTP Request is set accordingly to the defined mimetype for this attachment, except the parameter save is set to 1.
Content-type: application/json-
Unknown
401:
No description available
403:
No description available
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail which contains the attachment.
query string attachment (empty) ID of the requested attachment.
query string dest_folder (empty) Object ID of the folder in which the attachment should be stored.
query string encrypt (empty) `true` to store the attachment encrypted (Guard required).
query boolean Body:
Description:A possible empty JSON object containing the optional fields `description` and `filename`. The filename and description values will be used for the newly created file in the drive module.
Content-type: application/json-
PutAttachmentBody
{- filename ( string ): The name of the newly created drive file.
- description ( string ): The description of the newly created drive file.
Responses:
200:
A JSON object containting the data of the store operation. E.g. contains the id of the newly created drive file.
Content-type: application/json-
PutAttachmentResponse
{- data ( data ): No description available
-
data
{- mailFolder ( string ): Object ID of the folder who contains the mails.
- mailUID ( string ): Object ID of the mail which contains the attachment.
- id ( string ): Object ID of the newly created drive file.
- folder_id ( string ): Object ID of the folder in which the attachment is stored to.
- filename ( string ): Name of the newly created drive file.
401:
No description available
403:
No description available
-
-
Hands out a token that allows to download a single attachment of a message through
/ajax/mail.attachment?id=<token>without a session and without cookies, e.g. when the download is performed by software outside App Suite. The token grants access to that one attachment for as long as it is valid, so it is to be treated like a credential. Redeeming it requires the session it was issued for to still exist.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail which contains the attachment.
query string attachment (empty) ID of the attachment to hand out. Either this parameter or `cid` is required. Note that a token issued for `cid` requires the `cid` parameter to be repeated on the download request.
query string cid (empty) The content ID of an inline image to hand out. Either this parameter or `attachment` is required.
query string ttlMillis (empty) Requested lifetime in milliseconds, capped to one hour. A token issued with this parameter elapses after that time, however often it is redeemed. Without it, the token elapses one hour after it was last redeemed.
query long oneTime (empty) Whether the token is invalidated once it has been redeemed. Defaults to `false`, in which case the token can be redeemed repeatedly until it elapses.
query boolean checkIp (empty) Whether the download is restricted to the client address the token was issued for. Defaults to `false`. Only meaningful when the downloading client and the App Suite client share their address.
query boolean checkPart (empty) Whether the existence of the attachment is verified while issuing the token. Defaults to `false`.
query boolean Responses:
200:
'The JSON representation of the issued token. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailTokenResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- id ( string ): The token identifier. Appended to `/ajax/mail.attachment?id=` it forms a URL that hands out the content without a session, until the token elapses or - for a one-time token - until it has been redeemed once.
- jsessionid ( string ): Kept for compatibility; always `null`.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:'Contains the rudimentary mail as JSON object as described in Detailed mail data with just its message body (as html content) defined in nested JSON array `attachments` and its header data (from, to, subject, etc.). The field "content_type" defines whether the mail ought to be sent as plain text ("text/plain"), as html ("text/html") or as multipart/alternative ("ALTERNATIVE"). Sending a mail requires some special fields inside JSON mail object. The field "infostore_ids" defines a JSON array of infostore document ID(s) that ought to be appended to this mail as attachments. The field "msgref" indicates the ID of the referenced original mail. Moreover the field "sendtype" indicates the type of the message:
0 (normal new mail),
1 (a reply mail, field `msgref` must be present),
2 (a forward mail, field `msgref` must be present),
3 (draft edit operation, field `msgref` must be present in order to delete previous draft message since e.g. IMAP does not support changing/replacing a message but requires a delete-and-insert sequence),
4 (transport of a draft mail, field `msgref` must be present),
6 (signals that user intends to send out a saved draft message and expects the draft message (referenced by `msgref` field) being deleted after successful transport).'Content-type: application/json-
MailData
{- nested_msgs ( array[object] ): An array containing additional mails that are attached to this mail.
- security_info ( GuardSecurityInfo ): Information if mail is encrypted or signed. Requires Guard
- security ( GuardSecurityResult ): Information regarding signature verification or decryption type after processed by Guard
- authenticity ( AuthenticationResult ): Informations about the authenticity of the sender domain.
- mail_identity ( string ): The identity of the mail's folder content, e.g. the UIDVALIDITY of an IMAP folder. A re-created folder may hand out the same mail identifiers again, but under another identity. Pass it as parameter `mailIdentity` to `/image/mail/picture`, so that the image URL and its ETag change with it. Only present if known; returned by `action=get`.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
GuardSecurityInfo - Information if mail is encrypted or signed. Requires Guard
{- encrypted ( boolean ): True if the mail is currently encrypted
- signed ( boolean ): True if the email has signatures
-
GuardSecurityResult - Information regarding signature verification or decryption type after processed by Guard
{- decrypted ( boolean ): True if the mail has been decrypted.
- type ( string ): Type of encryption. Currently only PGP supported
- pgpInline ( boolean ): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures ( array[GuardSignatureResult] ): Array of signatures, if any, and the verification status
-
GuardSignatureResult
{- verified ( boolean ): True if the signature was verified and correct
- missing ( boolean ): True if the signature could not be verified due to missing public key
- date ( integer ): Date of the signature in ticks
-
AuthenticationResult - Informations about the authenticity of the sender domain.
{- dmarc ( dmarc ): The DMARC authentication results
- dkim ( dkim ): The DKIM authentication results
- spf ( spf ): The SPF authentication results
- unconsidered_results ( array[object] ): A list of unconsidered results
- image ( string ): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain ( string ): The from domain
-
status
(
string
, possibleValues:
passneutralfailsuspiciousnot-analyzedtrusted
-
dmarc - The DMARC authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
dkim - The DKIM authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
spf - The SPF authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
Responses:
200:
'A JSON object containing the mail path of the saved draft e-mail. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailPathResponse
{- data ( string ): The mail path of the mail, i.e. its folder ID and object ID separated by "/".
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Sends the mail again as it is to the recipients denoted by its headers. If its "From" address does not belong to the user, a "Reply-To" header with the user's address is set.
To process several mails at once, the request carries a JSON array of JSON objects with fields
folderandidas request body (e.g. sent with method PUT) instead of thefolderandidparameters. The response then contains the sent mails as arrays according to thecolumnsparameter, which is required in that case.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail.
query string Idempotency-Key (empty) A key the client generates for this request, e.g. a UUID; see the IETF draft "The Idempotency-Key HTTP Header Field". A retry with the same key does not perform the request again but gets the result of the first one, marked with the response header `Idempotent-Replayed: true`. The result of sending a mail is kept for 7 days. Use the key only for automatic retries of the identical request; use a new key once the request changes, e.g. after the user corrected an input. An error that would recur for the same request (categories USER_INPUT, PERMISSION_DENIED, CONFLICT, TRUNCATED) is kept as result, for at most an hour. A replayed error carries no `Idempotent-Replayed` header. Errors: `IDEM-0001` for a malformed key, `IDEM-0002` while the first request with this key still runs (retry a few seconds later), `IDEM-0003` if the key has been used for another request, `IDEM-0004` if the first request has been performed but its result has not been kept, `IDEM-0008` if a mail is to be sent but the key cannot be checked right now (nothing was sent; retry later). The REST API answers `IDEM-0001` with status `400`, `IDEM-0003` with status `422`, `IDEM-0008` with status `503` and the others with status `409`. For a body sent as upload or raw MIME, only its media type tells requests apart; reusing a key for another such body is not detected.
header string Responses:
200:
A JSON object containing the data of the sent mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailResponse
{- data ( MailData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailData
{- nested_msgs ( array[object] ): An array containing additional mails that are attached to this mail.
- security_info ( GuardSecurityInfo ): Information if mail is encrypted or signed. Requires Guard
- security ( GuardSecurityResult ): Information regarding signature verification or decryption type after processed by Guard
- authenticity ( AuthenticationResult ): Informations about the authenticity of the sender domain.
- mail_identity ( string ): The identity of the mail's folder content, e.g. the UIDVALIDITY of an IMAP folder. A re-created folder may hand out the same mail identifiers again, but under another identity. Pass it as parameter `mailIdentity` to `/image/mail/picture`, so that the image URL and its ETag change with it. Only present if known; returned by `action=get`.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
GuardSecurityInfo - Information if mail is encrypted or signed. Requires Guard
{- encrypted ( boolean ): True if the mail is currently encrypted
- signed ( boolean ): True if the email has signatures
-
GuardSecurityResult - Information regarding signature verification or decryption type after processed by Guard
{- decrypted ( boolean ): True if the mail has been decrypted.
- type ( string ): Type of encryption. Currently only PGP supported
- pgpInline ( boolean ): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures ( array[GuardSignatureResult] ): Array of signatures, if any, and the verification status
-
GuardSignatureResult
{- verified ( boolean ): True if the signature was verified and correct
- missing ( boolean ): True if the signature could not be verified due to missing public key
- date ( integer ): Date of the signature in ticks
-
AuthenticationResult - Informations about the authenticity of the sender domain.
{- dmarc ( dmarc ): The DMARC authentication results
- dkim ( dkim ): The DKIM authentication results
- spf ( spf ): The SPF authentication results
- unconsidered_results ( array[object] ): A list of unconsidered results
- image ( string ): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain ( string ): The from domain
-
status
(
string
, possibleValues:
passneutralfailsuspiciousnot-analyzedtrusted
-
dmarc - The DMARC authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
dkim - The DKIM authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
spf - The SPF authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type harddelete (empty) If `true`, the mails are deleted permanently instead of being moved to the trash folder. If absent or `false`, the user's "hard delete" mail setting applies. Mails in the trash folder or below it are always deleted permanently.
query boolean undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON array with object IDs of the mail folders that shall be cleared.
Content-type: application/json
Responses:
200:
A JSON array with IDs of mail folder that could not be cleared; meaning the response body is an empty JSON array if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailsCleanUpResponse
{- data ( array[string] ): An array with the object IDs of the mail folders that could not be processed.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON object providing the color label arguments
Content-type: application/json-
colorLabelMultipleMailsBody
{- folder ( string , required ): The identifier of the folder.
- ids ( array[string] ): The identifiers of the mails. If absent, all mails of the folder are affected.
- color_label ( integer , required ): The color label to set
Responses:
200:
A JSON object with field `success` set to `true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
Unknown
{- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- data ( data ): No description available
-
data
{- success ( boolean ): Indicates if flags have been set successfully
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested mail that shall be copied.
query string folder (empty) Object ID of the folder who contains the mails.
query string undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON object containing the id of the destination folder.
Content-type: application/json-
MailDestinationBody
{- folder_id ( string ): The object ID of the destination folder.
Responses:
200:
A JSON object containing the object ID and the folder ID of the copied mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationResponse
{- data ( MailDestinationData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailDestinationData
{- folder_id ( string ): Object ID of the destination folder.
- id ( string ): Object ID of the "new" mail.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON object providing the copy arguments
Content-type: application/json-
copyMultipleMailsBody
{- source ( string ): The identifier of the source folder. May also be given as field `from`.
- target ( string ): The identifier of the target folder. May also be given as field `to`.
- ids ( array[string] ): The identifiers of the mails. If absent, all mails of the source folder are copied.
Responses:
200:
A JSON object containing the object IDs and the folder IDs of the copied mails; an element is `null` if no ID is known for the copy. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
Unknown
{- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- data ( array[object] ): No description available
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string Responses:
200:
'A JSON object containing an integer value representing the folder's mail count. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailCountResponse
{- data ( integer ): The folder's mail count.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type harddelete (empty) Flag to hard delete the messages, meaning not to create a backup copy of each message in default trash if set to `true`. If absent or `false`, the user's "hard delete" mail setting applies.
query boolean returnAffectedFolders (empty) Flag to return the mail counts of the affected folders as described below. If absent or set to `false` just an empty JSON Array is returned.
query boolean undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the mails.
Content-type: application/json-
MailListElement
{- id ( string , required ): The object ID of the mail.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
An empty JSON array, or the mail counts of the affected folders if `returnAffectedFolders=true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDeleteResponse
{- data ( any ): An empty JSON array, or if `returnAffectedFolders=true` a JSON object with field `conflicts` (an empty JSON array) and field `folders`, a JSON object mapping the ID of each affected folder to a JSON object with its `total` and `unread` mail counts.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Saves the mail as draft into the drafts folder of the account its "From" address belongs to, or of the primary account if that one has no drafts folder. The mail's JSON object MUST carry the
\Draftflag in field "flags". A request without upload form is rejected as unknown action.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Body:
Description:No description available
Content-type: multipart/form-data-
saveDraftWithUploadsBody
{- json_0 ( string , required ): The mail as JSON object as described in Detailed mail data. Further form fields denote files to append as attachments.
Responses:
200:
A HTML page containing the mail path (`
/ `) of the saved draft, or in case of errors an error object (see File uploads as an example). Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
GET /mail?action=emlToken Issues a token to download a whole message as .eml file without a session.
Hands out a token that allows to download a complete message in MIME format through
/ajax/mail.attachment?id=<token>without a session and without cookies, e.g. when the message is dropped onto software outside App Suite. The downloaded file carries all headers and every attachment of the message, so the resulting URL is to be treated like a credential for that message.The download is answered as
application/octet-streamwith a file name derived from the message's subject. It is streamed, hence it carries no content length and byte ranges are not served - a range request is answered in full. Redeeming the token requires the session it was issued for to still exist.The token's lifetime is fixed: it starts when the token is issued and is not extended by accessing it. Only the start of the download has to fall into that window; a running download is not cut off. The default lifetime is configured through
com.openexchange.mail.emlToken.ttl. Messages larger thancom.openexchange.mail.emlToken.maxMessageSizeare refused.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail to hand out.
query string ttlMillis (empty) Requested lifetime in milliseconds. A value shorter than the configured default shortens the token's lifetime; a longer one is capped to the configured default.
query long oneTime (empty) Whether the token is invalidated once it has been redeemed. Defaults to `false`, in which case the token can be redeemed repeatedly until it elapses.
query boolean checkIp (empty) Whether the download is restricted to the client address the token was issued for. Defaults to `false`. Only meaningful when the downloading client and the App Suite client share their address.
query boolean Responses:
200:
'The JSON representation of the issued token. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailTokenResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- id ( string ): The token identifier. Appended to `/ajax/mail.attachment?id=` it forms a URL that hands out the content without a session, until the token elapses or - for a one-time token - until it has been redeemed once.
- jsessionid ( string ): Kept for compatibility; always `null`.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The identifier of the folder to provide the status information for
query string Responses:
200:
'The JSON representation for the status information. The request fails if the mail storage does not provide folder status information. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
ExamineResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- validity ( string ): The folder validity string.
- modseq ( string ): The folder modification sequence, or `null` if not available.
- total ( integer ): The number of total messages.
- unread ( integer ): The number of unread messages.
- next ( string ): The expected next identifier.
- token ( string ): The synchronization token for `action=sync`, or `null` if none can be derived.
401:
No description available
403:
No description available
-
-
Exports the mail as PDF file into a drive folder. Requires the capability
mail_export_pdf.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Folder ID of the mail folder which contains the mail.
query string id (empty) Mail ID of the mail which should be exported as pdf.
query string allow_enqueue (empty) Flag to determine if the query should be enqueueble.
query boolean decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Body:
Description:A JSON object containing the id of the destination folder.
Content-type: application/json-
DestinationBody
{- folder_id ( string , required ): The object ID of the destination folder.
- appendAttachmentPreviews ( boolean ): Whether previews of convertible non-inline attachments shall be appended as content in the PDF. Default is false.
- embedNonConvertibleAttachments ( boolean ): Whether non-convertible non-inline attachments shall be included in the PDF as embedded attachments. Default is false.
- embedAttachmentPreviews ( boolean ): Whether previews of convertible non-inline attachments shall be included as embedded attachments in the PDF. Default is false.
- embedRawAttachments ( boolean ): Whether convertible non-inline attachments shall be included as embedded attachments in the PDF. Default is false.
- preferRichText ( boolean ): Whether the rich text (i.e. the HTML) version of an e-mail shall be preferred for exporting. Default is false.
- pageFormat ( string ): Sets the page format for the export. If absent, the page format is "letter" for users with a US or Canadian locale and the default page format otherwise.
- includeExternalImages ( boolean ): Whether external images embedded in the html body shall be included in the PDF. If absent, the html body is taken as it is.
Responses:
200:
A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ExportPDFResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- id ( string ): The file id of the exported PDF
- warnings ( array[object] ): An array of warnings
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type harddelete (empty) Flag to hard delete the messages, meaning not to create a backup copy of each message in default trash if set to `true`. If absent or `false`, the user's "hard delete" mail setting applies.
query boolean pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON array with object IDs of mail folders.
Content-type: application/json
Responses:
200:
A JSON object with an array of the IDs of the mail folders that could not be expunged; the array is empty if everything worked well. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailsCleanUpResponse
{- data ( array[string] ): An array with the object IDs of the mail folders that could not be processed.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON object providing the flag arguments
Content-type: application/json-
flagMultipleMailsBody
{- folder ( string , required ): The identifier of the folder.
- ids ( array[string] ): The identifiers of the mails. If absent, all mails of the folder are affected.
- set_flags ( integer ): The bitmask of the system flags to set
- clear_flags ( integer ): The bitmask of the system flags to unset/clear
- set_user_flags ( array[string] ): The user flags to set
- clear_user_flags ( array[string] ): The user flags to unset/clear
Responses:
200:
A JSON object with field `success` set to `true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
Unknown
{- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- data ( data ): No description available
-
data
{- success ( boolean ): Indicates if flags have been set successfully
401:
No description available
403:
No description available
-
-
Returns the data for the message that shall be forwarded. To forward several messages at once, the request carries a JSON array of objects with fields
folderandidas request body (e.g. sent with method PUT) instead of thefolderandidparameters.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested message.
query string view Content 'text' forces the server to deliver a text-only version of the requested mail's body, even if content is HTML. 'html' to allow a possible HTML mail body being transferred as it is (but white-list filter applied). 'noimg' like 'html' but with external images blocked. 'raw' delivers the body as it is; 'document' delivers it as a document. NOTE: if set, the corresponding gui config setting will be ignored.
query string dropPrefix (empty) `true` to omit the "Re: "/"Fwd: " prefix in the subject.
query boolean attachOriginalMessage (empty) `true` to attach the original message.
query boolean setFrom (empty) A flag (`true`/`false`) that signals if "From" header shall be pre-selected according to the account of the folder containing the message.
query boolean max_size (empty) A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used.
query integer decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Responses:
200:
A JSON object containing all data of the requested mail. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailReplyResponse
{- data ( MailReplyData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailReplyData
{- msgref ( string ): Indicates the ID of the referenced original mail.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested mail (can be substituded by `message_id` parameter).
query string message_id (empty) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.
query string edit (empty) 1 indicates that this request should fill the message compose dialog to edit a message and thus display-specific date is going to be withheld.
query integer view "Specifies the view of the mail's body: raw (returns the content as it is, meaning no preparation are performed and thus no guarantee for safe contents is given), text ( forces the server to deliver a text-only version of the requested mail's body, even if content is HTML), textNoHtmlAttach (is the same as 'text', but does not deliver the HTML part as attachment in case of multipart/alternative content), html (to allow a possible HTML mail body being transferred as it is (but white-list filter applied)), noimg (to allow a possible HTML content being transferred but without original image src attributes which references external images; can be used to prevent loading external linked images (spam privacy protection)). document (to have a inline HTML representation of message's content in a separate window) **If set, the corresponding gui config setting will be ignored.**"
query string forceImages (empty) Use `true` to enforce that images are allowed in HTML content. Only applicable in case `view` parameter is `document`
query boolean unseen (empty) Use `true` to leave an unseen mail as unseen although its content is requested.
query boolean max_size (empty) A positive integer number to specify how many characters of the message content will be returned. For `view=raw` the content is hard-truncated at that number of characters and the `truncated` field of the affected body part is set to `true`; unless disabled through `com.openexchange.mail.wellFormedHtmlTruncateOnRaw`, HTML content is truncated markup-aware (the cut never splits a tag, comment or character entity and elements left open by the cut are closed, which may let the returned markup slightly exceed the limit by the appended closing tags). For all other views a number smaller than 10000 will be ignored and 10000 used.
query integer attach_src (empty) 1 to let the JSON mail representation being extended by "source" field containing the mail raw RFC822 source data.
query integer estimate_length (empty) If set to "true" the "size" field for mail attachments is adjusted by applying an estimation based on attachment's Content-Transfer-Encoding header
query boolean pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all file attachments of the referenced mail message
query boolean no_nested_message (empty) If set to "true" nested messages are handled as regular attachments
query boolean exact_length (empty) If set to "true" the "size" field for mail attachments carries the exact size; takes precedence over `estimate_length`.
query boolean allow_nested_messages (empty) A value of "false" leads to light-weight JSON objects for nested messages containing only the "id" field
query boolean includePlainText (empty) If set to "true" the plain-text version of the content is additionally provided in field "plain_text".
query boolean ignorable (empty) A comma-separated list of content types of parts to omit from the JSON representation, e.g. "text/calendar"; "ics" stands for iCalendar content.
query string timezone (empty) The time zone to render dates in. If absent, the user's time zone is used.
query string replace_external_images (empty) Controls whether external images referenced in HTML content are routed through the image proxy. If set to "true" external images are proxied, if set to "false" they are not. If omitted, the configured default (`com.openexchange.mail.proxyExternalImageUrls`) applies.
query boolean sanitize_css (empty) Controls whether CSS content in HTML mails is sanitized against the white-list. If set to "true" CSS is sanitized, if set to "false" CSS is passed through unfiltered. If omitted, CSS is sanitized.
query boolean decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Responses:
200:
A JSON object containing all data of the requested mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailResponse
{- data ( MailData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailData
{- nested_msgs ( array[object] ): An array containing additional mails that are attached to this mail.
- security_info ( GuardSecurityInfo ): Information if mail is encrypted or signed. Requires Guard
- security ( GuardSecurityResult ): Information regarding signature verification or decryption type after processed by Guard
- authenticity ( AuthenticationResult ): Informations about the authenticity of the sender domain.
- mail_identity ( string ): The identity of the mail's folder content, e.g. the UIDVALIDITY of an IMAP folder. A re-created folder may hand out the same mail identifiers again, but under another identity. Pass it as parameter `mailIdentity` to `/image/mail/picture`, so that the image URL and its ETag change with it. Only present if known; returned by `action=get`.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
GuardSecurityInfo - Information if mail is encrypted or signed. Requires Guard
{- encrypted ( boolean ): True if the mail is currently encrypted
- signed ( boolean ): True if the email has signatures
-
GuardSecurityResult - Information regarding signature verification or decryption type after processed by Guard
{- decrypted ( boolean ): True if the mail has been decrypted.
- type ( string ): Type of encryption. Currently only PGP supported
- pgpInline ( boolean ): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures ( array[GuardSignatureResult] ): Array of signatures, if any, and the verification status
-
GuardSignatureResult
{- verified ( boolean ): True if the signature was verified and correct
- missing ( boolean ): True if the signature could not be verified due to missing public key
- date ( integer ): Date of the signature in ticks
-
AuthenticationResult - Informations about the authenticity of the sender domain.
{- dmarc ( dmarc ): The DMARC authentication results
- dkim ( dkim ): The DKIM authentication results
- spf ( spf ): The SPF authentication results
- unconsidered_results ( array[object] ): A list of unconsidered results
- image ( string ): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain ( string ): The from domain
-
status
(
string
, possibleValues:
passneutralfailsuspiciousnot-analyzedtrusted
-
dmarc - The DMARC authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
dkim - The DKIM authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
spf - The SPF authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Note
By setting the query parameter
hdrto 1 the response type of the request action changes. Then it is returned a JSON object with the fielddatacontaining the (formatted) message headers as plain text. The parameters below specify the ones that have an effect on the request.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested mail (can be substituded by `message_id` parameter).
query string message_id (empty) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.
query string unseen (empty) Use `true` to leave an unseen mail as unseen although its content is requested.
query boolean Responses:
200:
A JSON object containing the message headers as plain text. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailHeadersResponse
{- data ( string ): The (formatted) message headers as plain text.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Note
By setting the query parameter
srcto 1 the response type of the request action changes. Then it is returned a JSON object with the fielddatacontaining the complete message source as plain text. The parameters below specify the ones that have an effect on the request.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested mail (can be substituded by `message_id` parameter).
query string message_id (empty) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.
query string unseen (empty) Use `true` to leave an unseen mail as unseen although its content is requested.
query boolean save (empty) 1 to write the complete message source to output stream. **NOTE:** This parameter will only be used if parameter `src` is set to 1.
query integer delivery (empty) The value "download" has the same effect as `save=1`.
query string ignorable (empty) A comma-separated list of content types of parts to omit from the message source, e.g. "text/calendar"; "ics" stands for iCalendar content.
query string scan (empty) Flag to request an Anti-Virus scan of the message source before it is returned.
query boolean Responses:
200:
A JSON object containing the complete message source as plain text, or the raw message source as `application/octet-stream` download if `save=1`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailSourceResponse
{- data ( string ): The complete message source as plain text.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Resolves a single mail via the globally unique identifier (GUID) advertised by the underlying mail backend (e.g. Dovecot's
X-GUIDattribute). The backend must report the GUID capability (seeMailCapabilities.isDovecotServer()); otherwise the request fails with anUNSUPPORTED_OPERATIONerror. If the optionalfolderparameter is omitted, the look-up is performed against the virtual "all messages" mailbox configured via propertycom.openexchange.find.basic.mail.allMessagesFolder. When that property is empty no cross-folder look-up is possible and the request fails withUNSUPPORTED_OPERATION.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type guid (empty) The globally unique identifier as advertised by the mail backend (e.g. Dovecot `X-GUID`).
query string folder (empty) Optional folder identifier to scope the look-up to. If omitted the look-up runs against the virtual "all messages" mailbox configured via property `com.openexchange.find.basic.mail.allMessagesFolder`.
query string Responses:
200:
A JSON object containing all data of the requested mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailResponse
{- data ( MailData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailData
{- nested_msgs ( array[object] ): An array containing additional mails that are attached to this mail.
- security_info ( GuardSecurityInfo ): Information if mail is encrypted or signed. Requires Guard
- security ( GuardSecurityResult ): Information regarding signature verification or decryption type after processed by Guard
- authenticity ( AuthenticationResult ): Informations about the authenticity of the sender domain.
- mail_identity ( string ): The identity of the mail's folder content, e.g. the UIDVALIDITY of an IMAP folder. A re-created folder may hand out the same mail identifiers again, but under another identity. Pass it as parameter `mailIdentity` to `/image/mail/picture`, so that the image URL and its ETag change with it. Only present if known; returned by `action=get`.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
GuardSecurityInfo - Information if mail is encrypted or signed. Requires Guard
{- encrypted ( boolean ): True if the mail is currently encrypted
- signed ( boolean ): True if the email has signatures
-
GuardSecurityResult - Information regarding signature verification or decryption type after processed by Guard
{- decrypted ( boolean ): True if the mail has been decrypted.
- type ( string ): Type of encryption. Currently only PGP supported
- pgpInline ( boolean ): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures ( array[GuardSignatureResult] ): Array of signatures, if any, and the verification status
-
GuardSignatureResult
{- verified ( boolean ): True if the signature was verified and correct
- missing ( boolean ): True if the signature could not be verified due to missing public key
- date ( integer ): Date of the signature in ticks
-
AuthenticationResult - Informations about the authenticity of the sender domain.
{- dmarc ( dmarc ): The DMARC authentication results
- dkim ( dkim ): The DKIM authentication results
- spf ( spf ): The SPF authentication results
- unconsidered_results ( array[object] ): A list of unconsidered results
- image ( string ): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain ( string ): The from domain
-
status
(
string
, possibleValues:
passneutralfailsuspiciousnot-analyzedtrusted
-
dmarc - The DMARC authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
dkim - The DKIM authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
spf - The SPF authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
GET /mail?action=get_ref Loads a mail that resides outside the mail store (query-parameter variant).
Query-parameter variant of
PUT /mail?action=get_ref. The reference is supplied as a singlerefquery parameter carrying the URL-encoded JSON reference object (see schemaMailReferenceBody).Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type ref (empty) The reference as a URL-encoded JSON object (see schema `MailReferenceBody`).
query string Responses:
200:
A JSON object containing all data of the referenced mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailResponse
{- data ( MailData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailData
{- nested_msgs ( array[object] ): An array containing additional mails that are attached to this mail.
- security_info ( GuardSecurityInfo ): Information if mail is encrypted or signed. Requires Guard
- security ( GuardSecurityResult ): Information regarding signature verification or decryption type after processed by Guard
- authenticity ( AuthenticationResult ): Informations about the authenticity of the sender domain.
- mail_identity ( string ): The identity of the mail's folder content, e.g. the UIDVALIDITY of an IMAP folder. A re-created folder may hand out the same mail identifiers again, but under another identity. Pass it as parameter `mailIdentity` to `/image/mail/picture`, so that the image URL and its ETag change with it. Only present if known; returned by `action=get`.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
GuardSecurityInfo - Information if mail is encrypted or signed. Requires Guard
{- encrypted ( boolean ): True if the mail is currently encrypted
- signed ( boolean ): True if the email has signatures
-
GuardSecurityResult - Information regarding signature verification or decryption type after processed by Guard
{- decrypted ( boolean ): True if the mail has been decrypted.
- type ( string ): Type of encryption. Currently only PGP supported
- pgpInline ( boolean ): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures ( array[GuardSignatureResult] ): Array of signatures, if any, and the verification status
-
GuardSignatureResult
{- verified ( boolean ): True if the signature was verified and correct
- missing ( boolean ): True if the signature could not be verified due to missing public key
- date ( integer ): Date of the signature in ticks
-
AuthenticationResult - Informations about the authenticity of the sender domain.
{- dmarc ( dmarc ): The DMARC authentication results
- dkim ( dkim ): The DKIM authentication results
- spf ( spf ): The SPF authentication results
- unconsidered_results ( array[object] ): A list of unconsidered results
- image ( string ): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain ( string ): The from domain
-
status
(
string
, possibleValues:
passneutralfailsuspiciousnot-analyzedtrusted
-
dmarc - The DMARC authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
dkim - The DKIM authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
spf - The SPF authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Loads and renders a mail that is not stored in a mailbox but referenced as an attachment of a PIM object (calendar event, contact, task) or as an Infostore file, and returns it like a regular
action=getrequest. The referenced item is expected to be an RFC822 message (e.g. an.emlfile); otherwise the request fails with aNOT_A_MAILerror.The reference may be supplied either as the JSON request body described here or, alternatively, as flat query parameters (see the
GETvariant of this operation).Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Body:
Description:No description available
Content-type: application/json-
MailReferenceBody - Locates a mail that resides outside the mail store. The `type` slot selects the responsible provider; the remaining slots are interpreted per type.
{-
type
(
string
,
required
, possibleValues:
calendarcontactstasksinfostore
- folder ( string ): Folder identifier (calendar/contacts/tasks).
- object ( string ): Object identifier - the event/contact/task identifier, or the file identifier for `infostore` (where the file itself is the mail).
- attachment ( string ): Attachment reference - the managed identifier (calendar) or the attachment identifier (contacts/tasks).
- version ( string ): File version (only `infostore`; defaults to the current version).
- sequenceId ( string ): Sequence identifier of the desired sub-part. Only evaluated by `action=get_ref_attachment`.
-
type
(
string
,
required
, possibleValues:
Responses:
200:
A JSON object containing all data of the referenced mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailResponse
{- data ( MailData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailData
{- nested_msgs ( array[object] ): An array containing additional mails that are attached to this mail.
- security_info ( GuardSecurityInfo ): Information if mail is encrypted or signed. Requires Guard
- security ( GuardSecurityResult ): Information regarding signature verification or decryption type after processed by Guard
- authenticity ( AuthenticationResult ): Informations about the authenticity of the sender domain.
- mail_identity ( string ): The identity of the mail's folder content, e.g. the UIDVALIDITY of an IMAP folder. A re-created folder may hand out the same mail identifiers again, but under another identity. Pass it as parameter `mailIdentity` to `/image/mail/picture`, so that the image URL and its ETag change with it. Only present if known; returned by `action=get`.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
GuardSecurityInfo - Information if mail is encrypted or signed. Requires Guard
{- encrypted ( boolean ): True if the mail is currently encrypted
- signed ( boolean ): True if the email has signatures
-
GuardSecurityResult - Information regarding signature verification or decryption type after processed by Guard
{- decrypted ( boolean ): True if the mail has been decrypted.
- type ( string ): Type of encryption. Currently only PGP supported
- pgpInline ( boolean ): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures ( array[GuardSignatureResult] ): Array of signatures, if any, and the verification status
-
GuardSignatureResult
{- verified ( boolean ): True if the signature was verified and correct
- missing ( boolean ): True if the signature could not be verified due to missing public key
- date ( integer ): Date of the signature in ticks
-
AuthenticationResult - Informations about the authenticity of the sender domain.
{- dmarc ( dmarc ): The DMARC authentication results
- dkim ( dkim ): The DKIM authentication results
- spf ( spf ): The SPF authentication results
- unconsidered_results ( array[object] ): A list of unconsidered results
- image ( string ): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain ( string ): The from domain
-
status
(
string
, possibleValues:
passneutralfailsuspiciousnot-analyzedtrusted
-
dmarc - The DMARC authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
dkim - The DKIM authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
spf - The SPF authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Query-parameter variant of
PUT /mail?action=get_ref_attachment, suitable for direct download links. The reference is supplied as a singlerefquery parameter carrying the URL-encoded JSON reference object (see schemaMailReferenceBody);sequenceIdselects the sub-part.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type ref (empty) The reference as a URL-encoded JSON object (see schema `MailReferenceBody`).
query string sequenceId (empty) Sequence identifier of the desired sub-part within the referenced mail.
query string delivery (empty) "download" forces the download dialog; "view" delivers the sub-part inline.
query string Responses:
200:
The raw byte data of the sub-part. The response content type is set according to the sub-part's MIME type.
Content-type: application/json-
Unknown
401:
No description available
403:
No description available
-
-
Streams a binary attachment (sub-part) of a mail that is not stored in a mailbox but referenced as an attachment of a PIM object (calendar event, contact, task) or as an Infostore file, analogous to
action=attachment. The referenced item is expected to be an RFC822 message; otherwise the request fails with aNOT_A_MAILerror.The reference and the
sequenceIdof the desired sub-part may be supplied either as the JSON request body described here or as flat query parameters (see theGETvariant).Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type delivery (empty) "download" forces the download dialog; "view" delivers the sub-part inline.
query string Body:
Description:No description available
Content-type: application/json-
MailReferenceBody - Locates a mail that resides outside the mail store. The `type` slot selects the responsible provider; the remaining slots are interpreted per type.
{-
type
(
string
,
required
, possibleValues:
calendarcontactstasksinfostore
- folder ( string ): Folder identifier (calendar/contacts/tasks).
- object ( string ): Object identifier - the event/contact/task identifier, or the file identifier for `infostore` (where the file itself is the mail).
- attachment ( string ): Attachment reference - the managed identifier (calendar) or the attachment identifier (contacts/tasks).
- version ( string ): File version (only `infostore`; defaults to the current version).
- sequenceId ( string ): Sequence identifier of the desired sub-part. Only evaluated by `action=get_ref_attachment`.
-
type
(
string
,
required
, possibleValues:
Responses:
200:
The raw byte data of the sub-part. The response content type is set according to the sub-part's MIME type.
Content-type: application/json-
Unknown
401:
No description available
403:
No description available
-
-
Returns the complete MIME structure of a mail as JSON object, with the content of each part embedded. The structure can be passed to
action=transport.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested mail (can be substituted by `message_id` parameter).
query string message_id (empty) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.
query string unseen (empty) Use `true` to leave an unseen mail as unseen although its content is requested.
query boolean max_size (empty) A positive integer number to limit the size of the embedded part contents.
query long scan (empty) Flag to request an Anti-Virus scan of the mail before it is returned.
query boolean decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Responses:
200:
A JSON object containing the MIME structure of the mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailStructureResponse
{- data ( data ): The MIME structure of the mail; each part carries its headers and its content.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
This request can be used to store a single or a lot of mails in the OX mail storage backend. This action should be used instead of /mail?action=new because it is faster and tolerant to 8-bit encoded emails.
To import multiple mails add further form-data fields.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The ID of the folder into that the emails should be imported.
query string flags (empty) In case the mail should be stored with status "read" (e.g. mail has been read already in the client inbox), the parameter "flags" has to be included. For information about mail flags see Detailed mail data.
query integer force (empty) If this parameter is set to `true`, the server skips checking the valid from address.
query boolean preserveReceivedDate (empty) If set to `true`, the received date of an imported mail is taken from its "Received" headers instead of the time of the import.
query boolean strictParsing (empty) If set to `true`, each file is validated to be an RFC822 message before it is imported.
query boolean pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:No description available
Content-type: multipart/form-data
Responses:
200:
A JSON object containing an array of JSON objects each with the folder identifier and the object ID of the imported mail(s). In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailImportResponse
{- data ( array[MailDestinationData] ): An array of JSON objects each describing the folder ID and object ID of one imported mail. For a mail that could not be imported, the object carries the fields `Filename` and `Error` instead of the object ID.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailDestinationData
{- folder_id ( string ): Object ID of the destination folder.
- id ( string ): Object ID of the "new" mail.
401:
No description available
403:
No description available
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data. The values "all" and "list" select predefined column sets.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the requested mails.
Content-type: application/json-
MailListElement
{- id ( string , required ): The object ID of the mail.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
'A JSON object containing an array with mail data. Mails are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailsResponse
{- data ( array[array[object]] ): Array of mails. Each mail is described as an array itself.
- cache ( boolean ): If present and set to true, that parameter signals that response has been fetched from cache
- more ( integer ): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON object providing the move arguments
Content-type: application/json-
moveMailsBody
{- source ( string ): The identifier of the source folder. May also be given as field `from`.
- target ( string ): The identifier of the target folder. May also be given as field `to`.
- ids ( array[string] ): The identifiers of the mails. If absent, all mails of the source folder are moved.
Responses:
200:
A JSON object containing the object IDs and the folder IDs of the moved mails. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
Unknown
{- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- data ( array[object] ): No description available
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON object providing the identifiers of the source and target folder.
Content-type: application/json-
MailMoveAllBody
{- source ( string ): The identifier of the source folder. May also be given as field `from`.
- target ( string ): The identifier of the target folder. May also be given as field `to`.
Responses:
200:
A JSON object with field `folders` containing an entry for each affected folder. Each entry in turn references a JSON object providing "total" and "unread" fields, which given the total number of mails and the number of unread mails in the folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailMoveAllResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- folders ( folders ): Maps the ID of each affected folder to its mail counts.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) In case the mail should not be sent out, but saved in a specific folder, the "folder" parameter can be used. If the mail should be sent out to the recipient, the "folder" parameter must not be included and the mail is stored in the folder "Sent Items".
query string flags (empty) The system flags as bit mask (see Mail data model), e.g. to store the mail with status "read". Applied to the mail stored in `folder`, or to the copy in the sent folder if no `folder` is specified.
query integer force (empty) `true` to skip checking that the mail's "From" address belongs to the user; only applies if `folder` is specified.
query boolean new (empty) `true` to drop the mail's existing Message-ID so that a new one is generated.
query boolean pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Idempotency-Key (empty) A key the client generates for this request, e.g. a UUID; see the IETF draft "The Idempotency-Key HTTP Header Field". A retry with the same key does not perform the request again but gets the result of the first one, marked with the response header `Idempotent-Replayed: true`. The result of sending a mail is kept for 7 days. Use the key only for automatic retries of the identical request; use a new key once the request changes, e.g. after the user corrected an input. An error that would recur for the same request (categories USER_INPUT, PERMISSION_DENIED, CONFLICT, TRUNCATED) is kept as result, for at most an hour. A replayed error carries no `Idempotent-Replayed` header. Errors: `IDEM-0001` for a malformed key, `IDEM-0002` while the first request with this key still runs (retry a few seconds later), `IDEM-0003` if the key has been used for another request, `IDEM-0004` if the first request has been performed but its result has not been kept, `IDEM-0008` if a mail is to be sent but the key cannot be checked right now (nothing was sent; retry later). The REST API answers `IDEM-0001` with status `400`, `IDEM-0003` with status `422`, `IDEM-0008` with status `503` and the others with status `409`. For a body sent as upload or raw MIME, only its media type tells requests apart; reusing a key for another such body is not detected.
header string Body:
Description:The mail as MIME data block
Content-type: application/octet-stream-
Unknown
Responses:
200:
A JSON object containing the folder ID and the object ID of the mail stored in `folder` or of its copy in the sent folder; an empty object if no copy was stored. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationResponse
{- data ( MailDestinationData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailDestinationData
{- folder_id ( string ): Object ID of the destination folder.
- id ( string ): Object ID of the "new" mail.
401:
No description available
403:
No description available
-
-
The request accepts file fields in upload form that denote referenced files that are going to be appended as attachments. For "text/plain" mail bodies, the JSON boolean field "raw" may be specified inside the body's JSON representation to signal that the text content shall be kept as-is; meaning to keep all formatting intact.
The client message identifier may also be given as field
clientMessageIdof the mail's JSON object. A mail that has been sent before with the same identifier is not sent again; the response then carries the fieldduplicatewith valuetrue.A mail with the
\Draftflag (field "flags" of the mail's JSON object) is saved as draft instead of being sent.Without upload form (no form field
json_0), the request is handled like the PUT request and expects the mail as MIME data block.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) If set, the mail is not sent to its recipients but stored in this folder and marked as seen; the response then carries the folder ID and the object ID of the stored mail.
query string plainJson (empty) `true` to get a plain JSON response instead of the HTML callback page. The response data is then the mail path of the sent mail's copy in the sent folder or of the saved draft as JSON object with fields `folder_id` and `id`.
query boolean copy2Sent (empty) Whether a copy of the sent mail is stored in the sent folder, overriding the user's setting. Also accepted as field `copy2Sent` of the mail's JSON object, which takes precedence.
query boolean deleteDraftOnTransport (empty) `true` to delete the referenced draft after the mail has been sent; only applies to mails with send type 4 (draft transport). Also accepted as field `deleteDraftOnTransport` of the mail's JSON object, which takes precedence.
query boolean new (empty) `true` to drop the mail's existing Message-ID so that a new one is generated.
query boolean lineWrapAfter (empty) An integer value specifying the line-wrap setting (only effective for plain-text content); if absent the setting is taken from user's mail settings.
query integer pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Idempotency-Key (empty) A key the client generates for this request, e.g. a UUID; see the IETF draft "The Idempotency-Key HTTP Header Field". A retry with the same key does not perform the request again but gets the result of the first one, marked with the response header `Idempotent-Replayed: true`. The result of sending a mail is kept for 7 days. Use the key only for automatic retries of the identical request; use a new key once the request changes, e.g. after the user corrected an input. An error that would recur for the same request (categories USER_INPUT, PERMISSION_DENIED, CONFLICT, TRUNCATED) is kept as result, for at most an hour. A replayed error carries no `Idempotent-Replayed` header. Errors: `IDEM-0001` for a malformed key, `IDEM-0002` while the first request with this key still runs (retry a few seconds later), `IDEM-0003` if the key has been used for another request, `IDEM-0004` if the first request has been performed but its result has not been kept, `IDEM-0008` if a mail is to be sent but the key cannot be checked right now (nothing was sent; retry later). The REST API answers `IDEM-0001` with status `400`, `IDEM-0003` with status `422`, `IDEM-0008` with status `503` and the others with status `409`. For a body sent as upload or raw MIME, only its media type tells requests apart; reusing a key for another such body is not detected.
header string clientMessageId (empty) A UUID the client picks for a mail when the user starts writing it; a new one for every mail, also for a mail written as copy of another. The `Message-ID` header of the mail is built from it, and the mail is sent at most once: a later send with the same value is not performed but answered with the result of the first one and the response field `duplicate` set to `true`. Remembered for 30 days. While the same mail is being sent, a send gets error `IDEM-0005`; if the identifier cannot be checked right now, the mail is not sent and the send gets error `IDEM-0008`.
query string Body:
Description:No description available
Content-type: multipart/form-data-
sendMailBody
{-
json_0
(
string
,
required
):
'Contains the rudimentary mail as JSON object as described in Detailed mail data with just its message body
(as html content) defined in nested JSON array `attachments` and its header data (from, to,
subject, etc.). The field "content_type" defines whether the mail ought to be sent as plain text
("text/plain"), as html ("text/html") or as multipart/alternative ("ALTERNATIVE"). Sending a mail
requires some special fields inside JSON mail object. The field "infostore_ids" defines a JSON
array of infostore document ID(s) that ought to be appended to this mail as attachments. The field
"msgref" indicates the ID of the referenced original mail. Moreover the field "sendtype" indicates
the type of the message:
0 (normal new mail),
1 (a reply mail, field `msgref` must be present),
2 (a forward mail, field `msgref` must be present),
3 (draft edit operation, field `msgref` must be present in order to delete previous draft message since e.g. IMAP does not support changing/replacing a message but requires a delete-and-insert sequence),
4 (transport of a draft mail, field `msgref` must be present),
6 (signals that user intends to send out a saved draft message and expects the draft message (referenced by `msgref` field) being deleted after successful transport).'
-
json_0
(
string
,
required
):
'Contains the rudimentary mail as JSON object as described in Detailed mail data with just its message body
(as html content) defined in nested JSON array `attachments` and its header data (from, to,
subject, etc.). The field "content_type" defines whether the mail ought to be sent as plain text
("text/plain"), as html ("text/html") or as multipart/alternative ("ALTERNATIVE"). Sending a mail
requires some special fields inside JSON mail object. The field "infostore_ids" defines a JSON
array of infostore document ID(s) that ought to be appended to this mail as attachments. The field
"msgref" indicates the ID of the referenced original mail. Moreover the field "sendtype" indicates
the type of the message:
Responses:
200:
A HTML page containing the mail path (`
/ `) of the sent mail's copy in the sent folder or of the saved draft, or in case of errors an error object (see File uploads as an example). The data is `null` if no copy was stored. With `plainJson=true` the response is a JSON object instead. Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
This delivery receipt only acknowledges that the message could be receipted on the recipients computer.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Body:
Description:A JSON object containing the information of a mail for which a delivery receipt shall be requested.
Content-type: application/json-
MailAckBody
{- from ( string ): The optional from email address to send the receipt from.
- folder ( string , required ): The ID of the folder where the mail is placed.
- id ( string , required ): The ID of the mail.
Responses:
200:
A JSON object with an empty data field if everything went well or a JSON object containing the error information. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAckResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Returns the data for the message that shall be replied.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested message.
query string view Content 'text' forces the server to deliver a text-only version of the requested mail's body, even if content is HTML. 'html' to allow a possible HTML mail body being transferred as it is (but white-list filter applied). 'noimg' like 'html' but with external images blocked. 'raw' delivers the body as it is; 'document' delivers it as a document. NOTE: if set, the corresponding gui config setting will be ignored.
query string setFrom (empty) A flag (`true`/`false`) that signals if "From" header shall be pre-selected according to a suitable recipient address that matches one of user's E-Mail address aliases.
query boolean dropPrefix (empty) `true` to omit the "Re: "/"Fwd: " prefix in the subject.
query boolean attachOriginalMessage (empty) `true` to attach the original message.
query boolean max_size (empty) A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used.
query integer decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Responses:
200:
A JSON object containing all data of the requested mail. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailReplyResponse
{- data ( MailReplyData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailReplyData
{- msgref ( string ): Indicates the ID of the referenced original mail.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Returns the data for the message that shall be replied.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested message.
query string view Content 'text' forces the server to deliver a text-only version of the requested mail's body, even if content is HTML. 'html' to allow a possible HTML mail body being transferred as it is (but white-list filter applied). 'noimg' like 'html' but with external images blocked. 'raw' delivers the body as it is; 'document' delivers it as a document. NOTE: if set, the corresponding gui config setting will be ignored.
query string setFrom (empty) A flag (`true`/`false`) that signals if "From" header shall be pre-selected according to a suitable recipient address that matches one of user's email address aliases.
query boolean dropPrefix (empty) `true` to omit the "Re: "/"Fwd: " prefix in the subject.
query boolean attachOriginalMessage (empty) `true` to attach the original message.
query boolean max_size (empty) A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used.
query integer decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Responses:
200:
A JSON object containing all data of the requested mail. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailReplyResponse
{- data ( MailReplyData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailReplyData
{- msgref ( string ): Indicates the ID of the referenced original mail.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Sends a mail of the sent folder again as it is to the recipients denoted by its headers. Only mails of the sent folder are accepted, and their sending addresses MUST belong to the user.
To process several mails at once, the request carries a JSON array of JSON objects with fields
folderandidas request body (e.g. sent with method PUT) instead of thefolderandidparameters. The response then contains the sent mails as arrays according to thecolumnsparameter, which is required in that case.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail.
query string Idempotency-Key (empty) A key the client generates for this request, e.g. a UUID; see the IETF draft "The Idempotency-Key HTTP Header Field". A retry with the same key does not perform the request again but gets the result of the first one, marked with the response header `Idempotent-Replayed: true`. The result of sending a mail is kept for 7 days. Use the key only for automatic retries of the identical request; use a new key once the request changes, e.g. after the user corrected an input. An error that would recur for the same request (categories USER_INPUT, PERMISSION_DENIED, CONFLICT, TRUNCATED) is kept as result, for at most an hour. A replayed error carries no `Idempotent-Replayed` header. Errors: `IDEM-0001` for a malformed key, `IDEM-0002` while the first request with this key still runs (retry a few seconds later), `IDEM-0003` if the key has been used for another request, `IDEM-0004` if the first request has been performed but its result has not been kept, `IDEM-0008` if a mail is to be sent but the key cannot be checked right now (nothing was sent; retry later). The REST API answers `IDEM-0001` with status `400`, `IDEM-0003` with status `422`, `IDEM-0008` with status `503` and the others with status `409`. For a body sent as upload or raw MIME, only its media type tells requests apart; reusing a key for another such body is not detected.
header string Responses:
200:
A JSON object containing the data of the sent mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailResponse
{- data ( MailData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailData
{- nested_msgs ( array[object] ): An array containing additional mails that are attached to this mail.
- security_info ( GuardSecurityInfo ): Information if mail is encrypted or signed. Requires Guard
- security ( GuardSecurityResult ): Information regarding signature verification or decryption type after processed by Guard
- authenticity ( AuthenticationResult ): Informations about the authenticity of the sender domain.
- mail_identity ( string ): The identity of the mail's folder content, e.g. the UIDVALIDITY of an IMAP folder. A re-created folder may hand out the same mail identifiers again, but under another identity. Pass it as parameter `mailIdentity` to `/image/mail/picture`, so that the image URL and its ETag change with it. Only present if known; returned by `action=get`.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
GuardSecurityInfo - Information if mail is encrypted or signed. Requires Guard
{- encrypted ( boolean ): True if the mail is currently encrypted
- signed ( boolean ): True if the email has signatures
-
GuardSecurityResult - Information regarding signature verification or decryption type after processed by Guard
{- decrypted ( boolean ): True if the mail has been decrypted.
- type ( string ): Type of encryption. Currently only PGP supported
- pgpInline ( boolean ): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures ( array[GuardSignatureResult] ): Array of signatures, if any, and the verification status
-
GuardSignatureResult
{- verified ( boolean ): True if the signature was verified and correct
- missing ( boolean ): True if the signature could not be verified due to missing public key
- date ( integer ): Date of the signature in ticks
-
AuthenticationResult - Informations about the authenticity of the sender domain.
{- dmarc ( dmarc ): The DMARC authentication results
- dkim ( dkim ): The DKIM authentication results
- spf ( spf ): The SPF authentication results
- unconsidered_results ( array[object] ): A list of unconsidered results
- image ( string ): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain ( string ): The from domain
-
status
(
string
, possibleValues:
passneutralfailsuspiciousnot-analyzedtrusted
-
dmarc - The DMARC authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
dkim - The DKIM authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
spf - The SPF authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Body:
Description:A JSON object providing the share reference to resolve
Content-type: application/json-
ResolveShareReferenceElement
{- reference ( string , required ): The reference string.
Responses:
200:
'The JSON representation for the resolved share reference. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
ResolveShareReferenceResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- shareToken ( string ): The associated share token.
- contextId ( integer ): The originator's context identifier.
- userId ( integer ): The originator's user identifier.
- files ( array[object] ): The file meta data.
- password ( string ): The optional password that protects the share link.
- expiration ( integer ): The optional expiration date of the share link.
401:
No description available
403:
No description available
-
-
Imports the contact of a vCard attachment into the default contacts folder, or the appointments and tasks of an iCalendar attachment into the default folders.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail which contains the attachment.
query string attachment (empty) ID of the vCard or iCalendar attachment.
query string Responses:
200:
A JSON object containing an array with the object IDs and folder IDs of the imported objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationsResponse
{- data ( array[MailDestinationData] ): An array of JSON objects each describing the folder ID and object ID of one object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailDestinationData
{- folder_id ( string ): Object ID of the destination folder.
- id ( string ): Object ID of the "new" mail.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data. The values "all" and "list" select predefined column sets.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string unseen (empty) If `true` only mails without the `\Seen` flag are returned.
query boolean deleted (empty) If `false` or absent only mails without the `\Deleted` flag are returned.
query boolean sort (empty) The identifier of a column which determines the sort order of the response, or the string "date". If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return. Only applied together with `right_hand_limit`.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return. Only applied together with `left_hand_limit`.
query integer limit (empty) A positive integer number to specify how many items shall be returned according to given sorting; overrides `left_hand_limit`/`right_hand_limit` parameters and is equal to `left_hand_limit=0` and `right_hand_limit=
`. Alternatively, a comma-separated pair of values ` , ` may be passed to specify an explicit index range (equivalent to `left_hand_limit= ` and `right_hand_limit= `). query string Body:
Description:A JSON object describing the search term as described in Advanced search. Example: `{"filter":["and",["=", {"field":"to"},"test1@example.com"],["not",["=",{"attachment":"name"},"document.pdf"]]]}` which represents 'to = "test1@example.com" AND NOT from = "test2@example.com"'. Available field names are `from`, `to`, `cc`, `bcc`, `subject`, `received_date`, `sent_date`, `size`, `flags`, `content`, `content_type`, `disp`, and `priority`. Alternatively, a JSON array of JSON objects with fields `col` (a column identifier) and `pattern` (the search pattern) may be passed.
Content-type: application/json-
Unknown
Responses:
200:
'A JSON object containing an array with matching mails. Mails are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailsResponse
{- data ( array[array[object]] ): Array of mails. Each mail is described as an array itself.
- cache ( boolean ): If present and set to true, that parameter signals that response has been fetched from cache
- more ( integer ): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Same as the PUT request of
action=new.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) If set, the mail is not sent but stored in this folder. Otherwise it is sent and a copy is stored in the sent folder.
query string flags (empty) The system flags as bit mask, applied to the mail stored in `folder`, or to the copy in the sent folder if no `folder` is specified.
query integer force (empty) `true` to skip checking that the mail's "From" address belongs to the user; only applies if `folder` is specified.
query boolean new (empty) `true` to drop the mail's existing Message-ID so that a new one is generated.
query boolean pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Idempotency-Key (empty) A key the client generates for this request, e.g. a UUID; see the IETF draft "The Idempotency-Key HTTP Header Field". A retry with the same key does not perform the request again but gets the result of the first one, marked with the response header `Idempotent-Replayed: true`. The result of sending a mail is kept for 7 days. Use the key only for automatic retries of the identical request; use a new key once the request changes, e.g. after the user corrected an input. An error that would recur for the same request (categories USER_INPUT, PERMISSION_DENIED, CONFLICT, TRUNCATED) is kept as result, for at most an hour. A replayed error carries no `Idempotent-Replayed` header. Errors: `IDEM-0001` for a malformed key, `IDEM-0002` while the first request with this key still runs (retry a few seconds later), `IDEM-0003` if the key has been used for another request, `IDEM-0004` if the first request has been performed but its result has not been kept, `IDEM-0008` if a mail is to be sent but the key cannot be checked right now (nothing was sent; retry later). The REST API answers `IDEM-0001` with status `400`, `IDEM-0003` with status `422`, `IDEM-0008` with status `503` and the others with status `409`. For a body sent as upload or raw MIME, only its media type tells requests apart; reusing a key for another such body is not detected.
header string Body:
Description:The mail as MIME data block
Content-type: application/octet-stream-
Unknown
Responses:
200:
A JSON object containing the folder ID and the object ID of the mail stored in `folder` or of its copy in the sent folder; an empty object if no copy was stored. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationResponse
{- data ( MailDestinationData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailDestinationData
{- folder_id ( string ): Object ID of the destination folder.
- id ( string ): Object ID of the "new" mail.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type returnDate (empty) The UTC timestamp of the date when the snoozed mails are supposed to be returned (in format
yyyyMMdd'T'HHmmss'Z'), or the number of milliseconds since January 1, 1970, 00:00:00 UTCquery string undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the mails. Only mails of the primary mail account can be snoozed.
Content-type: application/json-
MailListElement
{- id ( string , required ): The object ID of the mail.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON array of JSON objects with the id, folder and snoozed mail ID of the mails moved to snooze folder. (see Error handling).
Content-type: application/json-
SnoozeResponse
{- data ( array[object] ): A JSON array of JSON objects with the id, folder and snoozed mail ID of the mails moved to snooze folder.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
The request MAY carry a JSON array with the identifiers of the mails known to the client as request body (e.g. sent with method PUT). The request fails if the mail storage does not support synchronization.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The identifier of the folder to provide the synchronization information for
query string token (empty) The optional synchronization token previously obtained from a synchronization request or from `action=examine`; absent for initial synchronization
query string Responses:
200:
'The JSON representation for the synchronization information. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
SyncResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- deleted ( array[string] ): The identifiers of the mails that are considered as deleted after examination of given synchronization token
- modified ( array[string] ): The identifiers of the mails that are considered as modified (e.g. flags changed) after examination of given synchronization token
- new ( array[string] ): The identifiers of the mails that are considered as new after examination of given synchronization token
- token ( string ): The synchronization token for next synchronization request
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data. The values "all" and "list" select predefined column sets.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string sort (empty) The identifier of a column which determines the sort order of the response, or the string "date". If this parameter is specified, then the parameter order must be also specified. Note: Applies only to root-level messages.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Note: Applies only to root-level messages.
query string size (empty) The optional number of latest messages to consider.
query integer Body:
Description:An optional JSON object describing the search term as introducted in Advanced search. If absent, all mails without the `\Deleted` flag are considered. Example: `{"filter":["and",["=", {"field":"to"},"test1@example.com"],["not",["=",{"attachment":"name"},"document.pdf"]]]}` which represents 'to = "test1@example.com" AND NOT from = "test2@example.com"'. Available field names are `from`, `to`, `cc`, `bcc`, `subject`, `received_date`, `sent_date`, `size`, `flags`, `content`, `content_type`, `disp`, and `priority`. Alternatively, a JSON array of JSON objects with fields `col` (a column identifier) and `pattern` (the search pattern) may be passed.
Content-type: application/json-
Unknown
Responses:
200:
A JSON object containing an array of objects, each representing a message thread with informations about the root and last mail. The `thread` field is a JSON array of objects each representing a message in the conversation sorted by time-line and filled with the specified `columns`. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailThreadReferencesResponse
{- data ( array[MailThreadReferenceData] ): An array of JSON objects each representing a conversation.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailThreadReferenceData
{- rootMailId ( string ): The unique id of the root mail.
- rootOriginalMailId ( string ): The original unique id of the root mail.
- rootOriginalFolderId ( string ): The original folder id of the root mail.
- latestMailId ( string ): The unique id of the latest mail.
- latestOriginalMailId ( string ): The original unique id of the latest mail.
- latestOriginalFolderId ( string ): The original folder id of the latest mail.
- latestReceivedDate ( integer ): Date and time as measured by the receiving server of the latest mail.
- thread ( array[MailData] ): JSON array consisting of JSON objects, each representing a message in the conversation.
-
MailData
{- nested_msgs ( array[object] ): An array containing additional mails that are attached to this mail.
- security_info ( GuardSecurityInfo ): Information if mail is encrypted or signed. Requires Guard
- security ( GuardSecurityResult ): Information regarding signature verification or decryption type after processed by Guard
- authenticity ( AuthenticationResult ): Informations about the authenticity of the sender domain.
- mail_identity ( string ): The identity of the mail's folder content, e.g. the UIDVALIDITY of an IMAP folder. A re-created folder may hand out the same mail identifiers again, but under another identity. Pass it as parameter `mailIdentity` to `/image/mail/picture`, so that the image URL and its ETag change with it. Only present if known; returned by `action=get`.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
GuardSecurityInfo - Information if mail is encrypted or signed. Requires Guard
{- encrypted ( boolean ): True if the mail is currently encrypted
- signed ( boolean ): True if the email has signatures
-
GuardSecurityResult - Information regarding signature verification or decryption type after processed by Guard
{- decrypted ( boolean ): True if the mail has been decrypted.
- type ( string ): Type of encryption. Currently only PGP supported
- pgpInline ( boolean ): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures ( array[GuardSignatureResult] ): Array of signatures, if any, and the verification status
-
GuardSignatureResult
{- verified ( boolean ): True if the signature was verified and correct
- missing ( boolean ): True if the signature could not be verified due to missing public key
- date ( integer ): Date of the signature in ticks
-
AuthenticationResult - Informations about the authenticity of the sender domain.
{- dmarc ( dmarc ): The DMARC authentication results
- dkim ( dkim ): The DKIM authentication results
- spf ( spf ): The SPF authentication results
- unconsidered_results ( array[object] ): A list of unconsidered results
- image ( string ): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain ( string ): The from domain
-
status
(
string
, possibleValues:
passneutralfailsuspiciousnot-analyzedtrusted
-
dmarc - The DMARC authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
dkim - The DKIM authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
spf - The SPF authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data. The values "all" and "list" select predefined column sets.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string unseen (empty) If `true` only mails without the `\Seen` flag are returned.
query boolean deleted (empty) If `false` only mails without the `\Deleted` flag are returned.
query boolean sort (empty) The identifier of a column which determines the sort order of the response, or the string "date". If this parameter is specified, then the parameter order must be also specified. Note: Applies only to root-level messages.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Note: Applies only to root-level messages.
query string includeSent (empty) A boolean value to signal that conversations also include messages taken from special "sent" aka "sent items" folder.
query boolean left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return. Note: Applies only to root-level messages.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return. Note: Applies only to root-level messages.
query integer limit (empty) Either a positive integer number to specify how many items shall be returned according to given sorting, which is equal to `left_hand_limit=0` and `right_hand_limit=
`, or a comma-separated range ` , `; overrides `left_hand_limit`/`right_hand_limit` parameters. Note: Applies only to root-level messages. query string categoryid (empty) The category id to filter for. Retrieves all conversations with at least one mail in the category.
query string Responses:
200:
A JSON object containing an array of objects, each representing a conversation's root message along with its message thread. The root message's JSON object is filled according to the specified `columns` and is enhanced by a special `thread` field representing the full message thread (including the root message itself). `thread` is a JSON array of objects each representing a message in the conversation sorted by time-line and filled with the specified `columns`. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailConversationsResponse
{- data ( array[MailConversationData] ): An array of JSON objects each representing a conversation's root message.
- cache ( boolean ): If present and set to true, that parameter signals that response has been fetched from cache
- more ( integer ): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailConversationData
{- unreadCount ( integer ): No description available
- thread ( array[MailData] ): JSON array consisting of JSON objects, each representing a message in the conversation.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
MailData
{- nested_msgs ( array[object] ): An array containing additional mails that are attached to this mail.
- security_info ( GuardSecurityInfo ): Information if mail is encrypted or signed. Requires Guard
- security ( GuardSecurityResult ): Information regarding signature verification or decryption type after processed by Guard
- authenticity ( AuthenticationResult ): Informations about the authenticity of the sender domain.
- mail_identity ( string ): The identity of the mail's folder content, e.g. the UIDVALIDITY of an IMAP folder. A re-created folder may hand out the same mail identifiers again, but under another identity. Pass it as parameter `mailIdentity` to `/image/mail/picture`, so that the image URL and its ETag change with it. Only present if known; returned by `action=get`.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id ( string ): Object ID of the mail.
- folder_id ( string ): Object ID of the parent folder.
- attachment ( boolean ): Indicates whether this mail has attachments.
- from ( array[array[string]] ): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one receiver.
- cc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- sender ( array[array[string]] ): Each element is a two-element array (see the from field) specifying one sender.
- subject ( string ): The mail's subject.
- size ( integer ): The size if the mail in bytes.
- sent_date ( integer ): Date and time as specified in the mail by the sending client.
- received_date ( integer ): Date and time as measured by the receiving server.
-
flags
(
integer
):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level ( integer ): Zero-based nesting level in a thread.
- disp_notification_to ( string ): Content of message's header "Disposition-Notification-To".
-
priority
(
integer
, possibleValues:
054321
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref ( string ): Message reference on reply/forward.
- flag_seen ( string ): Special field to sort mails by seen status.
- account_name ( string ): Message's account name.
- account_id ( integer ): Message's account identifier.
- user ( array[string] ): An array with user-defined flags as strings.
- headers ( headers ): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments ( array[MailAttachment] ): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated ( boolean ): `true` / `false` if the mail content was trimmed.
- source ( string ): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid ( string ): The value of the "Content-ID" header, if the header is present.
- original_id ( string ): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id ( string ): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type ( string ): The MIME type of the mail.
- text_preview ( string ): The optional preview of the mail body
- date_to_send ( string ): The optional date-time (e.g. "20230915T134807Z") of the date-to-send for a scheduled mail
- guid ( string ): The optional globally unique identifier
-
GuardSecurityInfo - Information if mail is encrypted or signed. Requires Guard
{- encrypted ( boolean ): True if the mail is currently encrypted
- signed ( boolean ): True if the email has signatures
-
GuardSecurityResult - Information regarding signature verification or decryption type after processed by Guard
{- decrypted ( boolean ): True if the mail has been decrypted.
- type ( string ): Type of encryption. Currently only PGP supported
- pgpInline ( boolean ): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures ( array[GuardSignatureResult] ): Array of signatures, if any, and the verification status
-
GuardSignatureResult
{- verified ( boolean ): True if the signature was verified and correct
- missing ( boolean ): True if the signature could not be verified due to missing public key
- date ( integer ): Date of the signature in ticks
-
AuthenticationResult - Informations about the authenticity of the sender domain.
{- dmarc ( dmarc ): The DMARC authentication results
- dkim ( dkim ): The DKIM authentication results
- spf ( spf ): The SPF authentication results
- unconsidered_results ( array[object] ): A list of unconsidered results
- image ( string ): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain ( string ): The from domain
-
status
(
string
, possibleValues:
passneutralfailsuspiciousnot-analyzedtrusted
-
dmarc - The DMARC authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
dkim - The DKIM authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
spf - The SPF authentication results
{- result ( string ): The result of the mechanism
- reason ( string ): The reason of the status
- from_domain ( string ): The origin domain of the sender
-
MailAttachment
{- id ( string ): Object ID (unique only inside the same message).
- content_type ( string ): MIME type.
- content ( string ): Content as text. Present only if easily convertible to text.
- filename ( string ): Displayed filename (mutually exclusive with content).
- size ( integer ): Size of the attachment in bytes.
- cid ( string ): The value of the "Content-ID" header of the attachment, if the header is present. Used as target of "cid" URLs (RFC 2392), e.g. from inline images in the mail text, or from attachments of iMIP messages analyzed through the "chronos/itip" module.
-
disp
(
string
, possibleValues:
nullinlineattachmentalternative
401:
No description available
403:
No description available
-
-
Sends a mail whose MIME structure is given as JSON object in the format returned by
action=get_structure. The structure MUST carry a "From" address that belongs to the user. A mail that has been sent before with the same client message identifier is not sent again; the response then carries the fieldduplicatewith valuetrue.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type recipients (empty) A comma-separated list of additional recipient addresses.
query string copy2Sent (empty) Whether a copy of the sent mail is stored in the sent folder, overriding the user's setting.
query boolean clientMessageId (empty) A UUID the client picks for a mail when the user starts writing it; a new one for every mail, also for a mail written as copy of another. The `Message-ID` header of the mail is built from it, and the mail is sent at most once: a later send with the same value is not performed but answered with the result of the first one and the response field `duplicate` set to `true`. Remembered for 30 days. While the same mail is being sent, a send gets error `IDEM-0005`; if the identifier cannot be checked right now, the mail is not sent and the send gets error `IDEM-0008`.
query string Idempotency-Key (empty) A key the client generates for this request, e.g. a UUID; see the IETF draft "The Idempotency-Key HTTP Header Field". A retry with the same key does not perform the request again but gets the result of the first one, marked with the response header `Idempotent-Replayed: true`. The result of sending a mail is kept for 7 days. Use the key only for automatic retries of the identical request; use a new key once the request changes, e.g. after the user corrected an input. An error that would recur for the same request (categories USER_INPUT, PERMISSION_DENIED, CONFLICT, TRUNCATED) is kept as result, for at most an hour. A replayed error carries no `Idempotent-Replayed` header. Errors: `IDEM-0001` for a malformed key, `IDEM-0002` while the first request with this key still runs (retry a few seconds later), `IDEM-0003` if the key has been used for another request, `IDEM-0004` if the first request has been performed but its result has not been kept, `IDEM-0008` if a mail is to be sent but the key cannot be checked right now (nothing was sent; retry later). The REST API answers `IDEM-0001` with status `400`, `IDEM-0003` with status `422`, `IDEM-0008` with status `503` and the others with status `409`. For a body sent as upload or raw MIME, only its media type tells requests apart; reusing a key for another such body is not detected.
header string Body:
Description:The MIME structure of the mail as returned by `action=get_structure`.
Content-type: application/json-
Unknown
{
Responses:
200:
A JSON object containing the folder ID and the object ID of the copy in the sent folder; an empty object if no copy was stored. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationResponse
{- data ( MailDestinationData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailDestinationData
{- folder_id ( string ): Object ID of the destination folder.
- id ( string ): Object ID of the "new" mail.
401:
No description available
403:
No description available
-
-
Moves the mails to the trash folder, or deletes them permanently if they are hard-deleted. Fails if the mail storage does not support this operation.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string harddelete (empty) Flag to hard delete the messages, meaning not to create a backup copy of each message in default trash if set to `true`. If absent or `false`, the user's "hard delete" mail setting applies.
query boolean undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON array with the object IDs of the mails.
Content-type: application/json
Responses:
200:
A JSON object containing an array with the folder IDs and object IDs of the mails moved to the trash folder; `null` if none was moved. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationsResponse
{- data ( array[MailDestinationData] ): An array of JSON objects each describing the folder ID and object ID of one object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailDestinationData
{- folder_id ( string ): Object ID of the destination folder.
- id ( string ): Object ID of the "new" mail.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the mails in the snoozed folder; the folder may be omitted. Plain mail IDs are accepted as array elements as well.
Content-type: application/json-
MailListElement
{- id ( string , required ): The object ID of the mail.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON array of JSON objects with the id and folder of the mails moved to original folder. (see Error handling).
Content-type: application/json-
UnsnoozeResponse
{- data ( array[object] ): A JSON array of JSON objects with the id and folder ID of the mails moved to original folders.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
PUT /mail?action=update Updates a mail or a folder's messages and/or moves a mail to another folder.
The update request can perform an update of the color label and flags of one mail object. Beside it is possible to change the mail's folder, meaning move the mail to another folder. Both operations can be performed at once too.
If neither parameter
idnor parametermessage_idis specified, the messages listed in fieldidsof the request body or, if absent, all folder's messages are updated accordingly.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested mail that shall be updated (**mandatory** if a mail shall be moved).
query string message_id (empty) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.
query string undo (empty) Optional time-to-live in milliseconds for the undo operation(s) demanded by client
query long pushToken (empty) The client's push token. Push notifications about the mail changes made by this request (topics `ox:mail:changed`, `ox:mail:deleted` and `ox:mail:folder`) are not sent to the subscription with this token.
query string Body:
Description:A JSON object containing the new values that ought to be applied to mail and/or the id of the destination folder (if the mail shall be moved, otherwise it must not be specified).
Content-type: application/json-
MailUpdateBody
{- folder_id ( string ): The object ID of the destination folder (if the mail shall be moved).
- ids ( array[string] ): The object IDs of the mails to update if neither parameter `id` nor parameter `message_id` is specified. If absent too, all mails of the folder are updated.
- collect_addresses ( boolean ): Use `true` to let the addresses of the updated mail be collected by the contact collector.
- color_label ( integer ): The color number between 0 and 10.
- flags ( integer ): A set of flags to add or remove. Note: Flags for "recent" (8) and "user" (64) are ignored.
- value ( boolean ): Use `true` to add the flags specified by flags (logical OR) and `false` to remove them (logical AND with the inverted value).
- set_flags ( integer ): A set of flags to add. Note: Flags for "recent" (8) and "user" (64) are ignored.
- clear_flags ( integer ): A set of flags to remove. Note: Flags for "recent" (8) and "user" (64) are ignored.
- set_user_flags ( array[string] ): A set of user specific flags to add. Please note that system flags (i.e. starting with `\\`) aren't allowed to be set and will throw an error if set in this field.
- clear_user_flags ( array[string] ): A set of user specific flags to remove. Please note that system flags (i.e. starting with `\\`) aren't allowed to be removed and will throw an error if set in this field.
Responses:
200:
A JSON object containing the object ID and the folder ID of the updated and/or moved mail; the first one if several mails are updated. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationResponse
{- data ( MailDestinationData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailDestinationData
{- folder_id ( string ): Object ID of the destination folder.
- id ( string ): Object ID of the "new" mail.
401:
No description available
403:
No description available
-
-
Provides a list of updated mails.
Attention: This does not work for IMAP mail accounts. In case of imap accounts an empty list is returned.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data. The values "all" and "list" select predefined column sets.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string ignore (empty) The type of updates which should be ignored. Currently known values are 'deleted' and 'changed'. E.g. if you only want to retrieve deleted mails you use 'ignore=changed'.
query string Responses:
200:
Just an empty JSON array is going to be returned since this action cannot be applied to IMAP. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailsResponse
{- data ( array[array[object]] ): Array of mails. Each mail is described as an array itself.
- cache ( boolean ): If present and set to true, that parameter signals that response has been fetched from cache
- more ( integer ): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail which contains the attachments.
query string attachment (empty) A comma-separated list of IDs of the requested attachments. If absent, all attachments of the mail are returned.
query string scan (empty) Flag to request an Anti-Virus scan for the specified e-mail attachments before downloading them.
query boolean Responses:
200:
The raw byte data of the ZIP file.
Content-type: application/zip-
Unknown
401:
No description available
403:
No description available
-
-
The requested mails are denoted either by parameter
body, or by parameterfoldertogether with parameteridor, ifidis absent, a request body with a JSON array of JSON objects with fieldid.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the mails. Required unless `body` is given.
query string id (empty) A comma-separated list of Object IDs of the requested mails.
query string body (empty) A JSON array of JSON objects with the field `id`, the field `folder_id` (or `folder`) and optionally the field `filename` naming the mail's entry in the ZIP file; allows to request mails from several folders.
query string scan (empty) Flag to request an Anti-Virus scan for the requested mails before downloading them.
query boolean Responses:
200:
The raw byte data of the ZIP file.
Content-type: application/zip-
Unknown
401:
No description available
403:
No description available
-
-
-
Mail_categories
The module mail_categories allows to manage mail categories.-
Requires the capability
mail_categories.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type category_id (empty) The identifier of a category.
query string Body:
Description:'A JSON array of mail identifier, e.g.: [{"id":ID, "folder_id":FID},{"id":ID2, "folder_id":FID2}, {...}]'Content-type: application/json-
Mail_CategoriesMoveBody
{- id ( string , required ): The object ID of the mail
- folder_id ( string , required ): The folder ID of the mail; only mails in the primary account's inbox ("default0/INBOX") are accepted
Responses:
200:
'An empty response if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Adds a new rule with the given mail addresses to the given category and optionally reorganize all existing mails in the inbox. Requires the capability
mail_categories.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type category_id (empty) The identifier of a category.
query string apply-for-existing (empty) A flag indicating whether old mails should be reorganized. Defaults to 'false'.
query boolean apply-for-future-ones (empty) A flag indicating whether a rule should be created or not. Defaults to 'true'.
query boolean Body:
Description:'A JSON object containing a "from" field which contains an array of mail addresses.'
Content-type: application/json-
Mail_CategoriesTrainBody
{- from ( array[string] , required ): An array of at most 1000 distinct email addresses
Responses:
200:
'An empty response if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Requires the capability
mail_categories.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type category_ids (empty) A comma separated list of category identifiers. If set only the unread counters of this categories are retrieved.
query string Responses:
200:
'A JSON object with a field for each active category containing the number of unread messages. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
Mail_CategoriesUnreadResponse
{- data ( data ): A JSON object with a field for each active category containing the number of unread messages.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
Mailaccount
The mailaccount module is used to manage multiple mail accounts held by a user.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mailaccount
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1001,1006". Each column is specified by a numeric column identifier, see Mail account data. If missing, empty or `all`, all columns are returned.
query string Responses:
200:
A JSON object containing an array with data for all mail accounts. Each array element describes one account and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountsResponse
{- data ( array[array[object]] ): Array of mail accounts. Each account is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mailaccount
Body:
Description:A JSON array with the IDs of the mail accounts that shall be deleted.
Content-type: application/json
Responses:
200:
A JSON object containing an array with identifiers of deleted accounts. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountDeletionResponse
{- data ( array[integer] ): An array containing the identifiers of the mail accounts that were deleted.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mailaccount
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Account ID of the account to enable.
query integer Responses:
200:
A JSON object mapping the account identifier to the status `ok`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountStatusResponse
{- data ( data ): An object that maps each mail account identifier to the status of that account.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mailaccount
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Account ID of the requested account.
query integer Responses:
200:
An object containing all data of the requested account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountResponse
{- data ( MailAccountData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailAccountData
{- id ( integer ): The account identifier.
- secondary ( boolean ): Indicates whether the account denotes a secondary mail account or not.
- deactivated ( boolean ): Indicates whether the account has been deactivated by the user.
- name ( string ): The account's display name.
- login ( string ): The login name.
- password ( string ): The (optional) password.
- mail_url ( string ): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server ( string ): The mail server's hostname or IP address.
- mail_port ( integer ): The mail server's port.
- mail_protocol ( string ): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure ( boolean ): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls ( boolean ): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth ( integer ): Provides the identifier of the associated OAuth account (if any) or `null`.
- mail_disabled ( boolean ): Read-only. Whether the mail access is currently disabled due to too many failed login attempts.
- transport_url ( string ): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server ( string ): The transport server's hostname or IP address.
- transport_port ( integer ): The transport server's port.
- transport_protocol ( string ): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure ( boolean ): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login ( string ): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password ( string ): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth ( string ): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls ( boolean ): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth ( integer ): The identifier of the OAuth account to use for mail transport (if any) or `null`. **Please see `transport_auth` for the handling of this field.**
- transport_disabled ( boolean ): Read-only. Whether the mail transport is currently disabled due to too many failed login attempts.
- root_folder ( string ): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address ( string ): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler ( string ): The name of the spam handler used by account.
- trash ( string ): The name of the default trash folder.
- sent ( string ): The name of the default sent folder.
- drafts ( string ): The name of the default drafts folder.
- spam ( string ): The name of the default spam folder.
- confirmed_spam ( string ): The name of the default confirmed-spam folder.
- confirmed_ham ( string ): The name of the default confirmed-ham folder.
- unified_inbox_enabled ( boolean ): Whether Unified INBOX is enabled.
- trash_fullname ( string ): Path to default trash folder. Preferred over `trash`.
- sent_fullname ( string ): Path to default sent folder. Preferred over `sent`.
- drafts_fullname ( string ): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname ( string ): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname ( string ): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname ( string ): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate ( integer ): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit ( boolean ): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through ( boolean ): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage ( string ): The name of POP3 storage provider, default is "mailaccount".
- pop3_path ( string ): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal ( string ): The customizable personal part of the email address.
- reply_to ( string ): The customizable reply-to email address.
- addresses ( string ): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta ( meta ): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive ( string ): The name of the archive folder.
- archive_fullname ( string ): The full name of the archive folder.
- scheduled ( string ): The name of the scheduled folder.
- scheduled_fullname ( string ): The full name of the scheduled folder.
- inbox_fullname ( string ): The full name of the inbox folder.
- snoozed ( string ): The name of the snoozed folder.
- snoozed_fullname ( string ): The full name of the snoozed folder.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mailaccount
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Account ID of the requested account.
query integer Responses:
200:
A JSON object containing the account's folder tree. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountTreeResponse
{- data ( data ): The account's root folder object extended by a field `subfolder_array` that contains its subfolders (recursively), or `null` if the folder tree could not be composed.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mailaccount
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1001,1006". Each column is specified by a numeric column identifier, see Mail account data. If missing, empty or `all`, all columns are returned.
query string Body:
Description:A JSON array with the IDs of the requested mail accounts.
Content-type: application/json
Responses:
200:
A JSON object containing an array with data for the requested mail accounts. Each array element describes one account and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountsResponse
{- data ( array[array[object]] ): Array of mail accounts. Each account is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mailaccount
Body:
Description:A JSON object describing the new account to create. The fields `mail_url` (or `mail_server`), `login` and `primary_address` are required, as is `password` unless `mail_oauth` is set. If `name` is missing, the primary address is used as name.
Content-type: application/json-
MailAccountData
{- id ( integer ): The account identifier.
- secondary ( boolean ): Indicates whether the account denotes a secondary mail account or not.
- deactivated ( boolean ): Indicates whether the account has been deactivated by the user.
- name ( string ): The account's display name.
- login ( string ): The login name.
- password ( string ): The (optional) password.
- mail_url ( string ): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server ( string ): The mail server's hostname or IP address.
- mail_port ( integer ): The mail server's port.
- mail_protocol ( string ): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure ( boolean ): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls ( boolean ): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth ( integer ): Provides the identifier of the associated OAuth account (if any) or `null`.
- mail_disabled ( boolean ): Read-only. Whether the mail access is currently disabled due to too many failed login attempts.
- transport_url ( string ): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server ( string ): The transport server's hostname or IP address.
- transport_port ( integer ): The transport server's port.
- transport_protocol ( string ): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure ( boolean ): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login ( string ): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password ( string ): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth ( string ): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls ( boolean ): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth ( integer ): The identifier of the OAuth account to use for mail transport (if any) or `null`. **Please see `transport_auth` for the handling of this field.**
- transport_disabled ( boolean ): Read-only. Whether the mail transport is currently disabled due to too many failed login attempts.
- root_folder ( string ): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address ( string ): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler ( string ): The name of the spam handler used by account.
- trash ( string ): The name of the default trash folder.
- sent ( string ): The name of the default sent folder.
- drafts ( string ): The name of the default drafts folder.
- spam ( string ): The name of the default spam folder.
- confirmed_spam ( string ): The name of the default confirmed-spam folder.
- confirmed_ham ( string ): The name of the default confirmed-ham folder.
- unified_inbox_enabled ( boolean ): Whether Unified INBOX is enabled.
- trash_fullname ( string ): Path to default trash folder. Preferred over `trash`.
- sent_fullname ( string ): Path to default sent folder. Preferred over `sent`.
- drafts_fullname ( string ): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname ( string ): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname ( string ): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname ( string ): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate ( integer ): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit ( boolean ): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through ( boolean ): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage ( string ): The name of POP3 storage provider, default is "mailaccount".
- pop3_path ( string ): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal ( string ): The customizable personal part of the email address.
- reply_to ( string ): The customizable reply-to email address.
- addresses ( string ): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta ( meta ): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive ( string ): The name of the archive folder.
- archive_fullname ( string ): The full name of the archive folder.
- scheduled ( string ): The name of the scheduled folder.
- scheduled_fullname ( string ): The full name of the scheduled folder.
- inbox_fullname ( string ): The full name of the inbox folder.
- snoozed ( string ): The name of the snoozed folder.
- snoozed_fullname ( string ): The full name of the snoozed folder.
Responses:
200:
A JSON object containing the data of the inserted mail account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountUpdateResponse
{- data ( MailAccountData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailAccountData
{- id ( integer ): The account identifier.
- secondary ( boolean ): Indicates whether the account denotes a secondary mail account or not.
- deactivated ( boolean ): Indicates whether the account has been deactivated by the user.
- name ( string ): The account's display name.
- login ( string ): The login name.
- password ( string ): The (optional) password.
- mail_url ( string ): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server ( string ): The mail server's hostname or IP address.
- mail_port ( integer ): The mail server's port.
- mail_protocol ( string ): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure ( boolean ): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls ( boolean ): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth ( integer ): Provides the identifier of the associated OAuth account (if any) or `null`.
- mail_disabled ( boolean ): Read-only. Whether the mail access is currently disabled due to too many failed login attempts.
- transport_url ( string ): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server ( string ): The transport server's hostname or IP address.
- transport_port ( integer ): The transport server's port.
- transport_protocol ( string ): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure ( boolean ): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login ( string ): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password ( string ): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth ( string ): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls ( boolean ): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth ( integer ): The identifier of the OAuth account to use for mail transport (if any) or `null`. **Please see `transport_auth` for the handling of this field.**
- transport_disabled ( boolean ): Read-only. Whether the mail transport is currently disabled due to too many failed login attempts.
- root_folder ( string ): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address ( string ): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler ( string ): The name of the spam handler used by account.
- trash ( string ): The name of the default trash folder.
- sent ( string ): The name of the default sent folder.
- drafts ( string ): The name of the default drafts folder.
- spam ( string ): The name of the default spam folder.
- confirmed_spam ( string ): The name of the default confirmed-spam folder.
- confirmed_ham ( string ): The name of the default confirmed-ham folder.
- unified_inbox_enabled ( boolean ): Whether Unified INBOX is enabled.
- trash_fullname ( string ): Path to default trash folder. Preferred over `trash`.
- sent_fullname ( string ): Path to default sent folder. Preferred over `sent`.
- drafts_fullname ( string ): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname ( string ): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname ( string ): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname ( string ): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate ( integer ): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit ( boolean ): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through ( boolean ): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage ( string ): The name of POP3 storage provider, default is "mailaccount".
- pop3_path ( string ): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal ( string ): The customizable personal part of the email address.
- reply_to ( string ): The customizable reply-to email address.
- addresses ( string ): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta ( meta ): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive ( string ): The name of the archive folder.
- archive_fullname ( string ): The full name of the archive folder.
- scheduled ( string ): The name of the scheduled folder.
- scheduled_fullname ( string ): The full name of the scheduled folder.
- inbox_fullname ( string ): The full name of the inbox folder.
- snoozed ( string ): The name of the snoozed folder.
- snoozed_fullname ( string ): The full name of the snoozed folder.
401:
No description available
403:
No description available
-
-
Used by the mail module's reply and forward requests. Without a mail account provider that overrides this action,
fromis alwaysnull.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mailaccount
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The full identifier of the mail folder, e.g. "default0/INBOX".
query string Responses:
200:
A JSON object containing the resolved sender address. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountResolveFolderResponse
{- data ( MailAccountResolveFolderData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailAccountResolveFolderData
{- from ( string ): The address to use as sender when replying to or forwarding a mail from the folder, or `null` to use the folder's mail account.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mailaccount
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The optional account identifier to query the status for a single mail account. If not set the status for all accounts are returned
query integer Responses:
200:
A small JSON response providing the status information per account identifier; such as "ok" or "invalid_credentials" In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountStatusResponse
{- data ( data ): An object that maps each mail account identifier to the status of that account.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mailaccount
Body:
Description:A JSON object identifying (by field `id`) and describing the account to update. Only modified fields are present.
Content-type: application/json-
MailAccountData
{- id ( integer ): The account identifier.
- secondary ( boolean ): Indicates whether the account denotes a secondary mail account or not.
- deactivated ( boolean ): Indicates whether the account has been deactivated by the user.
- name ( string ): The account's display name.
- login ( string ): The login name.
- password ( string ): The (optional) password.
- mail_url ( string ): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server ( string ): The mail server's hostname or IP address.
- mail_port ( integer ): The mail server's port.
- mail_protocol ( string ): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure ( boolean ): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls ( boolean ): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth ( integer ): Provides the identifier of the associated OAuth account (if any) or `null`.
- mail_disabled ( boolean ): Read-only. Whether the mail access is currently disabled due to too many failed login attempts.
- transport_url ( string ): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server ( string ): The transport server's hostname or IP address.
- transport_port ( integer ): The transport server's port.
- transport_protocol ( string ): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure ( boolean ): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login ( string ): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password ( string ): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth ( string ): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls ( boolean ): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth ( integer ): The identifier of the OAuth account to use for mail transport (if any) or `null`. **Please see `transport_auth` for the handling of this field.**
- transport_disabled ( boolean ): Read-only. Whether the mail transport is currently disabled due to too many failed login attempts.
- root_folder ( string ): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address ( string ): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler ( string ): The name of the spam handler used by account.
- trash ( string ): The name of the default trash folder.
- sent ( string ): The name of the default sent folder.
- drafts ( string ): The name of the default drafts folder.
- spam ( string ): The name of the default spam folder.
- confirmed_spam ( string ): The name of the default confirmed-spam folder.
- confirmed_ham ( string ): The name of the default confirmed-ham folder.
- unified_inbox_enabled ( boolean ): Whether Unified INBOX is enabled.
- trash_fullname ( string ): Path to default trash folder. Preferred over `trash`.
- sent_fullname ( string ): Path to default sent folder. Preferred over `sent`.
- drafts_fullname ( string ): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname ( string ): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname ( string ): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname ( string ): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate ( integer ): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit ( boolean ): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through ( boolean ): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage ( string ): The name of POP3 storage provider, default is "mailaccount".
- pop3_path ( string ): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal ( string ): The customizable personal part of the email address.
- reply_to ( string ): The customizable reply-to email address.
- addresses ( string ): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta ( meta ): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive ( string ): The name of the archive folder.
- archive_fullname ( string ): The full name of the archive folder.
- scheduled ( string ): The name of the scheduled folder.
- scheduled_fullname ( string ): The full name of the scheduled folder.
- inbox_fullname ( string ): The full name of the inbox folder.
- snoozed ( string ): The name of the snoozed folder.
- snoozed_fullname ( string ): The full name of the snoozed folder.
Responses:
200:
A JSON object containing the data of the updated mail account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountUpdateResponse
{- data ( MailAccountData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailAccountData
{- id ( integer ): The account identifier.
- secondary ( boolean ): Indicates whether the account denotes a secondary mail account or not.
- deactivated ( boolean ): Indicates whether the account has been deactivated by the user.
- name ( string ): The account's display name.
- login ( string ): The login name.
- password ( string ): The (optional) password.
- mail_url ( string ): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server ( string ): The mail server's hostname or IP address.
- mail_port ( integer ): The mail server's port.
- mail_protocol ( string ): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure ( boolean ): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls ( boolean ): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth ( integer ): Provides the identifier of the associated OAuth account (if any) or `null`.
- mail_disabled ( boolean ): Read-only. Whether the mail access is currently disabled due to too many failed login attempts.
- transport_url ( string ): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server ( string ): The transport server's hostname or IP address.
- transport_port ( integer ): The transport server's port.
- transport_protocol ( string ): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure ( boolean ): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login ( string ): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password ( string ): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth ( string ): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls ( boolean ): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth ( integer ): The identifier of the OAuth account to use for mail transport (if any) or `null`. **Please see `transport_auth` for the handling of this field.**
- transport_disabled ( boolean ): Read-only. Whether the mail transport is currently disabled due to too many failed login attempts.
- root_folder ( string ): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address ( string ): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler ( string ): The name of the spam handler used by account.
- trash ( string ): The name of the default trash folder.
- sent ( string ): The name of the default sent folder.
- drafts ( string ): The name of the default drafts folder.
- spam ( string ): The name of the default spam folder.
- confirmed_spam ( string ): The name of the default confirmed-spam folder.
- confirmed_ham ( string ): The name of the default confirmed-ham folder.
- unified_inbox_enabled ( boolean ): Whether Unified INBOX is enabled.
- trash_fullname ( string ): Path to default trash folder. Preferred over `trash`.
- sent_fullname ( string ): Path to default sent folder. Preferred over `sent`.
- drafts_fullname ( string ): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname ( string ): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname ( string ): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname ( string ): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate ( integer ): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit ( boolean ): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through ( boolean ): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage ( string ): The name of POP3 storage provider, default is "mailaccount".
- pop3_path ( string ): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal ( string ): The customizable personal part of the email address.
- reply_to ( string ): The customizable reply-to email address.
- addresses ( string ): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta ( meta ): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive ( string ): The name of the archive folder.
- archive_fullname ( string ): The full name of the archive folder.
- scheduled ( string ): The name of the scheduled folder.
- scheduled_fullname ( string ): The full name of the scheduled folder.
- inbox_fullname ( string ): The full name of the inbox folder.
- snoozed ( string ): The name of the snoozed folder.
- snoozed_fullname ( string ): The full name of the snoozed folder.
401:
No description available
403:
No description available
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type tree (empty) Indicates whether on successful validation the folder tree shall be returned (or `null`on failure) or if set to `false` or missing only a boolean is returned which indicates validation result.
query boolean ignoreInvalidTransport (empty) If set to `true`, only the mail server settings are validated and the transport server settings are ignored.
query boolean Body:
Description:A JSON object describing the account to validate.
Content-type: application/json-
MailAccountData
{- id ( integer ): The account identifier.
- secondary ( boolean ): Indicates whether the account denotes a secondary mail account or not.
- deactivated ( boolean ): Indicates whether the account has been deactivated by the user.
- name ( string ): The account's display name.
- login ( string ): The login name.
- password ( string ): The (optional) password.
- mail_url ( string ): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server ( string ): The mail server's hostname or IP address.
- mail_port ( integer ): The mail server's port.
- mail_protocol ( string ): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure ( boolean ): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls ( boolean ): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth ( integer ): Provides the identifier of the associated OAuth account (if any) or `null`.
- mail_disabled ( boolean ): Read-only. Whether the mail access is currently disabled due to too many failed login attempts.
- transport_url ( string ): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server ( string ): The transport server's hostname or IP address.
- transport_port ( integer ): The transport server's port.
- transport_protocol ( string ): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure ( boolean ): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login ( string ): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password ( string ): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth ( string ): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls ( boolean ): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth ( integer ): The identifier of the OAuth account to use for mail transport (if any) or `null`. **Please see `transport_auth` for the handling of this field.**
- transport_disabled ( boolean ): Read-only. Whether the mail transport is currently disabled due to too many failed login attempts.
- root_folder ( string ): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address ( string ): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler ( string ): The name of the spam handler used by account.
- trash ( string ): The name of the default trash folder.
- sent ( string ): The name of the default sent folder.
- drafts ( string ): The name of the default drafts folder.
- spam ( string ): The name of the default spam folder.
- confirmed_spam ( string ): The name of the default confirmed-spam folder.
- confirmed_ham ( string ): The name of the default confirmed-ham folder.
- unified_inbox_enabled ( boolean ): Whether Unified INBOX is enabled.
- trash_fullname ( string ): Path to default trash folder. Preferred over `trash`.
- sent_fullname ( string ): Path to default sent folder. Preferred over `sent`.
- drafts_fullname ( string ): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname ( string ): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname ( string ): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname ( string ): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate ( integer ): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit ( boolean ): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through ( boolean ): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage ( string ): The name of POP3 storage provider, default is "mailaccount".
- pop3_path ( string ): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal ( string ): The customizable personal part of the email address.
- reply_to ( string ): The customizable reply-to email address.
- addresses ( string ): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta ( meta ): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive ( string ): The name of the archive folder.
- archive_fullname ( string ): The full name of the archive folder.
- scheduled ( string ): The name of the scheduled folder.
- scheduled_fullname ( string ): The full name of the scheduled folder.
- inbox_fullname ( string ): The full name of the inbox folder.
- snoozed ( string ): The name of the snoozed folder.
- snoozed_fullname ( string ): The full name of the snoozed folder.
Responses:
200:
A JSON object that contains a value representing the validation result (may be a boolean or a folder tree object). If the validation fails then the value is `false` (or `null` for the tree) and the `warnings` field might describe the cause. The default and secondary accounts always validate as `true`, as does an existing account (field `id` set) whose server URLs and credentials are unchanged unless `tree` is `true`.
Content-type: application/json-
MailAccountValidationResponse
{- data ( data ): A boolean indicating the validation result if parameter `tree` is not `true`, otherwise the account's root folder object extended by a field `subfolder_array` that contains its subfolders (recursively). For the tree case a value of `null` indicates a failed validation.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
MailCompose
The MailCompose REST API.-
Returns a JSON array of compositions spaces
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return. Each column is specified by the name of the Composition Space attribute; only "meta", "security" and "subject" are allowed. If no columns are specified only the "id" column is set.
query string Responses:
200:
A JSON array containing message models.
Content-type: application/json-
MailComposeGetResponse
{- data ( array[MailComposeResponseMessageModel] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailComposeResponseMessageModel
{- id ( string ): The identifier
- from ( Address ): Flat array of two strings. First item is display name, second item is email address.
- sender ( Address ): Flat array of two strings. First item is display name, second item is email address.
- to ( array[array[string]] ): An array of addresses
- cc ( array[array[string]] ): An array of addresses
- bcc ( array[array[string]] ): An array of addresses
- subject ( string ): The subject
- content ( string ): The text content
-
contentType
(
string
, possibleValues:
text/plaintext/htmlmultipart/alternative
- attachments ( array[object] ): An array of attachments
- meta ( Meta ): Object of meta information
- requestReadReceipt ( boolean ): Request read receipt flag
-
priority
(
string
, possibleValues:
lownormalhigh
- sharedAttachments ( Shared Attachments ): The shared attachments object
- security ( Security ): The security settings
- customHeaders ( customHeaders ): No description available
- mailPath ( mailPath ): The path to the draft message reflecting composition space
-
dateToSend
(
string
):
UTC timestamp when the resulting mail is supposed to be sent (in format
yyyyMMdd'T'HHmmss'Z') - scheduledMailId ( string ): The identifier of the scheduled mail if any already associated with this composition space
- capabilities ( array[string] ): An array of available capabilities for this composition space
-
Meta - Object of meta information
{-
type
(
string
, possibleValues:
newreplyreply_allforward-inlineforward_attachmentresend
-
date
(
integer
):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId ( string ): Original folder id during reply or forward
- originalId ( string ): Original message id during reply or forward
- clientMessageId ( string ): The client message identifier given when the composition space was opened; the `Message-ID` header of the mail is built from it and the mail is sent at most once.
-
type
(
string
, possibleValues:
-
Shared Attachments - The shared attachments object
{- language ( string ): The locale string
- enabled ( boolean ): The enabled flag
- autodelete ( boolean ): The auto delete flag
- expiryDate ( integer ): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password ( string ): The password
-
Security - The security settings
{- encrypt ( boolean ): No description available
- encryptDraft ( boolean ): No description available
- addAutocrypt ( boolean ): No description available
- pgpInline ( boolean ): No description available
- sign ( boolean ): No description available
- language ( string ): No description available
- message ( string ): No description available
- pin ( string ): No description available
- msgRef ( string ): No description available
- authentication ( string ): No description available
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
For any types but "new", the response provides ready-to-use values, e.g. to, cc, bcc, subject with prefix, attachments. Internally all mime headers are set properly (a..g to maintain threads). Only the content is still original, i.e. the client uses DOMPurify to sanitize and to quote the content.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type type (empty) One of new/reply/replyall/forward/resend/edit/copy/sms/fax; defaults to "new". Any type but new/sms/fax requires the request body to reference the original mail(s).
query string vcard (empty) Attach users vcard
query boolean originalAttachments (empty) Whether to attach the attachments of the referenced original mail
query boolean requestReadReceipt (empty) Whether to request a read receipt
query boolean dropExternalImages (empty) Whether to drop external images from the referenced original mail's content
query boolean replaceExternalImages (empty) Whether to route external images of the referenced original mail's content through the image proxy; ignored if `dropExternalImages` is `true`. If absent, the configured default (`com.openexchange.mail.proxyExternalImageUrls`) applies.
query boolean priority The priority of the new message; unknown values are ignored
query string contentType The content type of the new message; "alternative" is accepted for "multipart/alternative". An unknown value selects the type according to the user's settings.
query string sharedAttachmentsEnabled (empty) Whether to enable Drive Mail when opening a new composition space
query boolean claim (empty) A unique client token to prevent conflicts due to concurrent editing. Must be a 16-character string consisting of [a-zA-Z0-9] only.
query string clientMessageId (empty) A UUID the client picks for a mail when the user starts writing it; a new one for every mail, also for a mail written as copy of another. The `Message-ID` header of the mail is built from it, and the mail is sent at most once: a later send with the same value is not performed but answered with the result of the first one and the response field `duplicate` set to `true`. Remembered for 30 days. While the same mail is being sent, a send gets error `IDEM-0005`; if the identifier cannot be checked right now, the mail is not sent and the send gets error `IDEM-0008`.
query string Body:
Description:Array of Objects (id, folderId) to reference mails (reply or multiple on forward as example); a single object is accepted as well
Content-type: application/json
Responses:
200:
A JSON object containing the newly created message model.
Content-type: application/json-
MailComposeResponse
{- data ( MailComposeResponseMessageModel ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailComposeResponseMessageModel
{- id ( string ): The identifier
- from ( Address ): Flat array of two strings. First item is display name, second item is email address.
- sender ( Address ): Flat array of two strings. First item is display name, second item is email address.
- to ( array[array[string]] ): An array of addresses
- cc ( array[array[string]] ): An array of addresses
- bcc ( array[array[string]] ): An array of addresses
- subject ( string ): The subject
- content ( string ): The text content
-
contentType
(
string
, possibleValues:
text/plaintext/htmlmultipart/alternative
- attachments ( array[object] ): An array of attachments
- meta ( Meta ): Object of meta information
- requestReadReceipt ( boolean ): Request read receipt flag
-
priority
(
string
, possibleValues:
lownormalhigh
- sharedAttachments ( Shared Attachments ): The shared attachments object
- security ( Security ): The security settings
- customHeaders ( customHeaders ): No description available
- mailPath ( mailPath ): The path to the draft message reflecting composition space
-
dateToSend
(
string
):
UTC timestamp when the resulting mail is supposed to be sent (in format
yyyyMMdd'T'HHmmss'Z') - scheduledMailId ( string ): The identifier of the scheduled mail if any already associated with this composition space
- capabilities ( array[string] ): An array of available capabilities for this composition space
-
Meta - Object of meta information
{-
type
(
string
, possibleValues:
newreplyreply_allforward-inlineforward_attachmentresend
-
date
(
integer
):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId ( string ): Original folder id during reply or forward
- originalId ( string ): Original message id during reply or forward
- clientMessageId ( string ): The client message identifier given when the composition space was opened; the `Message-ID` header of the mail is built from it and the mail is sent at most once.
-
type
(
string
, possibleValues:
-
Shared Attachments - The shared attachments object
{- language ( string ): The locale string
- enabled ( boolean ): The enabled flag
- autodelete ( boolean ): The auto delete flag
- expiryDate ( integer ): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password ( string ): The password
-
Security - The security settings
{- encrypt ( boolean ): No description available
- encryptDraft ( boolean ): No description available
- addAutocrypt ( boolean ): No description available
- pgpInline ( boolean ): No description available
- sign ( boolean ): No description available
- language ( string ): No description available
- message ( string ): No description available
- pin ( string ): No description available
- msgRef ( string ): No description available
- authentication ( string ): No description available
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string Responses:
200:
A JSON object containing the requested composition space.
Content-type: application/json-
MailComposeResponse
{- data ( MailComposeResponseMessageModel ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailComposeResponseMessageModel
{- id ( string ): The identifier
- from ( Address ): Flat array of two strings. First item is display name, second item is email address.
- sender ( Address ): Flat array of two strings. First item is display name, second item is email address.
- to ( array[array[string]] ): An array of addresses
- cc ( array[array[string]] ): An array of addresses
- bcc ( array[array[string]] ): An array of addresses
- subject ( string ): The subject
- content ( string ): The text content
-
contentType
(
string
, possibleValues:
text/plaintext/htmlmultipart/alternative
- attachments ( array[object] ): An array of attachments
- meta ( Meta ): Object of meta information
- requestReadReceipt ( boolean ): Request read receipt flag
-
priority
(
string
, possibleValues:
lownormalhigh
- sharedAttachments ( Shared Attachments ): The shared attachments object
- security ( Security ): The security settings
- customHeaders ( customHeaders ): No description available
- mailPath ( mailPath ): The path to the draft message reflecting composition space
-
dateToSend
(
string
):
UTC timestamp when the resulting mail is supposed to be sent (in format
yyyyMMdd'T'HHmmss'Z') - scheduledMailId ( string ): The identifier of the scheduled mail if any already associated with this composition space
- capabilities ( array[string] ): An array of available capabilities for this composition space
-
Meta - Object of meta information
{-
type
(
string
, possibleValues:
newreplyreply_allforward-inlineforward_attachmentresend
-
date
(
integer
):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId ( string ): Original folder id during reply or forward
- originalId ( string ): Original message id during reply or forward
- clientMessageId ( string ): The client message identifier given when the composition space was opened; the `Message-ID` header of the mail is built from it and the mail is sent at most once.
-
type
(
string
, possibleValues:
-
Shared Attachments - The shared attachments object
{- language ( string ): The locale string
- enabled ( boolean ): The enabled flag
- autodelete ( boolean ): The auto delete flag
- expiryDate ( integer ): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password ( string ): The password
-
Security - The security settings
{- encrypt ( boolean ): No description available
- encryptDraft ( boolean ): No description available
- addAutocrypt ( boolean ): No description available
- pgpInline ( boolean ): No description available
- sign ( boolean ): No description available
- language ( string ): No description available
- message ( string ): No description available
- pin ( string ): No description available
- msgRef ( string ): No description available
- authentication ( string ): No description available
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Payload is JSON that reflects changes. Response is the current composition space message model after update. Same as PATCH. Note that it is not possible to change the attachments collection during this call.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Body:
Description:An object containing the attributes to update
Content-type: application/json-
MailComposeRequestMessageModel
{- id ( string ): An identifier
- from ( Address ): Flat array of two strings. First item is display name, second item is email address.
- sender ( Address ): Flat array of two strings. First item is display name, second item is email address.
- to ( array[array[string]] ): An array of addresses
- cc ( array[array[string]] ): An array of addresses
- bcc ( array[array[string]] ): An array of addresses
- subject ( string ): The subject
- content ( string ): The text content
-
contentType
(
string
, possibleValues:
text/plaintext/htmlmultipart/alternative
- attachments ( array[object] ): An array of attachments
- meta ( Meta ): Object of meta information
- requestReadReceipt ( boolean ): Request read receipt flag
-
priority
(
string
, possibleValues:
lownormalhigh
- sharedAttachments ( Shared Attachments ): The shared attachments object
- security ( Security ): The security settings
- claim ( string ): A unique client token to prevent conflicts due to concurrent editing. Must be a 16-character string consisting of [a-zA-Z0-9] only. If set, any request with a different token to check against will fail with MSGCS-0010. Note that requests with clientToken as query parameter will always succeed for backwards-compatibility!
- dateToSend ( string ): The time when the mail is supposed to be sent as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z".
-
Meta - Object of meta information
{-
type
(
string
, possibleValues:
newreplyreply_allforward-inlineforward_attachmentresend
-
date
(
integer
):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId ( string ): Original folder id during reply or forward
- originalId ( string ): Original message id during reply or forward
- clientMessageId ( string ): The client message identifier given when the composition space was opened; the `Message-ID` header of the mail is built from it and the mail is sent at most once.
-
type
(
string
, possibleValues:
-
Shared Attachments - The shared attachments object
{- language ( string ): The locale string
- enabled ( boolean ): The enabled flag
- autodelete ( boolean ): The auto delete flag
- expiryDate ( integer ): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password ( string ): The password
-
Security - The security settings
{- encrypt ( boolean ): No description available
- encryptDraft ( boolean ): No description available
- addAutocrypt ( boolean ): No description available
- pgpInline ( boolean ): No description available
- sign ( boolean ): No description available
- language ( string ): No description available
- message ( string ): No description available
- pin ( string ): No description available
- msgRef ( string ): No description available
- authentication ( string ): No description available
Responses:
200:
A JSON object containing the updated composition space.
Content-type: application/json-
MailComposeResponse
{- data ( MailComposeResponseMessageModel ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailComposeResponseMessageModel
{- id ( string ): The identifier
- from ( Address ): Flat array of two strings. First item is display name, second item is email address.
- sender ( Address ): Flat array of two strings. First item is display name, second item is email address.
- to ( array[array[string]] ): An array of addresses
- cc ( array[array[string]] ): An array of addresses
- bcc ( array[array[string]] ): An array of addresses
- subject ( string ): The subject
- content ( string ): The text content
-
contentType
(
string
, possibleValues:
text/plaintext/htmlmultipart/alternative
- attachments ( array[object] ): An array of attachments
- meta ( Meta ): Object of meta information
- requestReadReceipt ( boolean ): Request read receipt flag
-
priority
(
string
, possibleValues:
lownormalhigh
- sharedAttachments ( Shared Attachments ): The shared attachments object
- security ( Security ): The security settings
- customHeaders ( customHeaders ): No description available
- mailPath ( mailPath ): The path to the draft message reflecting composition space
-
dateToSend
(
string
):
UTC timestamp when the resulting mail is supposed to be sent (in format
yyyyMMdd'T'HHmmss'Z') - scheduledMailId ( string ): The identifier of the scheduled mail if any already associated with this composition space
- capabilities ( array[string] ): An array of available capabilities for this composition space
-
Meta - Object of meta information
{-
type
(
string
, possibleValues:
newreplyreply_allforward-inlineforward_attachmentresend
-
date
(
integer
):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId ( string ): Original folder id during reply or forward
- originalId ( string ): Original message id during reply or forward
- clientMessageId ( string ): The client message identifier given when the composition space was opened; the `Message-ID` header of the mail is built from it and the mail is sent at most once.
-
type
(
string
, possibleValues:
-
Shared Attachments - The shared attachments object
{- language ( string ): The locale string
- enabled ( boolean ): The enabled flag
- autodelete ( boolean ): The auto delete flag
- expiryDate ( integer ): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password ( string ): The password
-
Security - The security settings
{- encrypt ( boolean ): No description available
- encryptDraft ( boolean ): No description available
- addAutocrypt ( boolean ): No description available
- pgpInline ( boolean ): No description available
- sign ( boolean ): No description available
- language ( string ): No description available
- message ( string ): No description available
- pin ( string ): No description available
- msgRef ( string ): No description available
- authentication ( string ): No description available
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string harddelete (empty) Flag to hard delete the associated draft message, meaning not to create a backup copy in default trash if set to `true`.
query boolean clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
deleteMailComposeByIdResponse
{- data ( data ): No description available
-
data
{- success ( boolean ): True if such a composition space has been successfully closed; false otherwise
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Payload is JSON that reflects changes. Response is the current composition space message model after update. Note that it is not possible to change the attachments collection during this call.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Body:
Description:An object containing the attributes to update
Content-type: application/json-
MailComposeRequestMessageModel
{- id ( string ): An identifier
- from ( Address ): Flat array of two strings. First item is display name, second item is email address.
- sender ( Address ): Flat array of two strings. First item is display name, second item is email address.
- to ( array[array[string]] ): An array of addresses
- cc ( array[array[string]] ): An array of addresses
- bcc ( array[array[string]] ): An array of addresses
- subject ( string ): The subject
- content ( string ): The text content
-
contentType
(
string
, possibleValues:
text/plaintext/htmlmultipart/alternative
- attachments ( array[object] ): An array of attachments
- meta ( Meta ): Object of meta information
- requestReadReceipt ( boolean ): Request read receipt flag
-
priority
(
string
, possibleValues:
lownormalhigh
- sharedAttachments ( Shared Attachments ): The shared attachments object
- security ( Security ): The security settings
- claim ( string ): A unique client token to prevent conflicts due to concurrent editing. Must be a 16-character string consisting of [a-zA-Z0-9] only. If set, any request with a different token to check against will fail with MSGCS-0010. Note that requests with clientToken as query parameter will always succeed for backwards-compatibility!
- dateToSend ( string ): The time when the mail is supposed to be sent as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z".
-
Meta - Object of meta information
{-
type
(
string
, possibleValues:
newreplyreply_allforward-inlineforward_attachmentresend
-
date
(
integer
):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId ( string ): Original folder id during reply or forward
- originalId ( string ): Original message id during reply or forward
- clientMessageId ( string ): The client message identifier given when the composition space was opened; the `Message-ID` header of the mail is built from it and the mail is sent at most once.
-
type
(
string
, possibleValues:
-
Shared Attachments - The shared attachments object
{- language ( string ): The locale string
- enabled ( boolean ): The enabled flag
- autodelete ( boolean ): The auto delete flag
- expiryDate ( integer ): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password ( string ): The password
-
Security - The security settings
{- encrypt ( boolean ): No description available
- encryptDraft ( boolean ): No description available
- addAutocrypt ( boolean ): No description available
- pgpInline ( boolean ): No description available
- sign ( boolean ): No description available
- language ( string ): No description available
- message ( string ): No description available
- pin ( string ): No description available
- msgRef ( string ): No description available
- authentication ( string ): No description available
Responses:
200:
A JSON object containing the updated composition space.
Content-type: application/json-
MailComposeResponse
{- data ( MailComposeResponseMessageModel ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailComposeResponseMessageModel
{- id ( string ): The identifier
- from ( Address ): Flat array of two strings. First item is display name, second item is email address.
- sender ( Address ): Flat array of two strings. First item is display name, second item is email address.
- to ( array[array[string]] ): An array of addresses
- cc ( array[array[string]] ): An array of addresses
- bcc ( array[array[string]] ): An array of addresses
- subject ( string ): The subject
- content ( string ): The text content
-
contentType
(
string
, possibleValues:
text/plaintext/htmlmultipart/alternative
- attachments ( array[object] ): An array of attachments
- meta ( Meta ): Object of meta information
- requestReadReceipt ( boolean ): Request read receipt flag
-
priority
(
string
, possibleValues:
lownormalhigh
- sharedAttachments ( Shared Attachments ): The shared attachments object
- security ( Security ): The security settings
- customHeaders ( customHeaders ): No description available
- mailPath ( mailPath ): The path to the draft message reflecting composition space
-
dateToSend
(
string
):
UTC timestamp when the resulting mail is supposed to be sent (in format
yyyyMMdd'T'HHmmss'Z') - scheduledMailId ( string ): The identifier of the scheduled mail if any already associated with this composition space
- capabilities ( array[string] ): An array of available capabilities for this composition space
-
Meta - Object of meta information
{-
type
(
string
, possibleValues:
newreplyreply_allforward-inlineforward_attachmentresend
-
date
(
integer
):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId ( string ): Original folder id during reply or forward
- originalId ( string ): Original message id during reply or forward
- clientMessageId ( string ): The client message identifier given when the composition space was opened; the `Message-ID` header of the mail is built from it and the mail is sent at most once.
-
type
(
string
, possibleValues:
-
Shared Attachments - The shared attachments object
{- language ( string ): The locale string
- enabled ( boolean ): The enabled flag
- autodelete ( boolean ): The auto delete flag
- expiryDate ( integer ): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password ( string ): The password
-
Security - The security settings
{- encrypt ( boolean ): No description available
- encryptDraft ( boolean ): No description available
- addAutocrypt ( boolean ): No description available
- pgpInline ( boolean ): No description available
- sign ( boolean ): No description available
- language ( string ): No description available
- message ( string ): No description available
- pin ( string ): No description available
- msgRef ( string ): No description available
- authentication ( string ): No description available
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Body:
Description:No description available
Content-type: multipart/form-data-
postAttachmentsBody
{- file ( string ): The file to add. Either this field or field `JSON` is required.
-
contentDisposition
(
string
, possibleValues:
attachmentinline
- JSON ( string ): A JSON object denoting an attachment to add from another source if no file is uploaded. Its field `origin` selects the source: "drive" with field `id` (or `ids` for several files) and optional `version`; "mail" with fields `id`, `folderId` and `attachmentId`; "contacts" with fields `id` and `folderId` to attach the contact's vCard.
Responses:
200:
A JSON object containing the newly added attachment.
Content-type: application/json-
MailComposeAttachmentResponse
{- data ( Attachment result ): An attachment object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Attachment result - An attachment object.
{- attachments ( array[MailComposeAttachment] ): No description available
- compositionSpace ( Attachment ): A compositon space info object.
-
Attachment - An attachment object.
{- id ( string ): The attachment id
- name ( string ): The attachment name
- size ( integer ): The attachments size in bytes
- mimeType ( string ): The mime type
- cid ( string ): The attachments content identifier
-
contentDisposition
(
string
, possibleValues:
INLINEATTACHMENT
-
origin
(
string
, possibleValues:
UPLOADMAILDRIVECONTACTVCARD
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Responses:
200:
A JSON array containing the added attachments to concat.
Content-type: application/json-
MailComposeAttachmentPostResponse
{- data ( Attachment result ): An attachment object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Attachment result - An attachment object.
{- attachments ( array[MailComposeAttachment] ): No description available
- compositionSpace ( Attachment ): A compositon space info object.
-
Attachment - An attachment object.
{- id ( string ): The attachment id
- name ( string ): The attachment name
- size ( integer ): The attachments size in bytes
- mimeType ( string ): The mime type
- cid ( string ): The attachments content identifier
-
contentDisposition
(
string
, possibleValues:
INLINEATTACHMENT
-
origin
(
string
, possibleValues:
UPLOADMAILDRIVECONTACTVCARD
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Responses:
200:
A JSON object containing the new attachment.
Content-type: application/json-
MailComposeAttachmentResponse
{- data ( Attachment result ): An attachment object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Attachment result - An attachment object.
{- attachments ( array[MailComposeAttachment] ): No description available
- compositionSpace ( Attachment ): A compositon space info object.
-
Attachment - An attachment object.
{- id ( string ): The attachment id
- name ( string ): The attachment name
- size ( integer ): The attachments size in bytes
- mimeType ( string ): The mime type
- cid ( string ): The attachments content identifier
-
contentDisposition
(
string
, possibleValues:
INLINEATTACHMENT
-
origin
(
string
, possibleValues:
UPLOADMAILDRIVECONTACTVCARD
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
This URL pattern can be used for inline images. Any attachment but an image requires the session identifier as query parameter
session.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string attachmentId (empty) The ID of the attachment; for DELETE a comma-separated list of attachment IDs
path string Responses:
200:
The attachment as file.
Content-type: application/json-
Unknown
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Uploads an attachment again and removes the old attachment from the server. Used for image resize.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string attachmentId (empty) The ID of the attachment; for DELETE a comma-separated list of attachment IDs
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Body:
Description:No description available
Content-type: multipart/form-data-
postAttachmentsBody
{- file ( string , required ): The file to add
-
contentDisposition
(
string
, possibleValues:
attachmentinline
Responses:
200:
A JSON object containing the newly added attachment.
Content-type: application/json-
MailComposeAttachmentResponse
{- data ( Attachment result ): An attachment object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Attachment result - An attachment object.
{- attachments ( array[MailComposeAttachment] ): No description available
- compositionSpace ( Attachment ): A compositon space info object.
-
Attachment - An attachment object.
{- id ( string ): The attachment id
- name ( string ): The attachment name
- size ( integer ): The attachments size in bytes
- mimeType ( string ): The mime type
- cid ( string ): The attachments content identifier
-
contentDisposition
(
string
, possibleValues:
INLINEATTACHMENT
-
origin
(
string
, possibleValues:
UPLOADMAILDRIVECONTACTVCARD
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string attachmentId (empty) The ID of the attachment; for DELETE a comma-separated list of attachment IDs
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Responses:
200:
A JSON object containing the current state of the mail compose
Content-type: application/json-
MailComposeAttachmentResponse
{- data ( Attachment result ): An attachment object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Attachment result - An attachment object.
{- attachments ( array[MailComposeAttachment] ): No description available
- compositionSpace ( Attachment ): A compositon space info object.
-
Attachment - An attachment object.
{- id ( string ): The attachment id
- name ( string ): The attachment name
- size ( integer ): The attachments size in bytes
- mimeType ( string ): The mime type
- cid ( string ): The attachments content identifier
-
contentDisposition
(
string
, possibleValues:
INLINEATTACHMENT
-
origin
(
string
, possibleValues:
UPLOADMAILDRIVECONTACTVCARD
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Body:
Description:No description available
Content-type: multipart/form-data-
postReferencedAttachmentBody
{- JSON ( string , required ): A JSON object denoting the attachment to add. Its field `origin` selects the source: "drive" with field `id` (or `ids` for several files) and optional `version`; "mail" with fields `id`, `folderId` and `attachmentId`; "contacts" with fields `id` and `folderId` to attach the contact's vCard. The request is handled like `POST /mail/compose/{id}/attachments`.
-
contentDisposition
(
string
, possibleValues:
attachmentinline
Responses:
200:
A JSON object containing the newly added attachment.
Content-type: application/json-
MailComposeAttachmentResponse
{- data ( Attachment result ): An attachment object.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Attachment result - An attachment object.
{- attachments ( array[MailComposeAttachment] ): No description available
- compositionSpace ( Attachment ): A compositon space info object.
-
Attachment - An attachment object.
{- id ( string ): The attachment id
- name ( string ): The attachment name
- size ( integer ): The attachments size in bytes
- mimeType ( string ): The mime type
- cid ( string ): The attachments content identifier
-
contentDisposition
(
string
, possibleValues:
INLINEATTACHMENT
-
origin
(
string
, possibleValues:
UPLOADMAILDRIVECONTACTVCARD
-
mailPath - The path to the draft message reflecting composition space
{- id ( string ): The identifier of the draft message
- folderId ( string ): The identifier of the folder in which the draft message resides
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string Body:
Description:No description available
Content-type: multipart/form-data-
postMailComposeSaveBody
{- JSON ( string ): Optional changes to apply before saving, as JSON string containing the RequestMessageModel.
- file ( string ): The optional file to add
Responses:
200:
The path to the mail.
Content-type: application/json-
MailComposeSendResponse
{- data ( MailComposeMailPathModel ): No description available
- duplicate ( boolean ): Present with value `true` if the mail has been sent before with the same client message identifier and was not sent again.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailComposeMailPathModel
{- id ( string ): The mail identifier within the folder
- folderId ( string ): The mail folder identifier
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Space gets deleted. Optionally deletes draft if referenced.
A mail with a client message identifier is sent at most once; see parameter
clientMessageId. A mail that has been sent before is not sent again and the response carries the fieldduplicatewith valuetrue.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the composition space
path string clientToken (empty) The client token to check against for preventing concurrent editing. Must be the one set during open or PATCH before.
query string sentMailAccountId (empty) The identifier of the mail account into whose standard "Sent" folder the sent message is supposed to be stored; e.g. `0` to store it in the primary account's standard "Sent" folder. If not set (or set to a value less than `0`), the standard "Sent" folder of the account that is used for transport is assumed. Must not denote a transport-only account.
query integer deleteDraftAfterTransport (empty) Whether the draft message referenced by the composition space is deleted after the mail has been sent.
query boolean Idempotency-Key (empty) A key the client generates for this request, e.g. a UUID; see the IETF draft "The Idempotency-Key HTTP Header Field". A retry with the same key does not perform the request again but gets the result of the first one, marked with the response header `Idempotent-Replayed: true`. The result of sending a mail is kept for 7 days. Use the key only for automatic retries of the identical request; use a new key once the request changes, e.g. after the user corrected an input. An error that would recur for the same request (categories USER_INPUT, PERMISSION_DENIED, CONFLICT, TRUNCATED) is kept as result, for at most an hour. A replayed error carries no `Idempotent-Replayed` header. Errors: `IDEM-0001` for a malformed key, `IDEM-0002` while the first request with this key still runs (retry a few seconds later), `IDEM-0003` if the key has been used for another request, `IDEM-0004` if the first request has been performed but its result has not been kept, `IDEM-0008` if a mail is to be sent but the key cannot be checked right now (nothing was sent; retry later). The REST API answers `IDEM-0001` with status `400`, `IDEM-0003` with status `422`, `IDEM-0008` with status `503` and the others with status `409`. For a body sent as upload or raw MIME, only its media type tells requests apart; reusing a key for another such body is not detected.
header string clientMessageId (empty) The client message identifier of the mail, a UUID; see parameter `clientMessageId` when opening the composition space. If the composition space has been opened with one, the same value must be given (else error `IDEM-0007`); if not, the given one applies: the `Message-ID` header is built from it and the mail is sent at most once. Pass it on every attempt: a retry that finds the composition space gone after the first send, because the response got lost, then gets the result of the first send with `duplicate` set to `true` instead of an error.
query string Body:
Description:No description available
Content-type: multipart/form-data-
postMailComposeSendBody
{- JSON ( string ): Represents the request body as JSON string containing the RequestMessageModel. Note that it is not possible to change the attachments collection during this call. Furthermore changing shared attachments or Guard options during this call is discouraged and might lead to unexpected results.
- file ( string ): The optional file to add
Responses:
200:
The path to the sent mail or {"success"=true}.Content-type: application/json-
MailComposeSendResponse
{- data ( MailComposeMailPathModel ): No description available
- duplicate ( boolean ): Present with value `true` if the mail has been sent before with the same client message identifier and was not sent again.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailComposeMailPathModel
{- id ( string ): The mail identifier within the folder
- folderId ( string ): The mail folder identifier
400:
Bad request, response contains error message.
401:
Not authorized
-
-
-
Mailfilter
The mailfilter module is used to access all mail filter related options. First of all the main structure of a mail filter script is, that it has different rules. Each of them contains one command. This command takes a test condition which executes the actions given in that command if the test condition is true. The test condition consists of a test command and some arguments for this on the mail filter server, these tests must be determined at runtime. So that no test field is transferred to the server which it isn't able to handle. Examples for tests are `address`, `allof` and `anyof`. Each test has a special comparison. The list of available comparisons depends on the test given and the mail filter server configuration so they have to be determined at runtime too. See chapter Mail filter for more information.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters accountid and username must not be set at the same time.
query string folderId (empty) The id of the folder the sieve rule should be applied to. If missing the rule will be applied to the inbox.
query string id (empty) The id of the sieve rule which should be applied.
query integer accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean Responses:
200:
An array with one result per mail the rule was applied to, carrying the result type `OK`, `ERRORS` or `WARNINGS` and, for the latter two, a description of the errors or warnings. If `allow_enqueue` is set and the request does not finish in time, it continues as a background job and the response describes that job instead. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterApplyResponse
{- data ( array[object] ): The results per mail
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string folderId (empty) The id of the folder the sieve rule should be applied to. If missing the rule will be applied to the inbox.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean Body:
Description:A JSON object describing the mail filter rule to apply. The rule is not stored.
Content-type: application/json-
MailFilterRulev2Request
{- id ( integer ): A unique identifier of the rule (once created must not be changed).
- position ( integer ): The position inside the mail filter list (starts with 0).
- rulename ( string ): A name describing the rule, can be empty but must not contain a line break.
- active ( boolean ): If this rule is active or not.
- flags ( array[string] ): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test ( MailFilterTestv2 ): No description available
- actioncmds ( array[MailFilterAction] ): An array of action commands. On update, the array replaces the rule's stored action commands completely: commands and fields that are not submitted are removed from the rule. Sole exception: a vacation action without a "vacationMode" field preserves an existing internal/external structure (see the vacation action's "vacationMode"). A rule holds at most one vacation action command; a payload carrying several is rejected with error MAIL_FILTER-0045.
-
MailFilterTestv2
{- test ( MailFilterNotTestv2 ): A test object which result will be negated.
- id ( string ): The name of the test command, see Possible tests and Simplified tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test, string-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
- source ( array[string] ): The source field of the "string" test. The source strings will be matched against the specified values. The "string" test evaluates to true if any of the source strings matches any value.
-
MailFilterNotTestv2 - A test object which result will be negated.
{- id ( string ): The name of the test command, see Possible tests and Simplified tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test, string-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
- source ( array[string] ): The source field of the "string" test. The source strings will be matched against the specified values. The "string" test evaluates to true if any of the source strings matches any value.
-
MailFilterAction
{- id ( string ): A string defining the object itself (e.g. "keep" or "discard").
- to ( string ): A string containing where the mail should be redirected to (for redirect-command).
- into ( string ): This string takes the object id of the destination mail folder (for move-command).
- text ( string ): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days ( string ): The days for which a vacation text is returned (for vacation-command).
- seconds ( string ): The seconds for which a vacation text is returned (for vacation-command).
- addresses ( array[string] ): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from
(
from
):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject ( string ): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command). Must be a single line when written through the v2 interface: a value containing line breaks is rejected with error MAIL_FILTER-0044.
-
vacationMode
(
string
, possibleValues:
allsplitinternalOnly
- subjectExt ( string ): The subject of the vacation notice sent to external senders. Optional and only allowed in mode "split" together with "textExt"; if absent or empty, the notice sent to external senders gets the subject generated by the mail system ("Auto: " followed by the subject of the incoming message, see RFC 5230) - the internal "subject" is never applied to external senders. On read, the field is present exactly when it was set. Must be a single line: a value containing line breaks is rejected with error MAIL_FILTER-0044. Whether a sender is internal or external is decided by the server: the mail platform stamps a classifier header on every delivered message, marking the sender as external or internal; a message carrying no such mark (or contradictory marks) receives no vacation notice at all. Only supported by the v2 interface (for vacation-command).
- textExt ( string ): The text of the vacation notice sent to external senders. Required by and only allowed in mode "split": internal senders receive "subject"/"text", external senders "subjectExt"/"textExt". On read, the field is present exactly when it was set. On update, the submitted vacation command replaces the stored one completely; the mode transition is explicit - "vacationMode": "all" turns an extended rule back into a plain notice, while a vacation action without any "vacationMode" preserves an existing internal/external structure (see "vacationMode"). Requires the server to enable the internal/external vacation feature, announced in the config action as "vacationInternalAvailable"; otherwise the request is rejected with error MAIL_FILTER-0043. Only supported by the v2 interface (for vacation-command).
- flags ( array[string] ): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message ( string ): The content of the notification message (for notify-command).
- method ( string ): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys ( array[string] ): The public keys which should be used for encryption (for pgp-command).
- copy ( boolean ): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
An array with one result per mail the rule was applied to, carrying the result type `OK`, `ERRORS` or `WARNINGS` and, for the latter two, a description of the errors or warnings. If `allow_enqueue` is set and the request does not finish in time, it continues as a background job and the response describes that job instead. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterApplyResponse
{- data ( array[object] ): The results per mail
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
A mail filter can have different rules each containing one command. A command has a test condition and actions that are executed if the condition is true. The list of available comparisions (that can be used in test conditions) and the list of available actions depends on a given test and the mail filter server configuration and must be determined at runtime.
All those dynamic values can be fetched via a config object at startup, which shows the capabilities of the server to the client.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer Responses:
200:
A JSON object with the fields `tests` (containing an array of available test-objects, see Possible tests.) and `actioncommands` (containing an array of valid actions. See Possible action commands). In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterConfigResponsev2
{- data ( MailFilterConfigDatav2 ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailFilterConfigDatav2
{- tests ( array[MailFilterConfigTestv2] ): Array of available test-objects.
- actioncmds ( array[MailFilterConfigAction] ): Array of available action-objects.
- options ( Options ): A options object containing additional information for the client. Besides the fields listed here, it carries the extended properties announced by the Sieve server, keyed by their capability name, e.g. `MAXREDIRECTS` with an integer value.
-
MailFilterConfigTestv2
{- id ( string ): The name of the test, see Possible tests and Simplified tests.
- comparisons ( array[string] ): An array of the valid comparison types for this test, see Possible comparisons. Omitted if the test offers no comparison type.
- headers ( array[string] ): An array of valid headers for the envelope and address tests.
- parts ( array[string] ): An array of valid address parts for the envelope and address tests.
-
Options - A options object containing additional information for the client. Besides the fields listed here, it carries the extended properties announced by the Sieve server, keyed by their capability name, e.g. `MAXREDIRECTS` with an integer value.
{- allowNestedTests ( boolean ): Defines if nested rules should be allowed by the client or not.
- blockedApplyActions ( blockedApplyActions ): A list of action commands which are blocked by the apply action. Only present if at least one action command is blocked.
- vacationMinimumIntervalSeconds ( integer ): The minimum number of seconds between two vacation notices to the same sender that the "seconds" field of the vacation action may request. Only present when the Sieve server supports the "vacation-seconds" extension and the operator configured a minimum; when absent, rules have to use the day-based interval ("days").
- vacationInternalAvailable ( boolean ): Announces whether the extended (internal/external) vacation rules are available: the operator has switched the feature on (com.openexchange.mail.filter.options.vacation.internal.enabled) AND configured the classifier header. Clients should offer the "split" and "internalOnly" vacation modes and the "subjectExt"/"textExt" fields of the vacation action only when true; requests introducing them while unavailable are rejected. Clients supporting the extended fields keep sending "vacationMode" on every vacation write regardless of this announcement - for an EXISTING extended rule by echoing the mode they read: rules that already carry the extended structure stay editable with their modes while the feature is unavailable, and availability can also flip temporarily (a misconfigured classifier header, a cascade override), so a routine edit must not degrade the rule. Downgrading to "all" is an explicit user choice and deserves a warning in the client. False despite an enabled toggle means the classifier header is missing or invalid, or the vacation action itself is not offered by the mail filter service.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer Body:
Description:A JSON object with the ID of the rule to delete.
Content-type: application/json-
MailFilterDeletionBody
{- id ( integer ): The ID of the rule that shall be deleted.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
This call is only used as workaround for parsing errors in the backend, so that the user is able to kick a whole script if it contains errors in the grammar.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
This call is only used as workaround for parsing errors in the backend, so that the user is able to get the plaintext of a complete script.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer Responses:
200:
A JSON object with the text of the complete sieve script. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterScriptResponse
{- data ( string ): The mail filter script.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type flags (empty) A comma-separated list containing the flags to check the rules for.
query string firstOnly (empty) trueif only the first flagged rule should be inspected,falseto check anyquery boolean username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer Responses:
200:
A JSON object with the requested flags as keys, each associated with a boolean value indicating whether there are any rules active with the corresponding flag. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterHasActiveResponse
{- data ( data ): The requested flags as keys, each mapped to whether an active rule carries that flag.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_mail
Parameters:
Parameter Value Description Parameter Type Data Type flag If given, only rules with this flag are returned; `all` returns all rules. Rules flagged `category` or `syscategory` are only returned when that flag is requested. Any other value fails with `MAIL_FILTER-0026`.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer Responses:
200:
A JSON object with an array of rule-objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterRulesResponsev2
{- data ( array[MailFilterRulev2Response] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailFilterRulev2Response
{- id ( integer ): A unique identifier of the rule (once created must not be changed).
- position ( integer ): The position inside the mail filter list (starts with 0).
- rulename ( string ): A name describing the rule, can be empty but must not contain a line break.
- active ( boolean ): If this rule is active or not.
- flags ( array[string] ): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test ( MailFilterTestv2 ): No description available
- actioncmds ( array[MailFilterAction] ): An array of action commands.
- text ( string ): If this rule cannot be read in this string is filled containing the whole lines of this command.
- errormsg ( string ): If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn't known. Also set for multi-branch rules that cannot be edited through this interface; such rules are still reported with the `test` and `actioncmds` of their leading branch.
- lastModified ( integer ): The last modified timestamp of the rule. Only present if the rule carries one.
-
MailFilterTestv2
{- test ( MailFilterNotTestv2 ): A test object which result will be negated.
- id ( string ): The name of the test command, see Possible tests and Simplified tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test, string-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
- source ( array[string] ): The source field of the "string" test. The source strings will be matched against the specified values. The "string" test evaluates to true if any of the source strings matches any value.
-
MailFilterNotTestv2 - A test object which result will be negated.
{- id ( string ): The name of the test command, see Possible tests and Simplified tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test, string-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
- source ( array[string] ): The source field of the "string" test. The source strings will be matched against the specified values. The "string" test evaluates to true if any of the source strings matches any value.
-
MailFilterAction
{- id ( string ): A string defining the object itself (e.g. "keep" or "discard").
- to ( string ): A string containing where the mail should be redirected to (for redirect-command).
- into ( string ): This string takes the object id of the destination mail folder (for move-command).
- text ( string ): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days ( string ): The days for which a vacation text is returned (for vacation-command).
- seconds ( string ): The seconds for which a vacation text is returned (for vacation-command).
- addresses ( array[string] ): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from
(
from
):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject ( string ): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command). Must be a single line when written through the v2 interface: a value containing line breaks is rejected with error MAIL_FILTER-0044.
-
vacationMode
(
string
, possibleValues:
allsplitinternalOnly
- subjectExt ( string ): The subject of the vacation notice sent to external senders. Optional and only allowed in mode "split" together with "textExt"; if absent or empty, the notice sent to external senders gets the subject generated by the mail system ("Auto: " followed by the subject of the incoming message, see RFC 5230) - the internal "subject" is never applied to external senders. On read, the field is present exactly when it was set. Must be a single line: a value containing line breaks is rejected with error MAIL_FILTER-0044. Whether a sender is internal or external is decided by the server: the mail platform stamps a classifier header on every delivered message, marking the sender as external or internal; a message carrying no such mark (or contradictory marks) receives no vacation notice at all. Only supported by the v2 interface (for vacation-command).
- textExt ( string ): The text of the vacation notice sent to external senders. Required by and only allowed in mode "split": internal senders receive "subject"/"text", external senders "subjectExt"/"textExt". On read, the field is present exactly when it was set. On update, the submitted vacation command replaces the stored one completely; the mode transition is explicit - "vacationMode": "all" turns an extended rule back into a plain notice, while a vacation action without any "vacationMode" preserves an existing internal/external structure (see "vacationMode"). Requires the server to enable the internal/external vacation feature, announced in the config action as "vacationInternalAvailable"; otherwise the request is rejected with error MAIL_FILTER-0043. Only supported by the v2 interface (for vacation-command).
- flags ( array[string] ): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message ( string ): The content of the notification message (for notify-command).
- method ( string ): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys ( array[string] ): The public keys which should be used for encryption (for pgp-command).
- copy ( boolean ): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer Body:
Description:A JSON object describing the mail filter rule. If the field `position` is included, it's taken as the position of the rule in the array on the server side (this value shouldn't be greater than the size of all rules).
Content-type: application/json-
MailFilterRulev2Request
{- id ( integer ): A unique identifier of the rule (once created must not be changed).
- position ( integer ): The position inside the mail filter list (starts with 0).
- rulename ( string ): A name describing the rule, can be empty but must not contain a line break.
- active ( boolean ): If this rule is active or not.
- flags ( array[string] ): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test ( MailFilterTestv2 ): No description available
- actioncmds ( array[MailFilterAction] ): An array of action commands. On update, the array replaces the rule's stored action commands completely: commands and fields that are not submitted are removed from the rule. Sole exception: a vacation action without a "vacationMode" field preserves an existing internal/external structure (see the vacation action's "vacationMode"). A rule holds at most one vacation action command; a payload carrying several is rejected with error MAIL_FILTER-0045.
-
MailFilterTestv2
{- test ( MailFilterNotTestv2 ): A test object which result will be negated.
- id ( string ): The name of the test command, see Possible tests and Simplified tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test, string-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
- source ( array[string] ): The source field of the "string" test. The source strings will be matched against the specified values. The "string" test evaluates to true if any of the source strings matches any value.
-
MailFilterNotTestv2 - A test object which result will be negated.
{- id ( string ): The name of the test command, see Possible tests and Simplified tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test, string-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
- source ( array[string] ): The source field of the "string" test. The source strings will be matched against the specified values. The "string" test evaluates to true if any of the source strings matches any value.
-
MailFilterAction
{- id ( string ): A string defining the object itself (e.g. "keep" or "discard").
- to ( string ): A string containing where the mail should be redirected to (for redirect-command).
- into ( string ): This string takes the object id of the destination mail folder (for move-command).
- text ( string ): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days ( string ): The days for which a vacation text is returned (for vacation-command).
- seconds ( string ): The seconds for which a vacation text is returned (for vacation-command).
- addresses ( array[string] ): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from
(
from
):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject ( string ): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command). Must be a single line when written through the v2 interface: a value containing line breaks is rejected with error MAIL_FILTER-0044.
-
vacationMode
(
string
, possibleValues:
allsplitinternalOnly
- subjectExt ( string ): The subject of the vacation notice sent to external senders. Optional and only allowed in mode "split" together with "textExt"; if absent or empty, the notice sent to external senders gets the subject generated by the mail system ("Auto: " followed by the subject of the incoming message, see RFC 5230) - the internal "subject" is never applied to external senders. On read, the field is present exactly when it was set. Must be a single line: a value containing line breaks is rejected with error MAIL_FILTER-0044. Whether a sender is internal or external is decided by the server: the mail platform stamps a classifier header on every delivered message, marking the sender as external or internal; a message carrying no such mark (or contradictory marks) receives no vacation notice at all. Only supported by the v2 interface (for vacation-command).
- textExt ( string ): The text of the vacation notice sent to external senders. Required by and only allowed in mode "split": internal senders receive "subject"/"text", external senders "subjectExt"/"textExt". On read, the field is present exactly when it was set. On update, the submitted vacation command replaces the stored one completely; the mode transition is explicit - "vacationMode": "all" turns an extended rule back into a plain notice, while a vacation action without any "vacationMode" preserves an existing internal/external structure (see "vacationMode"). Requires the server to enable the internal/external vacation feature, announced in the config action as "vacationInternalAvailable"; otherwise the request is rejected with error MAIL_FILTER-0043. Only supported by the v2 interface (for vacation-command).
- flags ( array[string] ): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message ( string ): The content of the notification message (for notify-command).
- method ( string ): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys ( array[string] ): The public keys which should be used for encryption (for pgp-command).
- copy ( boolean ): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
A JSON object containing the ID of the newly created rule. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterCreationResponse
{- data ( integer ): The id of the newly created rule.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer Body:
Description:A JSON array with unique identifiers, which represents how the corresponding rules are order.
Content-type: application/json
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_mail
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`. The parameters **accountid** and **username** must not be set at the same time.
query string accountid (empty) The ID of the mail account associated with the sieve rule. The parameters **accountid** and **username** must not be set at the same time.
query integer Body:
Description:A JSON object describing the rule with the `id` set (which identifies the rule to change). Only modified fields are present.
Content-type: application/json-
MailFilterRulev2Request
{- id ( integer ): A unique identifier of the rule (once created must not be changed).
- position ( integer ): The position inside the mail filter list (starts with 0).
- rulename ( string ): A name describing the rule, can be empty but must not contain a line break.
- active ( boolean ): If this rule is active or not.
- flags ( array[string] ): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test ( MailFilterTestv2 ): No description available
- actioncmds ( array[MailFilterAction] ): An array of action commands. On update, the array replaces the rule's stored action commands completely: commands and fields that are not submitted are removed from the rule. Sole exception: a vacation action without a "vacationMode" field preserves an existing internal/external structure (see the vacation action's "vacationMode"). A rule holds at most one vacation action command; a payload carrying several is rejected with error MAIL_FILTER-0045.
-
MailFilterTestv2
{- test ( MailFilterNotTestv2 ): A test object which result will be negated.
- id ( string ): The name of the test command, see Possible tests and Simplified tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test, string-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
- source ( array[string] ): The source field of the "string" test. The source strings will be matched against the specified values. The "string" test evaluates to true if any of the source strings matches any value.
-
MailFilterNotTestv2 - A test object which result will be negated.
{- id ( string ): The name of the test command, see Possible tests and Simplified tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test, string-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
- source ( array[string] ): The source field of the "string" test. The source strings will be matched against the specified values. The "string" test evaluates to true if any of the source strings matches any value.
-
MailFilterAction
{- id ( string ): A string defining the object itself (e.g. "keep" or "discard").
- to ( string ): A string containing where the mail should be redirected to (for redirect-command).
- into ( string ): This string takes the object id of the destination mail folder (for move-command).
- text ( string ): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days ( string ): The days for which a vacation text is returned (for vacation-command).
- seconds ( string ): The seconds for which a vacation text is returned (for vacation-command).
- addresses ( array[string] ): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from
(
from
):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject ( string ): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command). Must be a single line when written through the v2 interface: a value containing line breaks is rejected with error MAIL_FILTER-0044.
-
vacationMode
(
string
, possibleValues:
allsplitinternalOnly
- subjectExt ( string ): The subject of the vacation notice sent to external senders. Optional and only allowed in mode "split" together with "textExt"; if absent or empty, the notice sent to external senders gets the subject generated by the mail system ("Auto: " followed by the subject of the incoming message, see RFC 5230) - the internal "subject" is never applied to external senders. On read, the field is present exactly when it was set. Must be a single line: a value containing line breaks is rejected with error MAIL_FILTER-0044. Whether a sender is internal or external is decided by the server: the mail platform stamps a classifier header on every delivered message, marking the sender as external or internal; a message carrying no such mark (or contradictory marks) receives no vacation notice at all. Only supported by the v2 interface (for vacation-command).
- textExt ( string ): The text of the vacation notice sent to external senders. Required by and only allowed in mode "split": internal senders receive "subject"/"text", external senders "subjectExt"/"textExt". On read, the field is present exactly when it was set. On update, the submitted vacation command replaces the stored one completely; the mode transition is explicit - "vacationMode": "all" turns an extended rule back into a plain notice, while a vacation action without any "vacationMode" preserves an existing internal/external structure (see "vacationMode"). Requires the server to enable the internal/external vacation feature, announced in the config action as "vacationInternalAvailable"; otherwise the request is rejected with error MAIL_FILTER-0043. Only supported by the v2 interface (for vacation-command).
- flags ( array[string] ): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message ( string ): The content of the notification message (for notify-command).
- method ( string ): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys ( array[string] ): The public keys which should be used for encryption (for pgp-command).
- copy ( boolean ): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
A mail filter can have different rules each containing one command. A command has a test condition and actions that are executed if the condition is true. The list of available comparisions (that can be used in test conditions) and the list of available actions depends on a given test and the mail filter server configuration and must be determined at runtime.
All those dynamic values can be fetched via a config object at startup, which shows the capabilities of the server to the client.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`.
query string Responses:
200:
A JSON object with the fields `tests` (containing an array of available test-objects, see Possible tests.) and `actioncommands` (containing an array of valid actions. See Possible action commands). In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterConfigResponse
{- data ( MailFilterConfigData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailFilterConfigData
{- tests ( array[MailFilterConfigTest] ): Array of available test-objects.
- actioncommands ( array[string] ): Array of available action commands.
- capabilities ( array[string] ): Array of supported imap capabilities
-
MailFilterConfigTest
{- test ( string ): The name of the test, see Possible tests.
- comparison ( array[string] ): An array of the valid comparison types for this test, see Possible comparisons.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`.
query string Body:
Description:A JSON object with the ID of the rule to delete.
Content-type: application/json-
MailFilterDeletionBody
{- id ( integer ): The ID of the rule that shall be deleted.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
This call is only used as workaround for parsing errors in the backend, so that the user is able to kick a whole script if it contains errors in the grammar.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
This call is only used as workaround for parsing errors in the backend, so that the user is able to get the plaintext of a complete script.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`.
query string Responses:
200:
A JSON object with the text of the complete sieve script. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterScriptResponse
{- data ( string ): The mail filter script.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type flag If given, only rules with this flag are returned; `all` returns all rules. Rules flagged `category` or `syscategory` are only returned when that flag is requested. Any other value fails with `MAIL_FILTER-0026`.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`.
query string Responses:
200:
A JSON object with an array of rule-objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterRulesResponse
{- data ( array[MailFilterRuleResponse] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MailFilterRuleResponse
{- id ( integer ): A unique identifier of the rule (once created must not be changed).
- position ( integer ): The position inside the mail filter list (starts with 0).
- rulename ( string ): A name describing the rule, can be empty but must not contain a line break.
- active ( boolean ): If this rule is active or not.
- flags ( array[string] ): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test ( MailFilterTest ): No description available
- actioncmds ( array[MailFilterAction] ): An array of action commands.
- text ( string ): If this rule cannot be read in this string is filled containing the whole lines of this command.
- errormsg ( string ): If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn't known.
- lastModified ( integer ): The last modified timestamp of the rule. Only present if the rule carries one.
-
MailFilterTest
{- test ( MailFilterNotTest ): A test object which result will be negated.
- id ( string ): The name of the test command, see Possible tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTest - A test object which result will be negated.
{- id ( string ): The name of the test command, see Possible tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction
{- id ( string ): A string defining the object itself (e.g. "keep" or "discard").
- to ( string ): A string containing where the mail should be redirected to (for redirect-command).
- into ( string ): This string takes the object id of the destination mail folder (for move-command).
- text ( string ): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days ( string ): The days for which a vacation text is returned (for vacation-command).
- seconds ( string ): The seconds for which a vacation text is returned (for vacation-command).
- addresses ( array[string] ): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from
(
from
):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject ( string ): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command). Must be a single line when written through the v2 interface: a value containing line breaks is rejected with error MAIL_FILTER-0044.
-
vacationMode
(
string
, possibleValues:
allsplitinternalOnly
- subjectExt ( string ): The subject of the vacation notice sent to external senders. Optional and only allowed in mode "split" together with "textExt"; if absent or empty, the notice sent to external senders gets the subject generated by the mail system ("Auto: " followed by the subject of the incoming message, see RFC 5230) - the internal "subject" is never applied to external senders. On read, the field is present exactly when it was set. Must be a single line: a value containing line breaks is rejected with error MAIL_FILTER-0044. Whether a sender is internal or external is decided by the server: the mail platform stamps a classifier header on every delivered message, marking the sender as external or internal; a message carrying no such mark (or contradictory marks) receives no vacation notice at all. Only supported by the v2 interface (for vacation-command).
- textExt ( string ): The text of the vacation notice sent to external senders. Required by and only allowed in mode "split": internal senders receive "subject"/"text", external senders "subjectExt"/"textExt". On read, the field is present exactly when it was set. On update, the submitted vacation command replaces the stored one completely; the mode transition is explicit - "vacationMode": "all" turns an extended rule back into a plain notice, while a vacation action without any "vacationMode" preserves an existing internal/external structure (see "vacationMode"). Requires the server to enable the internal/external vacation feature, announced in the config action as "vacationInternalAvailable"; otherwise the request is rejected with error MAIL_FILTER-0043. Only supported by the v2 interface (for vacation-command).
- flags ( array[string] ): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message ( string ): The content of the notification message (for notify-command).
- method ( string ): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys ( array[string] ): The public keys which should be used for encryption (for pgp-command).
- copy ( boolean ): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`.
query string Body:
Description:A JSON object describing the mail filter rule. If the field `position` is included, it's taken as the position of the rule in the array on the server side (this value shouldn't be greater than the size of all rules).
Content-type: application/json-
MailFilterRuleRequest
{- id ( integer ): A unique identifier of the rule (once created must not be changed).
- position ( integer ): The position inside the mail filter list (starts with 0).
- rulename ( string ): A name describing the rule, can be empty but must not contain a line break.
- active ( boolean ): If this rule is active or not.
- flags ( array[string] ): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test ( MailFilterTest ): No description available
- actioncmds ( array[MailFilterAction] ): An array of action commands.
-
MailFilterTest
{- test ( MailFilterNotTest ): A test object which result will be negated.
- id ( string ): The name of the test command, see Possible tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTest - A test object which result will be negated.
{- id ( string ): The name of the test command, see Possible tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction
{- id ( string ): A string defining the object itself (e.g. "keep" or "discard").
- to ( string ): A string containing where the mail should be redirected to (for redirect-command).
- into ( string ): This string takes the object id of the destination mail folder (for move-command).
- text ( string ): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days ( string ): The days for which a vacation text is returned (for vacation-command).
- seconds ( string ): The seconds for which a vacation text is returned (for vacation-command).
- addresses ( array[string] ): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from
(
from
):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject ( string ): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command). Must be a single line when written through the v2 interface: a value containing line breaks is rejected with error MAIL_FILTER-0044.
-
vacationMode
(
string
, possibleValues:
allsplitinternalOnly
- subjectExt ( string ): The subject of the vacation notice sent to external senders. Optional and only allowed in mode "split" together with "textExt"; if absent or empty, the notice sent to external senders gets the subject generated by the mail system ("Auto: " followed by the subject of the incoming message, see RFC 5230) - the internal "subject" is never applied to external senders. On read, the field is present exactly when it was set. Must be a single line: a value containing line breaks is rejected with error MAIL_FILTER-0044. Whether a sender is internal or external is decided by the server: the mail platform stamps a classifier header on every delivered message, marking the sender as external or internal; a message carrying no such mark (or contradictory marks) receives no vacation notice at all. Only supported by the v2 interface (for vacation-command).
- textExt ( string ): The text of the vacation notice sent to external senders. Required by and only allowed in mode "split": internal senders receive "subject"/"text", external senders "subjectExt"/"textExt". On read, the field is present exactly when it was set. On update, the submitted vacation command replaces the stored one completely; the mode transition is explicit - "vacationMode": "all" turns an extended rule back into a plain notice, while a vacation action without any "vacationMode" preserves an existing internal/external structure (see "vacationMode"). Requires the server to enable the internal/external vacation feature, announced in the config action as "vacationInternalAvailable"; otherwise the request is rejected with error MAIL_FILTER-0043. Only supported by the v2 interface (for vacation-command).
- flags ( array[string] ): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message ( string ): The content of the notification message (for notify-command).
- method ( string ): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys ( array[string] ): The public keys which should be used for encryption (for pgp-command).
- copy ( boolean ): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
A JSON object containing the ID of the newly created rule. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterCreationResponse
{- data ( integer ): The id of the newly created rule.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`.
query string Body:
Description:A JSON array with unique identifiers, which represents how the corresponding rules are order.
Content-type: application/json
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed. Admin mode is only available if `com.openexchange.mail.filter.userNameOverride.enabled` is `true`; otherwise a user name other than the session user's own fails with `SVL-0010`.
query string Body:
Description:A JSON object describing the rule with the `id` set (which identifies the rule to change). Only modified fields are present.
Content-type: application/json-
MailFilterRuleRequest
{- id ( integer ): A unique identifier of the rule (once created must not be changed).
- position ( integer ): The position inside the mail filter list (starts with 0).
- rulename ( string ): A name describing the rule, can be empty but must not contain a line break.
- active ( boolean ): If this rule is active or not.
- flags ( array[string] ): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test ( MailFilterTest ): No description available
- actioncmds ( array[MailFilterAction] ): An array of action commands.
-
MailFilterTest
{- test ( MailFilterNotTest ): A test object which result will be negated.
- id ( string ): The name of the test command, see Possible tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTest - A test object which result will be negated.
{- id ( string ): The name of the test command, see Possible tests.
- comparison ( string ): The comparison type, see Possible comparisons.
- addresspart ( string ): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers ( array[string] ): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header ( string ): The header field of the date test.
- values ( array[string] ): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size ( integer ): The size in bytes (for size-test).
- datepart ( string ): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue ( array[integer] ): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone ( string ): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey ( string ): The extension key (for body-test).
- extensionsvalue ( string ): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction
{- id ( string ): A string defining the object itself (e.g. "keep" or "discard").
- to ( string ): A string containing where the mail should be redirected to (for redirect-command).
- into ( string ): This string takes the object id of the destination mail folder (for move-command).
- text ( string ): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days ( string ): The days for which a vacation text is returned (for vacation-command).
- seconds ( string ): The seconds for which a vacation text is returned (for vacation-command).
- addresses ( array[string] ): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from
(
from
):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject ( string ): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command). Must be a single line when written through the v2 interface: a value containing line breaks is rejected with error MAIL_FILTER-0044.
-
vacationMode
(
string
, possibleValues:
allsplitinternalOnly
- subjectExt ( string ): The subject of the vacation notice sent to external senders. Optional and only allowed in mode "split" together with "textExt"; if absent or empty, the notice sent to external senders gets the subject generated by the mail system ("Auto: " followed by the subject of the incoming message, see RFC 5230) - the internal "subject" is never applied to external senders. On read, the field is present exactly when it was set. Must be a single line: a value containing line breaks is rejected with error MAIL_FILTER-0044. Whether a sender is internal or external is decided by the server: the mail platform stamps a classifier header on every delivered message, marking the sender as external or internal; a message carrying no such mark (or contradictory marks) receives no vacation notice at all. Only supported by the v2 interface (for vacation-command).
- textExt ( string ): The text of the vacation notice sent to external senders. Required by and only allowed in mode "split": internal senders receive "subject"/"text", external senders "subjectExt"/"textExt". On read, the field is present exactly when it was set. On update, the submitted vacation command replaces the stored one completely; the mode transition is explicit - "vacationMode": "all" turns an extended rule back into a plain notice, while a vacation action without any "vacationMode" preserves an existing internal/external structure (see "vacationMode"). Requires the server to enable the internal/external vacation feature, announced in the config action as "vacationInternalAvailable"; otherwise the request is rejected with error MAIL_FILTER-0043. Only supported by the v2 interface (for vacation-command).
- flags ( array[string] ): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message ( string ): The content of the notification message (for notify-command).
- method ( string ): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys ( array[string] ): The public keys which should be used for encryption (for pgp-command).
- copy ( boolean ): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
Manifests
The module for client configuration-
Provides the client configuration for the host name of the request. The configuration is the
defaultblock ofas-config-defaults.yml, overlaid by top-level key with everyas-config.ymlentry that applies to the host (host: all, an exacthostmatch or ahostRegexmatch). Config-cascade properties of the user are overlaid last as string values: first every property starting withcom.openexchange.appsuite.server, then every one starting withcom.openexchange.appsuite.serverConfig., each with that prefix stripped from the key. A value of<as-config>keeps the value from the YAML files.Keys from
as-config.ymlare passed to the client unchanged, including keys the middleware itself does not know (e.g.loginPage, defined by the App Suite UI). OnlynotificationMailsis removed from the response. The middleware addscapabilities,languages,hosts,serverVersion,prefixandforceHTTPSunless the configuration already defines them; SSO back-ends addoidcPath,samlPathandsamlSingleLogout.No session is required. If a session is given, it is verified like on any other call;
capabilitiesare then those of the session user, and the host name is taken from the user's context if a host name service is available. Apart from user-specific config-cascade properties, the set of top-level keys does not depend on the session.Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module. Optional; if given, it MUST be a valid session.
query string Responses:
200:
A JSON object whose `data` field contains the client configuration. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
Unknown
{- data ( data ): The client configuration.
-
data - The client configuration.
{- capabilities ( array[object] ): The capabilities of the session user, or the default capabilities without session.
- languages ( array[array[string]] ): The available languages as pairs of locale identifier and display name.
- serverVersion ( string ): No description available
- host ( string ): The `host` value of the last applicable `as-config.yml` entry, e.g. `all`.
- hosts ( array[string] ): No description available
- prefix ( string ): The path prefix of the HTTP API.
- forceHTTPS ( boolean ): No description available
500:
Internal server error
-
-
-
-
Lists the calls the user's tokens made at the MCP endpoint
/mcp, newest first: what was called, about which folder and item, and how it ended. Identifiers only, never content. A token for the MCP endpoint (api_typemcp) reaches no other API, so the log covers all such a token did; agenerictoken may also have used other APIs, which the log does not show. Entries are kept forcom.openexchange.mcp.activity.retentionDaysand up tocom.openexchange.mcp.activity.maxEntriesPerTokenper token, and go when the token is revoked. Requires a full session.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type token (empty) Lists the calls of this token only: its identifier as the token listing names it, the grant's for an OAuth client.
query string limit (empty) How many entries to return at most, 1 to 1000.
query integer Responses:
200:
A JSON object with the recorded calls; a token of another user yields none. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
McpActivityResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- entries ( array[object] ): The recorded calls, newest first.
-
-
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the result of the operation. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorDevicesResponse
{- data ( array[MultifactorDeviceResponseData] ): Array of multifactor devices.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MultifactorDeviceResponseData
{- id ( string ): The unique ID of the device
- name ( string ): The user friendly name of the device
- backup ( boolean ): true, if the device is a "backup" device, false otherwise
- enabled ( boolean ): true, if the device is enabled, false otherwise
- providerName ( string ): The name of the device's provider
-
-
Deletes the device. If only backup devices remain afterwards, those are deleted as well. If multifactor authentication is enforced for the user, the last remaining non-backup device can not be deleted (error MFA-0025).
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type providerName (empty) The name of the multifactor provider
query string deviceId (empty) The ID of the multifactor device
query string Responses:
200:
A JSON object containing all device IDs deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorDeleteResponse
{- data ( array[string] ): Array of device IDs which where deleted.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type providerName (empty) The name of the multifactor provider
query string deviceId (empty) The ID of the multifactor device
query string Body:
Description:The provider specific answer to the challenge returned by startAuthentication.
Content-type: application/json-
MultifactorFinishAuthenticationData - The provider specific parameters required for authentication.
{- secret_code ( string ): (SMS, TOTP, BACKUP_STRING provider only) The secret authentication token.
- clientData ( string ): (U2F provider only) The U2F client data.
- keyHandle ( string ): (U2F provider only) The U2F key handle.
- signatureData ( string ): (U2F provider only) The signed U2F challenge.
- id ( string ): (Webauthn provider only) The ID of the key used
- response ( response ): Webauthn signing response
- clientExtensionResults ( clientExtensionResults ): (WebAuthn) client extension results
- type ( string ): (WebAuthn provider only) Type of signature. Should just be "public-key".
-
response - Webauthn signing response
{- authenticatorData ( string ): The Authenticator data returned by the device. Base64URL Encoded
- clientDataJSON ( string ): The clientDataJson returned by the device. Base64URL Encoded
- signature ( string ): The signature. Base64URL Encoded.
Responses:
200:
An empty response on success. If the provider's remember-client policy is `FORCE`, the response MAY set a cookie that remembers the client for later logins. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Finishes the registration of the device started with startRegistration. On success, all other sessions of the user are terminated.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type providerName (empty) The name of the multifactor provider
query string deviceId (empty) The ID of the multifactor device
query string Body:
Description:The information required to finish the registration of a new multifactor device.
Content-type: application/json-
MultifactorFinishRegistrationData - The provider specific parameters required to finish a device registration.
{- secret_code ( string ): (SMS, TOTP provider only) The secret token required to finish the registration.
- clientData ( string ): (U2F provider only) The U2F client data required to finish the registration.
- registrationData ( string ): (U2F provider only) The U2F registration data data required to finish the registration.
- clientDataJSON ( string ): (WebAuthn provider only) The WebAuthn client data required to finish the registration.
- attestationObject ( string ): (WebAuthn provider only) The WebAuthn attestation data required to finish the registration.
- clientExtensionResults ( string ): (WebAuthn provider only) The Authenticator extension data to finish the registration. Optional for multifactor
- id ( string ): (WebAuthn provider) The keyId returned
Responses:
200:
A JSON object containing the registered device. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorFinishRegistrationResponse
{- data ( MultifactorDeviceResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MultifactorDeviceResponseData
{- id ( string ): The unique ID of the device
- name ( string ): The user friendly name of the device
- backup ( boolean ): true, if the device is a "backup" device, false otherwise
- enabled ( boolean ): true, if the device is enabled, false otherwise
- providerName ( string ): The name of the device's provider
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type providerName (empty) The name of the multifactor provider
query string Body:
Description:A device containing the device ID, and the new name.
Content-type: application/json-
MultifactorDeviceRequestData
{- id ( string ): The unique ID of the device
- name ( string ): The user friendly name of the device
- backup ( boolean ): true, if the device is a "backup" device, false otherwise
- providerName ( string ): The name of the device's provider
- parameters ( parameters ): The provider specific parameters required for starting a new registration.
-
parameters - The provider specific parameters required for starting a new registration.
{- phoneNumber ( string ): (SMS provider only) The phone number of the SMS device to register
Responses:
200:
A JSON object containing the renamed device. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorDeviceResponse
{- data ( MultifactorDeviceResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MultifactorDeviceResponseData
{- id ( string ): The unique ID of the device
- name ( string ): The user friendly name of the device
- backup ( boolean ): true, if the device is a "backup" device, false otherwise
- enabled ( boolean ): true, if the device is enabled, false otherwise
- providerName ( string ): The name of the device's provider
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type providerName (empty) The name of the multifactor provider
query string deviceId (empty) The ID of the multifactor device
query string Responses:
200:
A JSON object containing necessary information required to finish the authentication process. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorStartAuthenticationResponse
{- data ( data ): Authentication response data
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data - Authentication response data
{- challenge ( challenge ): A challenge required to be solved for authentication
-
challenge - A challenge required to be solved for authentication
{- phoneNumberTail ( string ): (SMS provider only) The last digits of the phone number where the secret token was sent to
- backupStringLength ( integer ): (BACKUP_STRING provider only) The length of the secret token required for authentication
- credentialsGetJson ( credentialsGetJson ): (WebAuthn provider only) The challenge for authentication
- requestId ( string ): (U2F provider only) The U2F request ID
- signRequests ( array[object] ): (U2F provider only) A list of U2F challenges which needs to be solved for authentication
-
credentialsGetJson - (WebAuthn provider only) The challenge for authentication
{- publicKey ( publicKey ): The public key challenge
-
publicKey - The public key challenge
{- rpId ( string ): The relying party ID
- challenge ( string ): (WebAuthn provider only) The challenge data which needs to be signed by the client
- allowCredentials ( array[object] ): List of public keys that the server has available for confirmation
- userVerification ( string ): If user verification required
- extensions ( extensions ): Optional additional extension values.
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A device which should be registered as new multifactor device. The provider is taken from the device's `providerName` field.
Content-type: application/json-
MultifactorDeviceRequestData
{- id ( string ): The unique ID of the device
- name ( string ): The user friendly name of the device
- backup ( boolean ): true, if the device is a "backup" device, false otherwise
- providerName ( string ): The name of the device's provider
- parameters ( parameters ): The provider specific parameters required for starting a new registration.
-
parameters - The provider specific parameters required for starting a new registration.
{- phoneNumber ( string ): (SMS provider only) The phone number of the SMS device to register
Responses:
200:
A JSON object containing necessary information required to finish the registration process. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorStartRegistrationResponse
{- data ( data ): Registration response data
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data - Registration response data
{- deviceId ( string ): A unique ID of the new device
- challenge ( challenge ): A challenge required to be solved for registering a new device
-
challenge - A challenge required to be solved for registering a new device
{- sharedSecret ( string ): (TOTP, BACKUP_STRING provider only) The TOTP secret
- base64Image ( string ): (TOTP provider only) A base64 encoded QR-Code containing all relevant information for setting up TOTP.
- url ( string ): (TOTP provider only) An URL containing all relevant information for setting up TOTP.
- requestId ( string ): (U2F provider only) The unique U2F request ID.
- registerRequests ( array[object] ): A list of challenge data
- data ( data ): (WebAuthn provider only) The WebAuthn challenge data for registering a new device
-
rp - The relying party ID
{- name ( string ): name of relying party
- id ( string ): the url of the relying party
-
user - the user data
{- name ( string ): the users name
- displayName ( string ): the users display name
- id ( string ): a unique Id for the user
-
authenticatorSelection - (WebAuthn provider only) Authenticator selection criteria such as resident key, userVerification requirementes.
{- requireResidentKey ( boolean ): if resdient key is required for passkeys
- residentKey ( string ): If resident key is preffered, discouraged
- userVerification ( string ): User verification requirements
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type providers (empty) A comma separated list of provider names to return. Omit to return all available providers.
query string Responses:
200:
A JSON object containing the result of the operation. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorProvidersResponse
{- data ( array[MultifactorProvider] ): An array of providers.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
MultifactorProvider
{- name ( string ): The name of the provider
- backupProvider ( boolean ): true, if the provider can act as "backup"-provider, false otherwise.
- backupOnlyProvider ( boolean ): true, if the provider can ONLY act as "backup"-provider, false otherwise.
-
-
-
Multiple
The multiple module allows to bundle multiple requests to most other modules in a single request.-
Not supported requests are:
- the ones from modules login and multiple
- POST requests with a multipart encoding (uploads)
- GET requests which do not use an object as described in Low level protocol
Request body
A JSON array with JSON objects describing the requests. Each object contains a field
modulewith the name of the request's module and the fieldactionwith the concrete request action to execute. Additionally the parameters of the request are added as fields too. A session parameter is not included! If the request has a request body itself, this body is stored as a JSON object in a fielddata.Example: query reminder range and update a reminder's alarm
[{"module":"reminder","action":"range","end":1497461067180},{"module":"reminder","action":"remindAgain","id":51,"data":{"alarm":1459478800000}}]Error handling
All requests are processed regardless of errors. A failed request's response object carries the error fields, the other requests are not affected.
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON array with JSON objects, each describing one request.
Content-type: application/json-
SingleRequest - Contains all currently available (resp. possible) parameters that could be specified to perform a request in the multiple module except `action`, `module`, and `data` which are part of the actual request itself.
{- module ( string , required ): The name of the request's module like "mail", "folders", etc.
- action ( string ): The name of the request's action like "all", "list", etc. If missing or empty, the request is dispatched with the action `GET`.
- data ( data ): The request's body as a JSON object.
- columns ( string ): The "columns" parameter of a request.
- tree ( string ): The "tree" parameter of a request.
- allowed_modules ( string ): The "allowed_modules" parameter of a request.
- parent ( string ): The "parent" parameter of a request.
- all ( integer ): The "all" parameter of a request.
- errorOnDuplicateName ( boolean ): The "errorOnDuplicateName" parameter of a request.
- id ( string ): The "id" parameter of a request.
- timestamp ( integer ): The "timestamp" parameter of a request.
- ignore ( string ): The "ignore" parameter of a request.
- cascadePermissions ( string ): The "cascadePermissions" parameter of a request.
- hardDelete ( boolean ): The "hardDelete" parameter of a request.
- content_type ( string ): The "content_type" parameter of a request.
- sort ( string ): The "sort" parameter of a request.
- order ( string ): The "order" parameter of a request.
- folder ( string ): The "folder" parameter of a request.
- start ( integer ): The "start" parameter of a request.
- end ( integer ): The "end" parameter of a request.
- email ( string ): The "email" parameter of a request.
- query ( string ): The "query" parameter of a request.
- left_hand_limit ( integer ): The "left_hand_limit" parameter of a request.
- right_hand_limit ( integer ): The "right_hand_limit" parameter of a request.
- recurrence_master ( boolean ): The "recurrence_master" parameter of a request.
- showPrivate ( boolean ): The "showPrivate" parameter of a request.
- occurrence ( string ): The "occurrence" parameter of a request.
- type ( integer ): The "type" parameter of a request.
- limit ( integer ): The "limit" parameter of a request.
- uid ( string ): The "uid" parameter of a request.
- includeSent ( boolean ): The "includeSent" parameter of a request.
- headers ( string ): The "headers" parameter of a request.
- message_id ( string ): The "message_id" parameter of a request.
- edit ( integer ): The "edit" parameter of a request.
- hdr ( integer ): The "hdr" parameter of a request.
- src ( integer ): The "src" parameter of a request.
- save ( integer ): The "save" parameter of a request.
- view ( string ): The "view" parameter of a request.
- unseen ( boolean ): The "unseen" parameter of a request.
- max_size ( integer ): The "max_size" parameter of a request.
- attach_src ( boolean ): The "attach_src" parameter of a request.
- attachment ( string ): The "attachment" parameter of a request.
- cid ( string ): The "cid" parameter of a request.
- filter ( integer ): The "filter" parameter of a request.
- lineWrapAfter ( integer ): The "lineWrapAfter" parameter of a request.
- flags ( integer ): The "falgs" parameter of a request.
- force ( boolean ): The "force" parameter of a request.
- setFrom ( boolean ): The "setFrom" parameter of a request.
- version ( integer ): The "version" parameter of a request.
- recursive ( string ): The "recursive" parameter of a request.
- diff ( integer ): The "diff" parameter of a request.
- attached ( integer ): The "attached" parameter of a request.
- accountId ( integer ): The "accountId" parameter of a request.
- password ( string ): The "password" parameter of a request.
- force_secure ( string ): The "force_secure" parameter of a request.
- name ( string ): The "name" parameter of a request.
- setIfAbsent ( string ): The "setIfAbsent" parameter of a request.
- serviceId ( string ): The "serviceId" parameter of a request.
- oauth_token ( string ): The "oauth_token" parameter of a request.
- uuid ( string ): The "uuid" parameter of a request.
- oauth_verifier ( string ): The "oauth_verifier" parameter of a request.
- displayName ( string ): The "displayName" parameter of a request.
- client ( string ): The "client" parameter of a request.
- participant ( string ): The "participant" parameter of a request.
- from ( integer ): The "from" parameter of a request.
- until ( integer ): The "until" parameter of a request.
- merged ( boolean ): The "merged" parameter of a request.
- peek ( string ): The "peek" parameter of a request.
- recipients ( string ): The "recipients" parameter of a request.
- messageAction ( string ): The "messageAction" parameter of a request.
- attachmentid ( string ): The "attachmentid" parameter of a request.
- provider ( string ): The "provider" parameter of a request.
- timezone ( string ): The "timezone" parameter of a request.
- internal_userid ( integer ): The "internal_userid" parameter of a request.
- userid ( integer ): The "userid" parameter of a request.
- user_id ( integer ): The "user_id" parameter of a request.
- email1 ( string ): The "email1" parameter of a request.
- email2 ( string ): The "email2" parameter of a request.
- email3 ( string ): The "email3" parameter of a request.
- system ( string ): The "system" parameter of a request.
- filestorageService ( string ): The "filestorageService" parameter of a request.
Responses:
200:
A JSON array containing the response data of the processed requests where response[0] corresponds to request[0], response[1] to request[1], and so on.
Content-type: application/json-
SingleResponse - The response of one request processed with the multiple module. It carries the same fields as the response of the request when sent on its own.
{- data ( any ): The response data of the processed request. Its type depends on the request's module and action. For a request that is enqueued as a long-running job, an object with the field `job` holding the job's identifier.
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- trace ( string ): The request's trace, if one was recorded for it.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
400:
The request has no session, or the request body is not a JSON array.
500:
An element of the request body is not a JSON object or lacks the field `module`.
-
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type since (empty) The date since when notifications shall be retrieved (inclusive), either as a DATE-TIME value as specified in RFC 5545, Section 3.3.5 (e.g. `19980119T070000Z`), or as a number of milliseconds since 1970-01-01 00:00:00 UTC. A value without a `T` is always read as milliseconds.
query string delete (empty) The flag signaling whether to delete the retrieved notifications from queue
query boolean limit (empty) The max. number of notifications to include. A negative value or omitting the parameter means no limit. If more notifications are available, the response carries a `next_page_token`. With `0` no notifications are returned, only the `next_page_token` of the first matching notification.
query integer next (empty) The `next_page_token` of a former response to continue from; it MUST be passed together with the same `since` value. An invalid or outdated token yields an error.
query string Responses:
200:
A JSON array containing the notifications, sorted by date in ascending order. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
NotificationQueueAllResponse
{- data ( array[NotificationQueueNotification] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
NotificationQueueNotification
{- id ( string ): The identifier of the notification
-
type
(
string
, possibleValues:
infowarningerror
- date ( string ): The date of the notification as a UTC DATE-TIME value as specified in RFC 5545, Section 3.3.5; e.g. `19980119T070000Z`
- message ( string ): The actual message that is supposed to be displayed
- data ( data ): Optional structured data that lets a client act on the notification; e.g. `{"module":"mail","folder":"default0/INBOX","id":"1234"}` to open the mail it is about. `module` names the App Suite module, the other fields depend on it. Only present if the notification carries data. Its serialized form is at most 4096 characters long.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier for the notification. Required if no request body is sent; ignored otherwise. An unknown or malformed identifier is treated as a no-op.
query string Body:
Description:A JSON array with the identifiers of the notifications to delete. Malformed identifiers are skipped.
Content-type: application/json
Responses:
200:
A JSON object containing the success status, which is always `true`, even if no such notification exists. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
NotificationQueueDeleteResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Always `true`
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier for the notification
query string Responses:
200:
A JSON object containing the requested notification. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
NotificationQueueGetResponse
{- data ( NotificationQueueNotification ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
NotificationQueueNotification
{- id ( string ): The identifier of the notification
-
type
(
string
, possibleValues:
infowarningerror
- date ( string ): The date of the notification as a UTC DATE-TIME value as specified in RFC 5545, Section 3.3.5; e.g. `19980119T070000Z`
- message ( string ): The actual message that is supposed to be displayed
- data ( data ): Optional structured data that lets a client act on the notification; e.g. `{"module":"mail","folder":"default0/INBOX","id":"1234"}` to open the mail it is about. `module` names the App Suite module, the other fields depend on it. Only present if the notification carries data. Its serialized form is at most 4096 characters long.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
-
OAuth
The Open-Xchange server can act as an OAuth client or be an OAuth provider itself. The OAuth module supports both aspects: * Manage multiple OAuth accounts for certain online services for a user. The OAuth mechanism allows the Open-Xchange application to act as behalf of this user using previously obtained access tokens granted by user. The according interface is divided into two parts: Account access and service's meta data access. * Manage granted accesses of external services that can access a users data on his behalf, called "grants".-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type serviceId (empty) The service meta data identifier. If missing all accounts of all services are returned; otherwise all accounts of specified service are returned.
query string Responses:
200:
A JSON object containing an array of JSON objects each describing an OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountsResponse
{- data ( array[OAuthAccountResponseData] ): An array of OAuth account objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
OAuthAccountResponseData
{- id ( integer ): The numeric identifier of the OAuth account.
- displayName ( string ): The account's display name.
- serviceId ( string ): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.google".
- enabledScopes ( array[string] ): The enabled scopes for this OAuth account
- availableScopes ( array[string] ): The available scopes for the OAuth provider of this OAuth account
- associations ( array[object] ): The account associations of the OAuth account.
-
-
The target of the call-back URL composed by /oauth/accounts?action=init; the OAuth provider redirects the user's browser to it. If
iddenotes an existing account, that account is updated; otherwise a new account is created. Provider-specific parameters of the call-back (e.g. an authorization code) are passed on to the provider as well. The request fails if anoauth_problemorerrorparameter is present.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type serviceId (empty) The service meta data identifier, e.g. "com.openexchange.oauth.google".
query string uuid (empty) The UUID of the preceding OAuth interaction.
query string displayName (empty) The display name of the account.
query string id (empty) The identifier of the account to update. If missing or not positive, a new account is created.
query integer oauth_token (empty) The request token from the preceding OAuth interaction. Falls back to `access_token` if missing.
query string access_token (empty) The request token, used if `oauth_token` is missing.
query string oauth_verifier (empty) The verifier string which confirms that user granted access.
query string action_hint (empty) An optional hint passed on to the OAuth provider's argument processing.
query string scopes (empty) A whitespace-separated list of scopes to be added. Valid scopes are 'mail', 'calendar_ro', 'contacts_ro', 'calendar', 'contacts', 'drive', 'generic'. Note that not all scopes are applicable to every OAuth provider. Requested scopes that are not enabled for the user are left out; the request fails only if none remains. If missing or empty, the provider's legacy scopes that are enabled for the user are used.
query string Responses:
200:
A JSON object containing the created or updated OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountResponse
{- data ( OAuthAccountResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
OAuthAccountResponseData
{- id ( integer ): The numeric identifier of the OAuth account.
- displayName ( string ): The account's display name.
- serviceId ( string ): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.google".
- enabledScopes ( array[string] ): The enabled scopes for this OAuth account
- availableScopes ( array[string] ): The available scopes for the OAuth provider of this OAuth account
- associations ( array[object] ): The account associations of the OAuth account.
-
-
Completes the creation of an OAuth account. The call-back URL returned by /oauth/accounts?action=init points to /oauth/accounts?action=callback instead; this action is only intended for manual invocation, e.g. if "outOfBand" interaction is returned by the preceding init step. Provider-specific parameters of the call-back (e.g. an authorization code) are passed on to the provider as well. The request fails if an
oauth_problemorerrorparameter is present.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type serviceId (empty) The service meta data identifier, e.g. "com.openexchange.oauth.google".
query string oauth_token (empty) The request token from the preceding OAuth interaction. Falls back to `access_token` if missing.
query string access_token (empty) The request token, used if `oauth_token` is missing.
query string uuid (empty) The UUID of the preceding OAuth interaction.
query string displayName (empty) The display name for the new account.
query string oauth_verifier (empty) The verifier string which confirms that user granted access.
query string action_hint (empty) An optional hint passed on to the OAuth provider's argument processing.
query string scopes (empty) A whitespace-separated list of scopes to be added. Valid scopes are 'mail', 'calendar_ro', 'contacts_ro', 'calendar', 'contacts', 'drive', 'generic'. Note that not all scopes are applicable to every OAuth provider. Requested scopes that are not enabled for the user are left out; the request fails only if none remains. If missing or empty, the provider's legacy scopes that are enabled for the user are used.
query string Responses:
200:
A JSON object containing the newly created OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountResponse
{- data ( OAuthAccountResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
OAuthAccountResponseData
{- id ( integer ): The numeric identifier of the OAuth account.
- displayName ( string ): The account's display name.
- serviceId ( string ): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.google".
- enabledScopes ( array[string] ): The enabled scopes for this OAuth account
- availableScopes ( array[string] ): The available scopes for the OAuth provider of this OAuth account
- associations ( array[object] ): The account associations of the OAuth account.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The account identifier. Required unless the request body is a JSON array.
query integer Body:
Description:No description available
Content-type: application/json-
Unknown Composed Schema
ONEOF: Object Object
Responses:
200:
A JSON object indicating whether the deletion was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountDeletionResponse
{- data ( boolean ): Always `true`; errors are reported through the error fields.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The account identifier.
query integer Responses:
200:
A JSON object containing the data of the OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountResponse
{- data ( OAuthAccountResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
OAuthAccountResponseData
{- id ( integer ): The numeric identifier of the OAuth account.
- displayName ( string ): The account's display name.
- serviceId ( string ): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.google".
- enabledScopes ( array[string] ): The enabled scopes for this OAuth account
- availableScopes ( array[string] ): The available scopes for the OAuth provider of this OAuth account
- associations ( array[object] ): The account associations of the OAuth account.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type serviceId (empty) The service meta data identifier, e.g. "com.openexchange.oauth.google".
query string displayName (empty) The display name of the account.
query string scopes (empty) A whitespace-separated list of scopes to be added. Valid scopes are 'mail', 'calendar_ro', 'contacts_ro', 'calendar', 'contacts', 'drive', 'generic'. Note that not all scopes are applicable to every OAuth provider. Requested scopes that are not enabled for the user are left out; the request fails only if none remains. If missing or empty, the provider's legacy scopes that are enabled for the user are used.
query string id (empty) The identifier of an existing account. If set, the call-back updates that account instead of creating a new one.
query integer redirect (empty) If `true`, the response is a redirect to the provider's authorization URL instead of the interaction object.
query boolean cb (empty) A value passed on to the call-back URL as its `callback` parameter.
query string action_hint (empty) An optional hint passed on to the call-back URL.
query string Responses:
200:
A JSON object containing the resulting interaction providing information to complete account creation. The provider calls back /oauth/accounts?action=callback. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountInteractionResponse
{- data ( OAuthAccountInteraction ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
OAuthAccountInteraction
{- authUrl ( string ): The authorization URL of the OAuth provider the user has to visit to grant access.
- type ( string ): The interaction type name, which can be "outOfBand" or "callback".
- token ( string ): The request token.
- uuid ( string ): The UUID for this OAuth interaction.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type serviceId (empty) The service meta data identifier. If missing all accounts of all services are returned; otherwise all accounts of specified service are returned.
query string Responses:
200:
A JSON object containing an array of JSON objects each describing an OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountsResponse
{- data ( array[OAuthAccountResponseData] ): An array of OAuth account objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
OAuthAccountResponseData
{- id ( integer ): The numeric identifier of the OAuth account.
- displayName ( string ): The account's display name.
- serviceId ( string ): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.google".
- enabledScopes ( array[string] ): The enabled scopes for this OAuth account
- availableScopes ( array[string] ): The available scopes for the OAuth provider of this OAuth account
- associations ( array[object] ): The account associations of the OAuth account.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The account identifier.
query integer serviceId (empty) The service meta data identifier, e.g. "com.openexchange.oauth.google".
query string uuid (empty) The UUID of the preceding /oauth/accounts?action=init interaction. Required if the stored tokens of the account were not already renewed in the meantime.
query string displayName (empty) The display name of the account. Required whenever `uuid` is required.
query string oauth_token (empty) The request token from the preceding OAuth interaction.
query string oauth_verifier (empty) The verifier string which confirms that user granted access.
query string action_hint (empty) An optional hint passed on to the OAuth provider's argument processing.
query string scopes (empty) A whitespace-separated list of scopes to be added. Valid scopes are 'mail', 'calendar_ro', 'contacts_ro', 'calendar', 'contacts', 'drive', 'generic'. Note that not all scopes are applicable to every OAuth provider. Requested scopes that are not enabled for the user are left out; the request fails only if none remains. If missing or empty, the provider's legacy scopes that are enabled for the user are used.
query string Responses:
200:
A JSON object containing `true` if the account was re-authorized. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountReauthorizeResponse
{- data ( boolean ): Always `true`; errors are reported through the error fields.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The OAuth account identifier.
query integer Responses:
200:
A JSON object containing an array with the status of each associated account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountStatusResponse
{- data ( array[OAuthAccountAssociationStatus] ): The status of each account associated with the OAuth account.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
OAuthAccountAssociationStatus
{- id ( string ): The identifier of the associated account.
- displayName ( string ): The display name of the associated account.
- serviceId ( string ): The identifier of the service the associated account belongs to.
- module ( string ): The module of the associated account.
- oauthAccontId ( integer ): The identifier of the OAuth account. The field name is misspelled in the implementation.
-
status
(
string
, possibleValues:
okinvalid_grantrecreation_neededdisabled
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The account identifier. May also be provided in request body's JSON object by field `id`.
query integer Body:
Description:A JSON object providing the OAuth account data to update. Only `displayName`, the `token`-`secret`-pair and `enabledScopes` are applied; `token` and `secret` only if both are set, `enabledScopes` only if `serviceId` is set, too.
Content-type: application/json-
OAuthAccountRequestData
{- id ( integer ): The numeric identifier of the OAuth account.
- displayName ( string ): The account's display name.
- serviceId ( string ): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.google".
- token ( string ): The token.
- secret ( string ): The token secret.
- enabledScopes ( array[string] ): The enabled scopes for this OAuth account. Only applied if `serviceId` is set, too.
Responses:
200:
A JSON object indicating whether the update was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountUpdateResponse
{- data ( boolean ): Always `true`; errors are reported through the error fields.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Signs the described request with the credentials of an OAuth account, sends it to the provider and returns the response body. PUT and POST behave identically; the HTTP method used towards the provider is taken from the request body.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The OAuth account identifier. If missing, the query parameter `api` MUST carry a service meta data identifier (e.g. "com.openexchange.oauth.google"), and the user's default account of that API is used.
query integer Body:
Description:A JSON object describing the request to send to the provider.
Content-type: application/json-
OAuthProxyRequestBody
{- url ( string , required ): The URL to call. It MUST be white-listed for the account's API: `https://www.googleapis.com` for Google, `http://api.linkedin.com` for LinkedIn. Other APIs are not supported.
-
type
(
string
, possibleValues:
GETPUTPOSTDELETE
- params ( params ): The query parameters to send, as name-value pairs.
- header ( header ): The headers to send, as name-value pairs.
- content-type ( string ): The `Content-Type` header to send. Defaults to `application/x-www-form-urlencoded` unless `header` sets one.
- accepts ( string ): The value of the `Accepts` header to send.
- data ( string ): The request body to send.
Responses:
200:
A JSON object containing the provider's response body. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthProxyResponse
{- data ( string ): The response body returned by the called URL.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Signs the described request with the credentials of an OAuth account, sends it to the provider and returns the response body. PUT and POST behave identically; the HTTP method used towards the provider is taken from the request body.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The OAuth account identifier. If missing, the query parameter `api` MUST carry a service meta data identifier (e.g. "com.openexchange.oauth.google"), and the user's default account of that API is used.
query integer Body:
Description:A JSON object describing the request to send to the provider.
Content-type: application/json-
OAuthProxyRequestBody
{- url ( string , required ): The URL to call. It MUST be white-listed for the account's API: `https://www.googleapis.com` for Google, `http://api.linkedin.com` for LinkedIn. Other APIs are not supported.
-
type
(
string
, possibleValues:
GETPUTPOSTDELETE
- params ( params ): The query parameters to send, as name-value pairs.
- header ( header ): The headers to send, as name-value pairs.
- content-type ( string ): The `Content-Type` header to send. Defaults to `application/x-www-form-urlencoded` unless `header` sets one.
- accepts ( string ): The value of the `Accepts` header to send.
- data ( string ): The request body to send.
Responses:
200:
A JSON object containing the provider's response body. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthProxyResponse
{- data ( string ): The response body returned by the called URL.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing an array of JSON objects each describing an OAuth service's meta data. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthServicesResponse
{- data ( array[OAuthServiceMetaData] ): An array with OAuth service meta data.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
OAuthServiceMetaData
{- id ( string ): The identifier of the service meta data, e.g. "com.openexchange.oauth.google".
- displayName ( string ): The service's display name.
- availableScopes ( array[string] ): The available scopes for the OAuth provider
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The service's identifier.
query string Responses:
200:
A JSON object containing the meta data of the OAuth service. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthServiceResponse
{- data ( OAuthServiceMetaData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
OAuthServiceMetaData
{- id ( string ): The identifier of the service meta data, e.g. "com.openexchange.oauth.google".
- displayName ( string ): The service's display name.
- availableScopes ( array[string] ): The available scopes for the OAuth provider
-
-
-
OpenID
This module supports the Single Sign On mechanism known as OpenId and therefore a few requests are needed to initiate an authentication and trigger the end of the session.-
The OpenID provider redirects here after an SSO logout that was started via the init request with
flow=logout. The request terminates the session that started the logout and redirects to the configured after logout page.The servlet is served below the OpenID back-end's path and is not registered when external authentication is enabled.
Parameters:
Parameter Value Description Parameter Type Data Type state (empty) The state of the logout request that started the logout process.
query string type (empty) With `resume` the logout is not completed; the request redirects back to the UI of the session that started the logout instead. Any other value or no value completes the logout.
query string Responses:
302:
With `type=resume` a redirect to the UI. Otherwise a redirect to the login servlet's OpenID logout action, which terminates the session and redirects to the after logout page.
500:
An HTML error page, e.g. if the `state` parameter is missing or does not belong to a pending logout request.
Content-type: text/html-
Unknown
-
-
The init request is used to initiate communication with the OpenID module from a UI client. It may be used to login or logout a user or to initiate the authorization process from a third party. An OpenID backend that is configured with a path is served at
/oidc/<path>/initinstead.Parameters:
Parameter Value Description Parameter Type Data Type hash (empty) The hash value from where the request was triggered for later deeplink purposes. Ignored if `uriFragment` is set.
query string uriFragment (empty) The hash value from where the request was triggered for later deeplink purposes. Takes precedence over `hash`.
query string flow One of the three following strings can be used, {login, logout, thirdParty}. Either one will start the corresponding process in the OpenID module. A missing or unknown value is answered with status 400.
query string session (empty) The identifier of the session to log out. Required for the logout flow.
query string __session.oidc.idToken (empty) The ID token to send to the OpenID provider on logout. Only evaluated for the logout flow if multi-site support is enabled for the OpenID backend.
query string iss (empty) Issuer Identifier for the Issuer of the response. Required for the third party login flow, where it MUST match the configured issuer of the OpenID provider.
query string login_hint (empty) Hint to the Authorization Server about the login identifier the End-User might use to log in.
query string redirect (empty) If `true`, the response is a redirect to the target location. Otherwise the location is returned in the 'redirect' attribute of a JSON body.
query boolean client (empty) The client identifier. Defaults to the configured default client.
query string target_link_uri (empty) URL that the RP is requested to redirect to after authentication. If set, it MUST match the configured UI web path, otherwise the request is answered with status 400.
query string Responses:
200:
A JSON object containing the redirect URL in an own 'redirect' parameter.
Content-type: application/json-
InitResponse
{- redirect ( string ): The location where to redirect the user to.
302:
A redirect to the target location, e.g. the OpenID provider for user authentication or logout.
400:
The flow is missing or unknown, the issuer of a third party login is unknown, the `target_link_uri` does not match, or the session of a logout request is missing or invalid and no fallback logout redirect URI is configured.
-
-
The init request as a POST is for thirdParty flow only. Will directly inititate the login process. An OpenID backend that is configured with a path is served at
/oidc/<path>/initinstead.Parameters:
Parameter Value Description Parameter Type Data Type hash (empty) The hash value from where the request was triggered for later deeplink purposes. Ignored if `uriFragment` is set.
query string uriFragment (empty) The hash value from where the request was triggered for later deeplink purposes. Takes precedence over `hash`.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
init_post_reqBody
{-
flow
(
string
,
required
, possibleValues:
thirdParty
- redirect ( boolean ): If `true`, the response is a redirect to the target location. Otherwise the location is returned in the 'redirect' attribute of a JSON body.
- client ( string ): The client identifier. Defaults to the configured default client.
- iss ( string , required ): Issuer Identifier for the Issuer of the response. MUST match the configured issuer of the OpenID provider.
- login_hint ( string ): Hint to the Authorization Server about the login identifier the End-User might use to log in.
- target_link_uri ( string ): URL that the RP is requested to redirect to after authentication. If set, it MUST match the configured UI web path.
-
flow
(
string
,
required
, possibleValues:
Responses:
200:
A JSON object containing the redirect URL in an own 'redirect' parameter.
Content-type: application/json-
InitResponse
{- redirect ( string ): The location where to redirect the user to.
302:
A redirect to the OpenID provider for user authentication.
400:
The flow is not `thirdParty`, the issuer is unknown, or the `target_link_uri` does not match.
-
-
-
Passwordchange
Via the passwordchange module the users can change their password.-
Note
The new password is not confirmed by a second entry. The client must ensure that it is the password the user wants to set. The server verifies the old password, unless the active password change service skips that check, and, for users other than guests, checks the new password against the configured minimum and maximum length and allowed pattern.
If the session was established via the external authentication service and the user is not a guest, changing the password requires a full authentication. Otherwise the request is refused with HTTP status 403.
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the old and the new password.
Content-type: application/json-
PasswordChangeBody
{- old_password ( string , required ): The user's current password or `null` if the password wasn't set before (especially for guest users). The field MUST be present; `null` is only accepted for guest users.
- new_password ( string , required ): The new password the user wants to set or `null` to remove the password (especially for guest users). The field MUST be present; `null` is only accepted for guest users.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling). On success, `data` is `null`.
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
403:
The session was established via the external authentication service and is not allowed to change the password. The body is `{"error":"reauthentication_required"}` with the header `X-Deny-Reason: step_up_required` if the user has to authenticate again with sufficient strength, or `{"error":"access_denied"}` if the session stands on a credential that is never allowed full access, such as a personal access token or an app password.Content-type: application/json-
Unknown
{-
error
(
string
, possibleValues:
reauthentication_requiredaccess_denied
-
error
(
string
, possibleValues:
-
-
-
Pns
The interface to add/remove notification subscriptions associated with a token for certain topics-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Body:
Description:A JSON object describing the subscription
Content-type: application/json-
SubscriptionData
{- client ( string ): The client identifier; e.g. "open-xchange-appsuite". If not specified, session-associated client identifier is considered. For transport type "webhook", the client configuration id is expected here.
- token ( string ): The token or Webhook URI to use when sending out notifications using specified transport. Required unless the URI is statically defined in configuration settings for transport type "webhook".
- transport ( string , required ): The identifer of the transport; currently supported: - "apn" - "apns_http2" - "fcm" - "wns" - "webhook" - "webpush" The 'gcm' transport was deprecated and superseded by 'fcm'. If 'gcm' is supplied, a warning will be returned to the client. The subscription request will go through but with the new 'fcm' transport id.
- topics ( array[string] , required ): An array of topic identifiers or wild-cards, to which the subscription signals interest. E.g. ["ox:mail:*","ox:calendar:new"] interest for all mail-related events and for newly created appointments
- meta ( meta ): The optional meta information for the subscription as a JSON object. For transport "webpush", the browser's push subscription: "pushResource" (its endpoint), "p256dh", "auth" and "contentEncoding" ("aes128gcm"); see action "webpushkey" for the application server key. Via "webpush", client "open-xchange-appsuite" may subscribe to "ox:notification:*" topics only.
- expires ( integer ): The time stamp as the number of milliseconds since January 1, 1970, 00:00:00 GMT specifying when subscription expires. Not set or 0 means the subscription does not expire.
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
PnsResponse
{- data ( PnsData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
PnsData
{- success ( boolean ): The flag signaling success
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Body:
Description:A JSON object describing the subscription to remove
Content-type: application/json-
UnsubscriptionData
{- client ( string ): The client identifier; e.g. "open-xchange-appsuite". If not specified, session-associated client identifier is considered. For transport type "webhook", the client configuration id is expected here.
- token ( string ): The token or Webhook URI that was initially used for the subscription. Required unless the URI is statically defined in configuration settings for transport type "webhook".
- transport ( string , required ): The identifer of the transport; currently supported: - "apn" - "apns_http2" - "fcm" - "wns" - "webhook" - "webpush" The 'gcm' transport was deprecated and superseded by 'fcm'. Supplying 'gcm' or 'fcm' removes the subscription for both transport ids. If 'gcm' is supplied, a warning will be returned to the client.
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
PnsResponse
{- data ( PnsData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
PnsData
{- success ( boolean ): The flag signaling success
-
-
The key is the server's VAPID public key, to hand over as
applicationServerKeytoPushManager.subscribe()before subscribing via transport "webpush". The action is only available if the Web Push transport is deployed.Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object with the key; without one if Web Push is not available. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
Unknown
{- data ( data ): No description available
- error ( string ): The translated error message. Present in case of errors.
-
data
{- applicationServerKey ( string ): The VAPID public key as uncompressed P-256 point in base64url encoding.
-
-
-
Proxy
The module for generating proxy URIs for external resources (e.g. images).-
Generates a proxy URI for each of the supplied URLs. The returned proxy URIs route access to the external resources through the middleware's proxy servlet (see
com.openexchange.proxy.servlet), e.g. to load external images without exposing the client. The generated URIs deny basic authentication and access to internal addresses.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_proxy
Body:
Description:A JSON object carrying the URLs to generate proxy URIs for.
Content-type: application/json-
Unknown
{- urls ( array[string] , required ): The URLs to generate proxy URIs for. Each MUST be an absolute `http` or `https` URL; otherwise the request fails.
Responses:
200:
A JSON object whose `data` field maps each requested URL to its generated proxy URI. In case of errors the responsible fields are filled (see Error handling).
Content-type: application/json-
Unknown
{- data ( data ): Maps each requested URL to its generated proxy URI.
401:
No description available
403:
No description available
-
-
-
Quota
The quota module allows accessing information about the limit and current usage of a certain storage type.-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the filestore quota of the user's Drive file storage. If `quota` is -1 (unlimited), `use` is not determined and -1 as well. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
QuotaResponse
{- data ( QuotaData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
QuotaData
{- quota ( integer ): Represents the maximum storage in bytes (a negative value represents an unlimited quota).
- use ( integer ): Represents the used storage in bytes.
- countquota ( integer ): Represents the maximum number of messages (-1 represents an unlimited quota). Only returned by the action `mail`.
- countuse ( integer ): Represents the number of messages. Only returned by the action `mail`.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type module (empty) The module identifier (e.g. "share_links", "filestorage", "unified", ...) to get quota information for, required if account is set.
query string account (empty) The account identifier within the module to get quota information for.
query string folder (empty) The folder to get the quota for. Only evaluated if `module` and `account` are set.
query string Responses:
200:
If `module` is not specified it is returned a JSON object containing all quota modules as fields. Modules without any limited account are omitted. Each field is an object itself consisting of a field `display_name` and a field `accounts`. `accounts` is an array of JSON objects containing the properties `account_id`, `account_name`, `countquota` (account's quota limit for the number of items, or not set if not defined), `countuse` (account's actual usage for the number of items, or not set if no count quota defined), `quota` (account's quota limit for the storage in bytes, or not set if not defined) and `use` (account's actual usage for the storage in bytes, or not set if no storage quota defined). Accounts without any limited quota are omitted from these arrays. If `module` is specified it is returned a JSON array of such account objects, and if `account` is specified as well, the single account object. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
QuotasResponse
{- data ( data ): Dependent on the request parameters: the payload may be a JSON object containing the quota modules as fields that represent JSON objects itself with the properties "display_name" and "accounts" (array of account data objects), a JSON array of account data objects if the parameter "module" specifies a certain quota module, or a single account data object if both "module" and "account" are specified.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
400:
If a specified `module` is not existing, or if a specified `account` is not existing in that module.
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the storage quota (`quota`, `use`) and the message count quota (`countquota`, `countuse`) of the primary mail account's INBOX. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
QuotaResponse
{- data ( QuotaData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
QuotaData
{- quota ( integer ): Represents the maximum storage in bytes (a negative value represents an unlimited quota).
- use ( integer ): Represents the used storage in bytes.
- countquota ( integer ): Represents the maximum number of messages (-1 represents an unlimited quota). Only returned by the action `mail`.
- countuse ( integer ): Represents the number of messages. Only returned by the action `mail`.
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the unified quota. If Unified Quota is not enabled for or not applicable to the user, an error is returned. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
QuotaResponse
{- data ( QuotaData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
QuotaData
{- quota ( integer ): Represents the maximum storage in bytes (a negative value represents an unlimited quota).
- use ( integer ): Represents the used storage in bytes.
- countquota ( integer ): Represents the maximum number of messages (-1 represents an unlimited quota). Only returned by the action `mail`.
- countuse ( integer ): Represents the number of messages. Only returned by the action `mail`.
-
-
-
-
Checks whether the secret of the current session is working
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing detailed information about the secret status In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CheckSecretResponse
{- data ( CheckSecretData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CheckSecretData
{- secretWorks ( boolean ): Whether the secret of the session works or not.
- diagnosis ( string ): A diagnostic message why the secret isn't working. Only present if `secretWorks` is `false`.
-
-
Cleans-up non-working encrypted items.
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing a boolean if the clean-up was successful In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CleanUpSecretResponse
{- data ( CleanUpSecretData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CleanUpSecretData
{- clean_up ( boolean ): Always true if the clean up has run without error
-
-
Re-encrypts the items that are encrypted with the old secret, derived from the given password, with the secret of the current session.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type password (empty) The previous password the old secret is derived from. If the secret does not depend on the password, the value is used as the old secret itself.
query string Responses:
200:
A JSON object containing `1` as successful response In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MigrateSecretResponse
{- data ( integer ): Always `1` if the migration has run without error.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Removes non-working encrypted items
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing a boolean if the removal was successful In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CleanUpSecretResponse
{- data ( CleanUpSecretData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CleanUpSecretData
{- clean_up ( boolean ): Always true if the clean up has run without error
-
-
-
Reminder
The reminder module provides the ability to fetch all active reminders for a user between two dates.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_reminder
Body:
Description:A JSON array with JSON objects containing the field `id` of the reminders to delete. A single such JSON object is accepted as well. Task reminders are deleted. Appointment reminders (IDs greater than 2147483647) are not deleted; their alarm is acknowledged instead.
Content-type: application/json-
ReminderListElement
{- id ( integer , required ): The ID of the reminder.
Responses:
200:
A JSON object containing an array of reminder identifiers: the IDs of reminders that do not exist, and the IDs of appointment reminders whose alarm was acknowledged. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ReminderDeleteResponse
{- data ( array[integer] ): Identifiers of reminders. A reminder's identifier is listed when no such reminder exists; an appointment reminder's identifier is also listed when its alarm was acknowledged.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Gets all reminders which are scheduled until the specified time (end date). For non-appointment reminders, how far back the range starts is configured with
com.openexchange.reminder.reminderLookbackDays(unlimited by default), andcom.openexchange.reminder.maxRemindersPerRequestlimits their number.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_reminder
Parameters:
Parameter Value Description Parameter Type Data Type end (empty) The end date of the reminder range.
query long modules (empty) A comma separated list of the modules to retrieve, either as module ids (e.g. "1,4" for appointments and tasks) or as module names (`calendar`, `tasks`, `contacts`, `mail`, `infostore`). If the parameter is missing or empty then all modules are retrieved.
query string timezone (empty) The time zone the `alarm` and `server_time` values are shifted to. Defaults to the user's time zone.
query string Responses:
200:
A JSON object containing an array with data for each reminder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
RemindersResponse
{- data ( array[ReminderData] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ReminderData
{- id ( integer ): The ID of the reminder. For appointment reminders it combines the alarm ID (upper 32 bits) and the appointment ID (lower 32 bits) and is sent as a string.
- target_id ( integer ): The object ID of the target this reminder is attached to.
- folder ( integer ): The ID of the folder through that the object can be read.
- alarm ( integer ): The time of the alarm, in milliseconds shifted by the offset of the request's time zone (the `timezone` parameter, otherwise the user's time zone).
-
module
(
integer
, possibleValues:
147137
- server_time ( integer ): The time on the server, shifted by the same time zone offset as `alarm`.
- user_id ( integer ): The ID of the user.
- last_modified ( integer ): The last modification timestamp of the reminder.
- recurrence_position ( integer ): The recurrence position for series appointments or 0 if no series.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_reminder
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the reminder whose alarm date shall be changed.
query long timezone (empty) The time zone the `alarm` values of the request body and the response are shifted by. Defaults to the user's time zone.
query string Body:
Description:A JSON object containing the field `alarm` which provides the new reminder date.
Content-type: application/json-
ReminderUpdateBody
{- alarm ( integer , required ): The new time of the alarm, in milliseconds shifted by the offset of the request's time zone (the `timezone` parameter, otherwise the user's time zone).
Responses:
200:
A JSON object containing the data of the updated reminder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ReminderResponse
{- data ( ReminderData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ReminderData
{- id ( integer ): The ID of the reminder. For appointment reminders it combines the alarm ID (upper 32 bits) and the appointment ID (lower 32 bits) and is sent as a string.
- target_id ( integer ): The object ID of the target this reminder is attached to.
- folder ( integer ): The ID of the folder through that the object can be read.
- alarm ( integer ): The time of the alarm, in milliseconds shifted by the offset of the request's time zone (the `timezone` parameter, otherwise the user's time zone).
-
module
(
integer
, possibleValues:
147137
- server_time ( integer ): The time on the server, shifted by the same time zone offset as `alarm`.
- user_id ( integer ): The ID of the user.
- last_modified ( integer ): The last modification timestamp of the reminder.
- recurrence_position ( integer ): The recurrence position for series appointments or 0 if no series.
401:
No description available
403:
No description available
-
-
Gets the reminders modified since the given timestamp. Appointment reminders are included for appointments modified since the timestamp whose alarms trigger within the next seven days.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_reminder
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the requested reminders.
query long modules (empty) A comma separated list of the modules to retrieve, either as module ids (e.g. "1,4" for appointments and tasks) or as module names (`calendar`, `tasks`, `contacts`, `mail`, `infostore`). If the parameter is missing or empty then all modules are retrieved.
query string timezone (empty) The time zone the `alarm` and `server_time` values are shifted to. Defaults to the user's time zone.
query string Responses:
200:
A JSON object containing an array with data for each reminder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
RemindersResponse
{- data ( array[ReminderData] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ReminderData
{- id ( integer ): The ID of the reminder. For appointment reminders it combines the alarm ID (upper 32 bits) and the appointment ID (lower 32 bits) and is sent as a string.
- target_id ( integer ): The object ID of the target this reminder is attached to.
- folder ( integer ): The ID of the folder through that the object can be read.
- alarm ( integer ): The time of the alarm, in milliseconds shifted by the offset of the request's time zone (the `timezone` parameter, otherwise the user's time zone).
-
module
(
integer
, possibleValues:
147137
- server_time ( integer ): The time on the server, shifted by the same time zone offset as `alarm`.
- user_id ( integer ): The ID of the user.
- last_modified ( integer ): The last modification timestamp of the reminder.
- recurrence_position ( integer ): The recurrence position for series appointments or 0 if no series.
401:
No description available
403:
No description available
-
-
-
Resources
The resource module allows to query available resources. It is mainly used by the dialog for the selection of participants.-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing an array of resource identifiers. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AllResourcesResponse
{- data ( array[integer] ): Array of resource identifiers.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the resources to delete. If set and a resource was modified after the specified timestamp, the deletion of that resource fails. If omitted, no timestamp check is done.
query long Body:
Description:A JSON array of objects with the field `id` containing the unique identifier of the resource. A single such object without the enclosing array is accepted as well.
Content-type: application/json-
ResourceListElement
{- id ( integer ): ID of a resource.
Responses:
200:
A JSON object with an empty array if the resources were deleted successfully. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourcesResponse
{- data ( array[ResourceResponseData] ): Array of resource objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ResourceResponseData
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the resource.
query integer Responses:
200:
A JSON object containing the resource data. If no resource with the ID exists but a user does, an object with only the user's `id` and `display_name` is returned. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourceResponse
{- data ( ResourceResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ResourceResponseData
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON array of JSON objects with the id of the requested resources.
Content-type: application/json-
ResourceListElement
{- id ( integer ): ID of a resource.
Responses:
200:
A JSON object containing an array of resource objects. An ID that denotes a user instead of a resource yields an object with only the user's `id` and `display_name`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourcesResponse
{- data ( array[ResourceResponseData] ): Array of resource objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ResourceResponseData
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the resource data. The field `id` is not present.
Content-type: application/json-
ResourceRequestData
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
Responses:
200:
A JSON object with the ID of the newly created resource. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourceUpdateResponse
{- data ( ResourceUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ResourceUpdateData
{- id ( integer ): The ID of a newly created resource.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type sortByUseCount (empty) If `true`, the results are implicitly sorted based on the individual use count number of the requesting user, in descending order (most frequently resources first)
query boolean Body:
Description:A JSON object with the search parameters. If `pattern` is absent or `null`, all resources are returned.
Content-type: application/json-
ResourceSearchBody
{- pattern ( string ): Search pattern matched as a substring against the name and the display name of the resources. In the pattern, the character "*" matches zero or more characters. An empty pattern matches no resource, the pattern "*" matches all resources.
Responses:
200:
A JSON object containing an array of resource objects. The array is empty if the user lacks the groupware permission. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourcesResponse
{- data ( array[ResourceResponseData] ): Array of resource objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ResourceResponseData
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) ID of the resource that shall be updated.
query integer timestamp (empty) Timestamp of the last update of the resource to update. If the resource was modified after the specified timestamp, then the update must fail. If omitted, no timestamp check is done.
query long Body:
Description:A JSON object containing the resource data fields to change. Only modified fields are present and the field id is omitted. Fields that are not present keep their current value.
Content-type: application/json-
ResourceRequestData
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the requested resources. Resources modified or deleted after this timestamp are returned.
query long Responses:
200:
A JSON object with fields `new`, `modified` and `deleted`. `new` and `modified` both contain the same array of all new and modified resource objects, `deleted` contains the deleted resource objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourceUpdatesResponse
{- data ( ResourceUpdatesData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ResourceUpdatesData
{- new ( array[ResourceResponseData] ): Array of new and modified resource objects (same content as `modified`).
- modified ( array[ResourceResponseData] ): Array of new and modified resource objects (same content as `new`).
- deleted ( array[ResourceResponseData] ): Array of deleted resource objects.
-
ResourceResponseData
{- id ( integer ): The resource ID.
- display_name ( string ): Display name of the resource.
- name ( string ): Internal name with character restrictions.
- mailaddress ( string ): Email address of the resource.
- availability ( boolean ): Can be false to mark the resource currently unavailable.
- description ( string ): The description of the resource.
- last_modified ( integer ): Timestamp of the last modification.
- last_modified_utc ( integer ): Timestamp of the last modification.
- permissions ( array[ResourcePermission] ): The permissions of the resource.
-
own_privilege
(
string
, possibleValues:
noneask_to_bookbook_directlydelegate
-
ResourcePermission
{- entity ( integer , required ): Internal identifier of the user or group to which this permission applies.
- group ( boolean , required ): Set `true` if entity refers to a group, `false` if it refers to a user
-
privilege
(
string
,
required
, possibleValues:
noneask_to_bookbook_directlydelegate
-
-
-
-
Loads the given RSS/Atom feeds and returns their articles. The module accepts any
actionvalue. If exactly one feed URL is given, a failure to load it (denied host, timeout, I/O or parse error) is returned as an error; with several feed URLs such failures are returned as warnings and the remaining feeds are still loaded.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type feedUrl (empty) The URL-encoded URL of a single feed to load. Only evaluated, and then required, if the request body has no `feedUrl` array.
query string limit (empty) Limitation of elements returned (in total). A value less than or equal to 0 means no limit.
query integer sort (empty) The identifier which determines the sort order of the response, case-insensitive. "DATE" sorts the articles by date; any other value (e.g. "SOURCE") keeps the order in which the feeds returned them.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. Case-insensitive; any value other than "desc" sorts in ascending order. Only applies if `sort` is "DATE".
query string drop_images (empty) Whether external images are removed from the HTML bodies of the articles.
query boolean Body:
Description:A JSON object whose `feedUrl` array contains all RSS feeds to load. The array can consist of one element. Without that array, the `feedUrl` query parameter is used.
Content-type: application/json-
RssFeedElement
{- feedUrl ( array[string] ): An array of URLs for the RSS feeds.
Responses:
200:
A JSON object containing an array with data for the rss feed. Each array element is a JSON object describing one article. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
RssResponse
{- data ( array[object] ): Array containing the different articles provided by the RSS feed.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
SAML
Endpoints of the built-in SAML 2.0 service provider. See https://documentation.open-xchange.com/8/middleware/login_and_sessions/saml_2.0_sso.html.-
SAML 2.0 Assertion Consumer Service. Accepts
<Response>messages of the Web Browser SSO Profile perHTTP-POSTbinding.Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments without a configured path this segment is omitted, e.g. `/saml/acs`.
path string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
acsBody
{-
SAMLResponse
(
string
,
required
):
Base64 encoded SAML 2.0 `
` message. -
RelayState
(
string
):
Message exchange relay state. Required if the `
` carries an `InResponseTo` attribute, optional on unsolicited responses.
-
SAMLResponse
(
string
,
required
):
Base64 encoded SAML 2.0 `
Responses:
302:
Redirect to `/login?action=samlLogin` (the action name is suffixed with the tenant path, if any) carrying a session reservation `token` and, if given on init, `loginPath`, `client` and `uriFragment`.
default:
Environment specific exit path (HTML page or redirect) on any error
-
-
Initiates any supported SAML 2.0 login and logout flow as described in https://documentation.open-xchange.com/8/middleware/login_and_sessions/saml_2.0_sso.html.
Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments without a configured path this segment is omitted, e.g. `/saml/init`.
path string flow One of `login`, `relogin` or `logout` to start the respective flow. For `login` and `relogin` with SAML auto-login enabled and a valid session cookie, the redirect URI points to the App Suite UI instead of the identity provider.
query string session (empty) Required for flow `logout`. A session ID to determine the correct session.
query string redirect (empty) If `true`, responds with `302 Found` and sets the response header `Location` to the actual redirect URI.
query boolean loginPath (empty) Flows `login` and `relogin`: UI path to redirect to after login. Passed on to the `samlLogin` action.
query string client (empty) Flows `login` and `relogin`: client identifier. Passed on to the `samlLogin` action.
query string uriFragment (empty) Flows `login` and `relogin`: URI fragment to append to the UI URL after login. Passed on to the `samlLogin` action.
query string hash (empty) Deprecated name of `uriFragment`, used only if `uriFragment` is not set.
query string Responses:
200:
Request was successful. Response JSON contains a redirect URI that the client must follow to continue.
Content-type: application/json-
Unknown
{- redirect_uri ( string , required ): A redirect URI that the client must follow to continue
302:
In case a redirect was requested
400:
In case of a missing or unknown `flow`, or a missing or unknown `session` for flow `logout`
500:
In case of an internal server error
-
-
SAML 2.0 Metadata Service. Provides an
<EntityDescriptor>XML document describing the built-in service provider configuration. Only available ifcom.openexchange.saml.enableMetadataServiceistrue.Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments without a configured path this segment is omitted, e.g. `/saml/metadata`.
path string Responses:
200:
The metadata response
Content-type: application/xml-
Unknown
500:
HTML error page
Content-type: text/html-
Unknown
-
-
SAML 2.0 Single Logout Service. Accepts
<LogoutRequest>and<LogoutResponse>messages perHTTP-Redirectbinding. Exactly one ofSAMLRequestorSAMLResponseis expected. Only available ifcom.openexchange.saml.enableSingleLogoutistrue.Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments without a configured path this segment is omitted, e.g. `/saml/sls`.
path string SAMLRequest (empty) Base64 encoded and deflated SAML 2.0 `
` message. query string SAMLResponse (empty) Base64 encoded and deflated SAML 2.0 `
` message. query string SigAlg (empty) Message signature algorithm ID
query string Signature (empty) Message signature
query string RelayState (empty) Message exchange relay state. Required together with `SAMLResponse`.
query string Responses:
200:
On a `
` with the logout response binding `HTTP-POST`: HTML response with a self-submitting form that POSTs the ` ` back to the IdP. 302:
On a `
` with the logout response binding `HTTP-Redirect`: redirect URI that submits the ` ` back to the IdP. On a valid ` `: redirect to `/login?action=samlLogout`. 400:
In case neither `SAMLRequest` nor `SAMLResponse` is given
500:
In case of internal server errors
default:
Environment specific exit path (HTML page or redirect) if a `
` cannot be processed -
SAML 2.0 Single Logout Service. Accepts
<LogoutRequest>and<LogoutResponse>messages perHTTP-POSTbinding. Exactly one ofSAMLRequestorSAMLResponseis expected. Only available ifcom.openexchange.saml.enableSingleLogoutistrue.Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments without a configured path this segment is omitted, e.g. `/saml/sls`.
path string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
slsPostBody
{-
SAMLRequest
(
string
):
Base64 encoded SAML 2.0 `
` message. -
SAMLResponse
(
string
):
Base64 encoded SAML 2.0 `
` message. - RelayState ( string ): Message exchange relay state. Required together with `SAMLResponse`.
-
SAMLRequest
(
string
):
Base64 encoded SAML 2.0 `
Responses:
200:
On a `
` with the logout response binding `HTTP-POST`: HTML response with a self-submitting form that POSTs the ` ` back to the IdP. 302:
On a `
` with the logout response binding `HTTP-Redirect`: redirect URI that submits the ` ` back to the IdP. On a valid ` `: redirect to `/login?action=samlLogout`. 400:
In case neither `SAMLRequest` nor `SAMLResponse` is given
500:
In case of internal server errors
default:
Environment specific exit path (HTML page or redirect) if a `
` cannot be processed -
-
-
sessionmanagement
The session management module-
Lists the sessions of the current user, except sessions of clients listed in
com.openexchange.session.management.clientBlacklist. Sessions are ordered by client type: browser sessions first, then OX app sessions, then sync (EAS and DAV) sessions, then all others.Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing the sessions that were found. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AllSessionsResponse
{- data ( array[SessionManagementData] ): An array of active sessions and information about those sessions.
-
SessionManagementData
{- sessionId ( string ): The session identifier
- ipAddress ( string ): The IP address associated with the session
- client ( string ): The client associated with the session
- userAgent ( string ): The user agent associated with the session
- loginTime ( integer ): Time of login in UTC. Not set if unknown.
- lastActive ( integer ): Time of last activity in UTC, never earlier than the login time. Not set if unknown.
- location ( string ): Guessed location based on IP address. Not set if unknown.
- device ( DeviceInfo ): Information about the device which is associated with the session
-
DeviceInfo - Information about the device which is associated with the session
{- displayName ( string ): Localized string describing the device
- os ( os ): The operating system of the device. Not set if the device is unknown.
- client ( client ): The client application. Only `type` is set if the device is unknown.
-
os - The operating system of the device. Not set if the device is unknown.
{- name ( string ): The operating system family, e.g. "macos"
- version ( string ): The operating system version
-
client - The client application. Only `type` is set if the device is unknown.
{- name ( string ): The client name
- version ( string ): The client version
-
type
(
string
, possibleValues:
browseroxappeasdavother
- family ( string ): The client family
-
-
Removes all sessions of the current user except the session performing this request and sessions of clients listed in
com.openexchange.session.management.clientBlacklist.Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
-
Removes the sessions with the given identifiers. An anonymous guest can only remove its own session.
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON array containing all session Ids to delete
Content-type: application/json
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
-
-
Share/Management
The share/management module can create and manage share links via different actions. Dedicated actions to list all shares of a user can be found in the corresponding modules, like `/folders?action=shares` of module "folders" or `/infostore?action=shares` of module "infostore".-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the data for the update
Content-type: application/json-
SubscribeShareBody
{- link ( string , required ): The link to a share
Responses:
200:
A JSON object containing data of the analyzed share link. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ShareLinkAnalyzeResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{-
state
(
string
, possibleValues:
SUBSCRIBEDCREDENTIALS_REFRESHADDABLEADDABLE_WITH_PASSWORDINACCESSIBLEREMOVEDUNRESOLVABLEUNSUPPORTEDFORBIDDENUNSUBSCRIBED
- error ( error ): Further details in case a share isn't `SUBSCRIBED`, `ADDABLE` or `ADDABLE_WITH_PASSWORD`
- account ( string ): The account ID of the newly created account
- module ( string ): The module of the subscription
- folder ( string ): The folder ID of the subscrition
-
state
(
string
, possibleValues:
-
error - Further details in case a share isn't `SUBSCRIBED`, `ADDABLE` or `ADDABLE_WITH_PASSWORD`
{- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) The timestamp of the last modification of the link. Used to detect concurrent modifications.
query long Body:
Description:A JSON object containing the share target where the link should be deleted for.
Content-type: application/json-
ShareTargetData
{- module ( string , required ): The folder's module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".
- folder ( string , required ): The folder identifier.
- item ( string ): The object identifier, in case the share target is a single item. This must not be present to share a complete folder.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) The time zone the `expiry_date` is expressed in, i.e. its offset is added to/removed from the UTC value. Defaults to the user's time zone.
query string Body:
Description:A JSON object containing the share target where the link should be generated for.
Content-type: application/json-
ShareTargetData
{- module ( string , required ): The folder's module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".
- folder ( string , required ): The folder identifier.
- item ( string ): The object identifier, in case the share target is a single item. This must not be present to share a complete folder.
Responses:
200:
A JSON object containing data of the (newly created) share link. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ShareLinkResponse
{- data ( ShareLinkData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
ShareLinkData
{- url ( string ): The link to share.
- entity ( integer ): The identifier of the anonymous user entity for the share.
- is_new ( boolean ): Whether the share link is new, i.e. it has been created by the `/share/management?action=getLink` request, or if it already existed (read-only).
- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible, shifted by the offset of the requested time zone.
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share.
- includeSubfolders ( boolean ): An optional flag indicating if subfolders are included or not. Only applicable for shared infostore folders.
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the data for the update
Content-type: application/json-
ExtendedSubscribeShareBody
{- link ( string , required ): The link to a share
- password ( string ): The password to the share
- name ( string ): The display name of the subsription
Responses:
200:
An json object holding the account information in case of success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SubscribeShareResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- account ( string ): The account ID of the newly created account
- module ( string ): The module of the subscription
- folder ( string ): The folder ID of the subscrition
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the share target and a list of recipients specified in a field `recipients` that is a JSON array with a nested two-elements array containing the recipient information (first element is personal name, second is email address). An optional field `message` can contain a notification.
Content-type: application/json-
ShareLinkSendBody
{- recipients ( array[array[string]] , required ): An array that lists the recipients. Each element is itself an array specifying one recipient: either a one-element array holding the email address, or a two-element array where the first element represents the personal name and the second element is the email address.
-
transport
(
string
, possibleValues:
mail
- message ( string ): Can contain an optional custom message.
- module ( string , required ): The folder's module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".
- folder ( string , required ): The folder identifier.
- item ( string ): The object identifier, in case the share target is a single item. This must not be present to share a complete folder.
Responses:
200:
Transport warnings that occurred during sending the notifications are available in a `warnings` array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ShareLinkSendResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- warnings ( warnings ): Present in case of one or more warnings. In case one warning occurs the object contains a JSONObject with error data. If more warnings occur, the object contains a JSONArray that holds JSONObjects with error data.
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the data for the update
Content-type: application/json-
ExtendedSubscribeShareBody
{- link ( string , required ): The link to a share
- password ( string ): The password to the share
- name ( string ): The display name of the subsription
Responses:
200:
An json object holding the account information in case of success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SubscribeShareResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- account ( string ): The account ID of the newly created account
- module ( string ): The module of the subscription
- folder ( string ): The folder ID of the subscrition
-
-
Security:
This security scheme must be used:Name Scopes session
Body:
Description:A JSON object containing the data for the update
Content-type: application/json-
SubscribeShareBody
{- link ( string , required ): The link to a share
Responses:
200:
An empty json object in case of success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) The timestamp of the last modification of the link. Used to detect concurrent modifications.
query long timezone (empty) The time zone the `expiry_date` is expressed in, i.e. its offset is added to/removed from the UTC value. Defaults to the user's time zone.
query string Body:
Description:A JSON object containing the share target and share link properties of the link to update. Only modified fields should be set but at least the share target ones.
Content-type: application/json-
ShareLinkUpdateBody
{- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible, shifted by the offset of the requested time zone. `null` removes the expiration.
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share. `null` removes the password.
- includeSubfolders ( boolean ): An optional flag indicating whether subfolders should be included or not. Only applicable for Drive folders.
- module ( string , required ): The folder's module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".
- folder ( string , required ): The folder identifier.
- item ( string ): The object identifier, in case the share target is a single item. This must not be present to share a complete folder.
Responses:
200:
An empty json object in case of success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) The timestamp of the last modification of the link. Used to detect concurrent modifications.
query long timezone (empty) The time zone the `expiry_date` is expressed in, i.e. its offset is added to/removed from the UTC value. Defaults to the user's time zone.
query string Body:
Description:A JSON object containing the share target and share link properties of the link to update. Only modified fields should be set but at least the share target ones.
Content-type: application/json-
ShareLinkUpdateBody
{- expiry_date ( integer ): The end date / expiration time after which the share link is no longer accessible, shifted by the offset of the requested time zone. `null` removes the expiration.
- password ( string ): An additional secret / pin number an anonymous user needs to enter when accessing the share. `null` removes the password.
- includeSubfolders ( boolean ): An optional flag indicating whether subfolders should be included or not. Only applicable for Drive folders.
- module ( string , required ): The folder's module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".
- folder ( string , required ): The folder identifier.
- item ( string ): The object identifier, in case the share target is a single item. This must not be present to share a complete folder.
Responses:
200:
An empty json object in case of success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
-
Share/Redeem
The share/redeem module is used to redeem previously reserved tokens during the share login workflow.-
Parameters:
Parameter Value Description Parameter Type Data Type token (empty) The token as received when accessing the share link.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
A JSON object containing the extended parameters of the redirect location as string values, including a translated `message` if the location carries one. If the token is missing, unknown or expired, the object only contains an `error` field with a translated message.
Content-type: application/json-
Unknown
{
-
-
-
Sharedaccount
Shared accounts are special groupware accounts that are used as additional account in App Suite by one or more users collaboratively. Thesharedaccountmodule provides client access to the shared account available to the user.-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON array containing shared accounts.
Content-type: application/json-
SharedAccountsResponse
{- data ( array[SharedAccountInfo] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Shared Account Info - Information about a shared account accessible by the user.
{- accountId ( string ): The unique identifier of the shared account
- entityInfo ( entityInfo ): Detailed information about creator/modifier of an object
- userSettings ( Shared Account User Settings ): Individual / per-user settings of a shared account.
- moduleConfigurations ( Shared Account Module Configurations ): Module-specific configuration properties of a shared account
- capabilities ( array[string] ): The available shared account capabilities
-
entityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
Shared Account User Settings - Individual / per-user settings of a shared account.
{-
enabled
(
boolean
):
trueif the shared account is enabled,false, otherwise - lastModified ( integer ): Date and time of the last modification.
- mail ( mail ): Mail-specific user settings of the shared account.
- calendar ( calendar ): Calendar-specific user settings of the shared account.
- contacts ( contacts ): Contacts-specific user settings of the shared account.
-
enabled
(
boolean
):
-
Shared Account Module Configurations - Module-specific configuration properties of a shared account
{- mail ( mail ): Mail-specific configuration properties of the shared account
- calendar ( calendar ): Calendar-specific configuration properties of the shared account
- contacts ( contacts ): Contacts-specific configuration properties of the shared account, i.e. of its address books
-
mail - Mail-specific configuration properties of the shared account
{- moduleAccountId ( string ): The identifier of the underlying mail account
- properties ( properties ): Arbitrary properties related to the module configuration
-
permissions
(
string
, possibleValues:
noneviewereditorauthoradmin
-
calendar - Calendar-specific configuration properties of the shared account
{- moduleAccountId ( string ): The identifier of the underlying calendar account
- properties ( properties ): Arbitrary properties related to the module configuration
-
permissions
(
string
, possibleValues:
noneviewereditorauthoradmin
-
contacts - Contacts-specific configuration properties of the shared account, i.e. of its address books
{- moduleAccountId ( string ): The identifier of the underlying contacts account
- properties ( properties ): Arbitrary properties related to the module configuration
-
permissions
(
string
, possibleValues:
noneviewereditorauthoradmin
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type accountId (empty) The identifier for the shared account to get
query string Responses:
200:
The JSON representation of the shared account.
Content-type: application/json-
SharedAccountResponse
{- data ( Shared Account Info ): Information about a shared account accessible by the user.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Shared Account Info - Information about a shared account accessible by the user.
{- accountId ( string ): The unique identifier of the shared account
- entityInfo ( entityInfo ): Detailed information about creator/modifier of an object
- userSettings ( Shared Account User Settings ): Individual / per-user settings of a shared account.
- moduleConfigurations ( Shared Account Module Configurations ): Module-specific configuration properties of a shared account
- capabilities ( array[string] ): The available shared account capabilities
-
entityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
Shared Account User Settings - Individual / per-user settings of a shared account.
{-
enabled
(
boolean
):
trueif the shared account is enabled,false, otherwise - lastModified ( integer ): Date and time of the last modification.
- mail ( mail ): Mail-specific user settings of the shared account.
- calendar ( calendar ): Calendar-specific user settings of the shared account.
- contacts ( contacts ): Contacts-specific user settings of the shared account.
-
enabled
(
boolean
):
-
Shared Account Module Configurations - Module-specific configuration properties of a shared account
{- mail ( mail ): Mail-specific configuration properties of the shared account
- calendar ( calendar ): Calendar-specific configuration properties of the shared account
- contacts ( contacts ): Contacts-specific configuration properties of the shared account, i.e. of its address books
-
mail - Mail-specific configuration properties of the shared account
{- moduleAccountId ( string ): The identifier of the underlying mail account
- properties ( properties ): Arbitrary properties related to the module configuration
-
permissions
(
string
, possibleValues:
noneviewereditorauthoradmin
-
calendar - Calendar-specific configuration properties of the shared account
{- moduleAccountId ( string ): The identifier of the underlying calendar account
- properties ( properties ): Arbitrary properties related to the module configuration
-
permissions
(
string
, possibleValues:
noneviewereditorauthoradmin
-
contacts - Contacts-specific configuration properties of the shared account, i.e. of its address books
{- moduleAccountId ( string ): The identifier of the underlying contacts account
- properties ( properties ): Arbitrary properties related to the module configuration
-
permissions
(
string
, possibleValues:
noneviewereditorauthoradmin
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Lists everyone who has access to the shared account, including grantees of other contexts.
Requires the
listPermissionscapability on that account, which a deployment grants either to everyone (through the default capabilities) or to selected users only. Without it the request is answered withSAC-0009.Preliminary: the response shape may still change. It deliberately reports who holds a permission, not which permission each of them holds.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type accountId (empty) The identifier of the shared account to list the permission holders of
query string Responses:
200:
The JSON representation of the permission holders.
Content-type: application/json-
SharedAccountPermissionsResponse
{-
data
(
array[object]
):
The users and groups holding a permission on the shared account. Entities of a foreign context are identified by the qualified "
@ " identifier alone and carry no numeric entity. - timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
(
array[object]
):
The users and groups holding a permission on the shared account. Entities of a foreign context are identified by the qualified "
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Only the properties present in the request body are changed. If the body contains at least one module key (e.g.
mail), the stored module-specific settings are replaced as a whole by the module objects of the body; without any module key they are kept.lastModifiedis ignored. The response'stimestampcarries the new last modification time of the user settings.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type accountId (empty) The identifier for the shared account to update the user settings for
query string timestamp (empty) Last modification time of the user settings being updated known by the client to catch concurrent updates. Check is skipped if omitted.
query long Body:
Description:A JSON object describing the updated user settings of the shared account.
Content-type: application/json-
Shared Account User Settings - Individual / per-user settings of a shared account.
{-
enabled
(
boolean
):
trueif the shared account is enabled,false, otherwise - lastModified ( integer ): Date and time of the last modification.
- mail ( mail ): Mail-specific user settings of the shared account.
- calendar ( calendar ): Calendar-specific user settings of the shared account.
- contacts ( contacts ): Contacts-specific user settings of the shared account.
-
enabled
(
boolean
):
Responses:
200:
The JSON representation of the updated shared account.
Content-type: application/json-
SharedAccountResponse
{- data ( Shared Account Info ): Information about a shared account accessible by the user.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
Shared Account Info - Information about a shared account accessible by the user.
{- accountId ( string ): The unique identifier of the shared account
- entityInfo ( entityInfo ): Detailed information about creator/modifier of an object
- userSettings ( Shared Account User Settings ): Individual / per-user settings of a shared account.
- moduleConfigurations ( Shared Account Module Configurations ): Module-specific configuration properties of a shared account
- capabilities ( array[string] ): The available shared account capabilities
-
entityInfo - Detailed information about creator/modifier of an object
{- identifier ( string ): Identifier of the entity information
- type ( string ): Type of the entity information. Possible values are 'user', 'group', 'guest' and 'anonymous'
- display_name ( string ): display name of the entity information
- entity ( integer ): Internal object identifier for the entity information if available, '-1' otherwise
- contact ( contact ): No description available
-
contact
{- title ( string ): Optional title of the contact information
- first_name ( string ): Optional first name of the contact information
- last_name ( string ): Optional last name of the contact information
- email1 ( string ): Optional email address of the contact information
- image1_url ( string ): Optional URL to contact image
-
Shared Account User Settings - Individual / per-user settings of a shared account.
{-
enabled
(
boolean
):
trueif the shared account is enabled,false, otherwise - lastModified ( integer ): Date and time of the last modification.
- mail ( mail ): Mail-specific user settings of the shared account.
- calendar ( calendar ): Calendar-specific user settings of the shared account.
- contacts ( contacts ): Contacts-specific user settings of the shared account.
-
enabled
(
boolean
):
-
Shared Account Module Configurations - Module-specific configuration properties of a shared account
{- mail ( mail ): Mail-specific configuration properties of the shared account
- calendar ( calendar ): Calendar-specific configuration properties of the shared account
- contacts ( contacts ): Contacts-specific configuration properties of the shared account, i.e. of its address books
-
mail - Mail-specific configuration properties of the shared account
{- moduleAccountId ( string ): The identifier of the underlying mail account
- properties ( properties ): Arbitrary properties related to the module configuration
-
permissions
(
string
, possibleValues:
noneviewereditorauthoradmin
-
calendar - Calendar-specific configuration properties of the shared account
{- moduleAccountId ( string ): The identifier of the underlying calendar account
- properties ( properties ): Arbitrary properties related to the module configuration
-
permissions
(
string
, possibleValues:
noneviewereditorauthoradmin
-
contacts - Contacts-specific configuration properties of the shared account, i.e. of its address books
{- moduleAccountId ( string ): The identifier of the underlying contacts account
- properties ( properties ): Arbitrary properties related to the module configuration
-
permissions
(
string
, possibleValues:
noneviewereditorauthoradmin
400:
Bad request, response contains error message.
401:
Not authorized
-
-
-
-
Security:
One of these security schemes must be used:Name Scopes oauth
Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type type (empty) A list of comma-separated types to filter, e.g. "signature".
query string Responses:
200:
A JSON object containing an array with data for all snippets. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetsResponse
{- data ( array[SnippetResponseData] ): An array of snippet objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
SnippetResponseData
{- id ( string ): The ID of the snippet.
- accountid ( integer ): The identifier of the account.
- createdby ( integer ): The user ID of the creator.
- displayname ( string ): The display name of the snippet.
- type ( string ): The type of the snippet, like "signature".
- content ( string ): Contains the snippet's content.
- module ( string ): The module identifier, like "com.openexchange.mail".
- shared ( boolean ): The shared flag.
- sharedreadonly ( boolean ): Whether other users may only read, not modify or delete, the shared snippet.
- misc ( misc ): Contains miscellaneous data as JSON object.
- props ( props ): Contains custom properties as JSON object.
- files ( array[SnippetAttachment] ): An array of attachments.
- error ( string ): Set if the snippet's content could not be loaded completely, e.g. because it exceeds the maximum snippet size.
-
SnippetAttachment
{- id ( string ): The ID of the attachment.
- filename ( string ): The file name of the attachment.
- mimetype ( string ): The MIME type of the attachment.
- contentid ( string ): The content ID of the attachment.
- size ( integer ): The size of the attachment in bytes.
401:
No description available
-
-
It can be uploaded multiple files at once. Each file must be specified in an own form field (the form field name is arbitrary). Only image files are accepted; SVG images are rejected.
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_userconfig
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the snippet.
query string Body:
Description:No description available
Content-type: multipart/form-data-
addSnippetAttachmentBody
{- file ( string , required ): The attachment file.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the ID of the updated snippet or errors if some occurred.
Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_userconfig
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the snippet. Otherwise provide one or more identifiers in the request body's JSON array.
query string Body:
Description:A JSON array containing the identifiers of the snippets to delete. If present, the parameter `id` is ignored. Identifiers of snippets that do not exist are skipped.
Content-type: application/json
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_userconfig
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the snippet.
query string Body:
Description:A JSON array with JSON objects each containing a field `id` with the identifier of an attachment that shall be removed.
Content-type: application/json-
SnippetAttachmentListElement
{- id ( string ): The identifier of an attachment.
Responses:
200:
A JSON object containing the ID of the updated snippet. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetUpdateResponse
{- data ( string ): The ID of the new snippet.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes oauth
Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the snippet.
query string Responses:
200:
A JSON object containing the data of the snippet. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetResponse
{- data ( SnippetResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
SnippetResponseData
{- id ( string ): The ID of the snippet.
- accountid ( integer ): The identifier of the account.
- createdby ( integer ): The user ID of the creator.
- displayname ( string ): The display name of the snippet.
- type ( string ): The type of the snippet, like "signature".
- content ( string ): Contains the snippet's content.
- module ( string ): The module identifier, like "com.openexchange.mail".
- shared ( boolean ): The shared flag.
- sharedreadonly ( boolean ): Whether other users may only read, not modify or delete, the shared snippet.
- misc ( misc ): Contains miscellaneous data as JSON object.
- props ( props ): Contains custom properties as JSON object.
- files ( array[SnippetAttachment] ): An array of attachments.
- error ( string ): Set if the snippet's content could not be loaded completely, e.g. because it exceeds the maximum snippet size.
-
SnippetAttachment
{- id ( string ): The ID of the attachment.
- filename ( string ): The file name of the attachment.
- mimetype ( string ): The MIME type of the attachment.
- contentid ( string ): The content ID of the attachment.
- size ( integer ): The size of the attachment in bytes.
401:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the snippet.
query string attachmentid (empty) The identifier of the attachment.
query string save (empty) If set to `1` (or `true`, `yes`, `on`), the attachment is returned with the content type `application/octet-stream` instead of its own content type.
query string Responses:
200:
The attachment's raw data. The response's content type is the attachment's content type, unless the parameter `save` is set.
Content-type: application/octet-stream-
Unknown
401:
No description available
default:
An HTML error page with an HTTP status code matching the error. If the request's `Accept` header asks for JSON, the error is returned as JSON instead (see Error handling).
Content-type: text/html-
Unknown
-
-
Creates an HTML signature snippet for the module
io.ox/mailfrom exactly one uploaded HTML file.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_userconfig
Parameters:
Parameter Value Description Parameter Type Data Type displayName (empty) The name of the snippet
query string Body:
Description:No description available
Content-type: multipart/form-data-
importSnippetBody
{- file ( string , required ): The HTML file to import as snippet content.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the field `data` that holds an object with the field `id` of the newly created snippet, or errors if some occurred.
Content-type: text/html-
Unknown
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Body:
Description:A JSON array of snippet identifiers.
Content-type: application/json
Responses:
200:
A JSON object containing an array with data for the requested snippets. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetsResponse
{- data ( array[SnippetResponseData] ): An array of snippet objects.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
SnippetResponseData
{- id ( string ): The ID of the snippet.
- accountid ( integer ): The identifier of the account.
- createdby ( integer ): The user ID of the creator.
- displayname ( string ): The display name of the snippet.
- type ( string ): The type of the snippet, like "signature".
- content ( string ): Contains the snippet's content.
- module ( string ): The module identifier, like "com.openexchange.mail".
- shared ( boolean ): The shared flag.
- sharedreadonly ( boolean ): Whether other users may only read, not modify or delete, the shared snippet.
- misc ( misc ): Contains miscellaneous data as JSON object.
- props ( props ): Contains custom properties as JSON object.
- files ( array[SnippetAttachment] ): An array of attachments.
- error ( string ): Set if the snippet's content could not be loaded completely, e.g. because it exceeds the maximum snippet size.
-
SnippetAttachment
{- id ( string ): The ID of the attachment.
- filename ( string ): The file name of the attachment.
- mimetype ( string ): The MIME type of the attachment.
- contentid ( string ): The content ID of the attachment.
- size ( integer ): The size of the attachment in bytes.
401:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_userconfig
Body:
Description:A JSON object describing the snippet excluding its attachment(s). For adding attachments see `/snippet?action=attach` request. The fields `displayname`, `type` and `module` are required.
Content-type: application/json-
SnippetRequestData
{- id ( string ): The ID of the snippet.
- accountid ( integer ): The identifier of the account.
- displayname ( string ): The display name of the snippet.
- type ( string ): The type of the snippet, like "signature".
- content ( string ): Contains the snippet's content.
- module ( string ): The module identifier, like "com.openexchange.mail".
- shared ( boolean ): The shared flag.
- sharedreadonly ( boolean ): Whether other users may only read, not modify or delete, the shared snippet.
- misc ( misc ): Contains miscellaneous data as JSON object.
- props ( props ): Contains custom properties as JSON object.
- files ( array[SnippetAttachment] ): An array of attachments.
-
SnippetAttachment
{- id ( string ): The ID of the attachment.
- filename ( string ): The file name of the attachment.
- mimetype ( string ): The MIME type of the attachment.
- contentid ( string ): The content ID of the attachment.
- size ( integer ): The size of the attachment in bytes.
Responses:
200:
A JSON object containing the ID of the newly created snippet. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetUpdateResponse
{- data ( string ): The ID of the new snippet.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_userconfig
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the snippet.
query string Body:
Description:A JSON object providing the fields that should be changed, excluding its attachments. For deleting attachments see `/snippet?action=detach` request.
Content-type: application/json-
SnippetRequestData
{- id ( string ): The ID of the snippet.
- accountid ( integer ): The identifier of the account.
- displayname ( string ): The display name of the snippet.
- type ( string ): The type of the snippet, like "signature".
- content ( string ): Contains the snippet's content.
- module ( string ): The module identifier, like "com.openexchange.mail".
- shared ( boolean ): The shared flag.
- sharedreadonly ( boolean ): Whether other users may only read, not modify or delete, the shared snippet.
- misc ( misc ): Contains miscellaneous data as JSON object.
- props ( props ): Contains custom properties as JSON object.
- files ( array[SnippetAttachment] ): An array of attachments.
-
SnippetAttachment
{- id ( string ): The ID of the attachment.
- filename ( string ): The file name of the attachment.
- mimetype ( string ): The MIME type of the attachment.
- contentid ( string ): The content ID of the attachment.
- size ( integer ): The size of the attachment in bytes.
Responses:
200:
A JSON object containing the data of the updated snippet. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetResponse
{- data ( SnippetResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
SnippetResponseData
{- id ( string ): The ID of the snippet.
- accountid ( integer ): The identifier of the account.
- createdby ( integer ): The user ID of the creator.
- displayname ( string ): The display name of the snippet.
- type ( string ): The type of the snippet, like "signature".
- content ( string ): Contains the snippet's content.
- module ( string ): The module identifier, like "com.openexchange.mail".
- shared ( boolean ): The shared flag.
- sharedreadonly ( boolean ): Whether other users may only read, not modify or delete, the shared snippet.
- misc ( misc ): Contains miscellaneous data as JSON object.
- props ( props ): Contains custom properties as JSON object.
- files ( array[SnippetAttachment] ): An array of attachments.
- error ( string ): Set if the snippet's content could not be loaded completely, e.g. because it exceeds the maximum snippet size.
-
SnippetAttachment
{- id ( string ): The ID of the attachment.
- filename ( string ): The file name of the attachment.
- mimetype ( string ): The MIME type of the attachment.
- contentid ( string ): The content ID of the attachment.
- size ( integer ): The size of the attachment in bytes.
401:
No description available
403:
No description available
-
-
-
System
The module for API related to the middelware system-
Responses:
200:
A JSON object containing the value "TRUE". This indicates that the server is still running and ready to handle more requests
Content-type: application/json-
PingResponse
{- data ( boolean ): true
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Responses:
200:
A JSON object containing the time value as long. The time is measured in milliseconds and is the difference between the current time and midnight, January 1, 1970 UTC
Content-type: application/json-
TimeResponse
{- data ( integer ): The system time of the node as long
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
WhoAmIResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- session ( string ): The session identifier. Omitted under external authentication.
- user ( string ): The login name of the user, with the domain part of an e-mail address in IDN (ASCII) form
- user_id ( integer ): The user identifier
- context_id ( integer ): The context identifier
- requires_multifactor ( boolean ): Set to `true` if the session requires multifactor authentication, otherwise omitted. Omitted under external authentication.
- enforce_multifactor ( boolean ): Set to `true` if multifactor authentication is enforced for the user and the session has not been multifactor authenticated yet, otherwise omitted. Omitted under external authentication.
- enforce_multifactor_dismissable ( boolean ): Set to `true` if multifactor authentication is enforced for the user, but the enforcement may still be dismissed, and the session has not been multifactor authenticated yet, otherwise omitted. Omitted under external authentication.
- enforcement_data ( enforcement_data ): Present together with `enforce_multifactor_dismissable` when enforcement information is stored for the user.
- locale ( string ): The locale of the user
-
enforcement_data - Present together with `enforce_multifactor_dismissable` when enforcement information is stored for the user.
{- remaining_seconds ( number ): The seconds left before the multifactor enforcement can no longer be dismissed
- remaining_logins ( integer ): The logins left before the multifactor enforcement can no longer be dismissed
-
-
-
Tasks
The tasks module is used to access task information.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the tasks.
query string columns (empty) A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data. The value `all` is an alias for "20,1,2,5,4" and the value `list` an alias for "20,1,5,2,4,209,301,101,200,309,201,202,102".
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string left_hand_limit (empty) The zero-based index of the first task to return (inclusive). Only applied together with `right_hand_limit`.
query integer right_hand_limit (empty) The zero-based index after the last task to return (exclusive). Only applied together with `left_hand_limit`.
query integer timezone (empty) The time zone, like "Europe/Berlin", in which date-time values of the request and the response are interpreted and written. Defaults to the user's time zone.
query string Responses:
200:
A JSON object containing an array with data for all tasks. Each array element describes one task and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TasksResponse
{- data ( array[array[null]] ): Array of tasks. Each task is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_tasks
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the task that shall be confirmed. If omitted, the `id` field of the request body is used.
query string Body:
Description:A JSON object with the fields `confirmation`, `confirmmessage` and optionally `id`.
Content-type: application/json-
TaskConfirmationBody
{- id ( string ): Object ID of the task that shall be confirmed. Only used if the query parameter `id` is absent.
-
confirmation
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative).
- confirmmessage ( string ): The confirmation message or comment.
Responses:
200:
An empty JSON object and the timestamp of the confirmed and thereby updated task, and maybe errors. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_tasks
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the task that shall be copied.
query string folder (empty) Object ID of the folder who contains the tasks.
query string Body:
Description:A JSON object containing the destination folder ID.
Content-type: application/json-
TaskCopyBody
{- folder_id ( string , required ): Object ID of the destination folder.
Responses:
200:
A JSON object containing the id of the newly created task. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskUpdateResponse
{- data ( TaskUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
TaskUpdateData
{- id ( string ): ID of a newly created task.
401:
No description available
403:
No description available
-
-
Instead of the array, the request body MAY be a single JSON object with the
idandfolderof one task. If an array element is invalid, the tasks before it are deleted and an error is returned.Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_tasks
Parameters:
Parameter Value Description Parameter Type Data Type timestamp (empty) Timestamp of the last update of the deleted tasks.
query long Body:
Description:A JSON array of JSON objects with the id and folder of the tasks.
Content-type: application/json-
TaskListElement
{- id ( string , required ): The object ID of the task.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
An empty JSON array. If a task was modified after the specified timestamp, it is not deleted and an error is returned. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskDeletionsResponse
{- data ( array[string] ): Always an empty array.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested task.
query string folder (empty) Object ID of the folder who contains the tasks.
query string timezone (empty) The time zone, like "Europe/Berlin", in which date-time values of the request and the response are interpreted and written. Defaults to the user's time zone.
query string Responses:
200:
An object containing all data of the requested task. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskResponse
{- data ( TaskResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
TaskResponseData
{-
status
(
integer
, possibleValues:
12345
* 1 (not started),
* 2 (in progress),
* 3 (done),
* 4 (waiting),
* 5 (deferred) - percent_completed ( integer ): How much of the task is completed. An integer number between 0 and 100.
- actual_costs ( number ): A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- actual_duration ( string ): Actual duration of the task, e.g. in minutes.
- after_complete ( integer ): (DEPRECATED) Only present in AJAX interface. Value will not be stored on OX server.
- billing_information ( string ): Billing information of the task.
- target_costs ( number ): A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- target_duration ( string ): Target duration of the task, e.g. in minutes.
-
priority
(
integer
, possibleValues:
123
* 1 (low),
* 2 (medium),
* 3 (high) - currency ( string ): The currency, e.g. "EUR".
- trip_meter ( string ): The trip meter.
- companies ( string ): Companies.
- date_completed ( integer ): No description available
- start_time ( integer ): Inclusive start as Date for whole day tasks and Time for normal tasks.
- end_time ( integer ): Exclusive end as Date for whole day tasks and as Time for normal tasks.
- title ( string ): Short description.
- start_date ( integer ): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date ( integer ): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note ( string ): Long description.
- alarm ( integer ): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type
(
integer
, possibleValues:
01234
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days ( integer ): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month ( integer ): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month ( integer ): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval ( integer ): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until ( integer ): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification ( boolean ): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants ( array[TaskParticipant] ): Each element identifies a participant, user, group or booked resource.
- users ( array[TaskUser] ): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences ( integer ): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer ( string ): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence ( integer ): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations ( array[TaskConfirmation] ): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId ( integer ): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal ( string ): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId ( integer ): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time ( boolean ): `True` if the event is a whole day appointment or task, `false` otherwise.
- id ( string ): Object ID.
- created_by ( integer ): User ID of the user who created this object.
- modified_by ( integer ): User ID of the user who last modified this object.
- creation_date ( integer ): Date and time of creation.
- last_modified ( integer ): Date and time of the last modification.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
status
(
integer
, possibleValues:
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
-
TaskUser
{- id ( integer ): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name ( string ): Displayable name of the participant.
-
confirm
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage ( string ): Confirm message of the participant.
-
TaskConfirmation
{-
type
(
integer
, possibleValues:
05
* 0 (user),
* 5 (external user) - mail ( string ): Email address of external participant.
- display_name ( string ): Display name of external participant.
-
status
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message ( string ): Confirm message of the participant.
-
type
(
integer
, possibleValues:
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data. The value `all` is an alias for "20,1,2,5,4" and the value `list` an alias for "20,1,5,2,4,209,301,101,200,309,201,202,102".
query string timezone (empty) The time zone, like "Europe/Berlin", in which date-time values of the request and the response are interpreted and written. Defaults to the user's time zone.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the tasks.
Content-type: application/json-
TaskListElement
{- id ( string , required ): The object ID of the task.
- folder ( string , required ): The object ID of the related folder.
Responses:
200:
A JSON object containing an array with data for the requested tasks. Each array element describes one task and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TasksResponse
{- data ( array[array[null]] ): Array of tasks. Each task is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_tasks
Parameters:
Parameter Value Description Parameter Type Data Type timezone (empty) The time zone, like "Europe/Berlin", in which date-time values of the request and the response are interpreted and written. Defaults to the user's time zone.
query string Body:
Description:A JSON object containing the task's data.
Content-type: application/json-
TaskRequestData
{-
status
(
integer
, possibleValues:
12345
* 1 (not started),
* 2 (in progress),
* 3 (done),
* 4 (waiting),
* 5 (deferred) - percent_completed ( integer ): How much of the task is completed. An integer number between 0 and 100.
- actual_costs ( number ): A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- actual_duration ( string ): Actual duration of the task, e.g. in minutes.
- after_complete ( integer ): (DEPRECATED) Only present in AJAX interface. Value will not be stored on OX server.
- billing_information ( string ): Billing information of the task.
- target_costs ( number ): A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- target_duration ( string ): Target duration of the task, e.g. in minutes.
-
priority
(
integer
, possibleValues:
123
* 1 (low),
* 2 (medium),
* 3 (high) - currency ( string ): The currency, e.g. "EUR".
- trip_meter ( string ): The trip meter.
- companies ( string ): Companies.
- date_completed ( integer ): No description available
- start_time ( integer ): Inclusive start as Date for whole day tasks and Time for normal tasks.
- end_time ( integer ): Exclusive end as Date for whole day tasks and as Time for normal tasks.
- title ( string ): Short description.
- start_date ( integer ): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date ( integer ): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note ( string ): Long description.
- alarm ( integer ): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type
(
integer
, possibleValues:
01234
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days ( integer ): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month ( integer ): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month ( integer ): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval ( integer ): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until ( integer ): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification ( boolean ): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants ( array[TaskParticipant] ): Each element identifies a participant, user, group or booked resource.
- users ( array[TaskUser] ): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences ( integer ): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer ( string ): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence ( integer ): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations ( array[TaskConfirmation] ): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- principal ( string ): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- full_time ( boolean ): `True` if the event is a whole day appointment or task, `false` otherwise.
- id ( string ): Object ID.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
status
(
integer
, possibleValues:
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
-
TaskUser
{- id ( integer ): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name ( string ): Displayable name of the participant.
-
confirm
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage ( string ): Confirm message of the participant.
-
TaskConfirmation
{-
type
(
integer
, possibleValues:
05
* 0 (user),
* 5 (external user) - mail ( string ): Email address of external participant.
- display_name ( string ): Display name of external participant.
-
status
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message ( string ): Confirm message of the participant.
-
type
(
integer
, possibleValues:
Responses:
200:
A JSON object containing the id of the newly created task. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskUpdateResponse
{- data ( TaskUpdateData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
TaskUpdateData
{- id ( string ): ID of a newly created task.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data. The value `all` is an alias for "20,1,2,5,4" and the value `list` an alias for "20,1,5,2,4,209,301,101,200,309,201,202,102".
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string start (empty) Inclusive start date for a time range the tasks should end in. If start is omitted end is ignored.
query long end (empty) Exclusive end date for a time range the tasks should end in. If this parameter is omitted the time range has an open end.
query long left_hand_limit (empty) The zero-based index of the first matching task to return (inclusive). Defaults to 0.
query integer right_hand_limit (empty) The zero-based index after the last matching task to return (exclusive). If omitted, all tasks from `left_hand_limit` on are returned.
query integer timezone (empty) The time zone, like "Europe/Berlin", in which date-time values of the request and the response are interpreted and written. Defaults to the user's time zone.
query string Body:
Description:A JSON object containing search parameters.
Content-type: application/json-
TaskSearchBody
{- pattern ( string ): Search pattern to find tasks. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.
- folder ( string ): Defines the folder to search for tasks in. If this is omitted in all task folders will be searched.
- title ( string ): Restricts the search to tasks whose title matches the given pattern. The pattern follows the same wildcard rules as the `pattern` property.
- searchinnote ( boolean ): If `true`, the search additionally matches the given `pattern` against the task's note field.
-
status
(
integer
, possibleValues:
12345
* 1 (not started),
* 2 (in progress),
* 3 (done),
* 4 (waiting),
* 5 (deferred) - categories ( string ): Restricts the search to tasks assigned to the given categories. Multiple categories may be specified as a comma-separated list.
- subfoldersearch ( boolean ): If `true`, the search also descends into subfolders of the given `folder`.
- participants ( array[TaskParticipant] ): Restricts the search to tasks that have all of the given participants. Each element identifies a participant, user, group or booked resource.
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
Responses:
200:
A JSON object containing an array with matching tasks. Tasks are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TasksResponse
{- data ( array[array[null]] ): Array of tasks. Each task is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
write_tasks
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the tasks.
query string id (empty) Object ID of the requested task.
query string timestamp (empty) Timestamp of the last update of the requested tasks.
query long timezone (empty) The time zone, like "Europe/Berlin", in which date-time values of the request and the response are interpreted and written. Defaults to the user's time zone.
query string Body:
Description:A JSON object containing the task's data. Only modified fields are present.
Content-type: application/json-
TaskRequestData
{-
status
(
integer
, possibleValues:
12345
* 1 (not started),
* 2 (in progress),
* 3 (done),
* 4 (waiting),
* 5 (deferred) - percent_completed ( integer ): How much of the task is completed. An integer number between 0 and 100.
- actual_costs ( number ): A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- actual_duration ( string ): Actual duration of the task, e.g. in minutes.
- after_complete ( integer ): (DEPRECATED) Only present in AJAX interface. Value will not be stored on OX server.
- billing_information ( string ): Billing information of the task.
- target_costs ( number ): A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- target_duration ( string ): Target duration of the task, e.g. in minutes.
-
priority
(
integer
, possibleValues:
123
* 1 (low),
* 2 (medium),
* 3 (high) - currency ( string ): The currency, e.g. "EUR".
- trip_meter ( string ): The trip meter.
- companies ( string ): Companies.
- date_completed ( integer ): No description available
- start_time ( integer ): Inclusive start as Date for whole day tasks and Time for normal tasks.
- end_time ( integer ): Exclusive end as Date for whole day tasks and as Time for normal tasks.
- title ( string ): Short description.
- start_date ( integer ): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date ( integer ): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note ( string ): Long description.
- alarm ( integer ): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type
(
integer
, possibleValues:
01234
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days ( integer ): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month ( integer ): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month ( integer ): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval ( integer ): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until ( integer ): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification ( boolean ): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants ( array[TaskParticipant] ): Each element identifies a participant, user, group or booked resource.
- users ( array[TaskUser] ): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences ( integer ): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer ( string ): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence ( integer ): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations ( array[TaskConfirmation] ): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- principal ( string ): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- full_time ( boolean ): `True` if the event is a whole day appointment or task, `false` otherwise.
- id ( string ): Object ID.
- folder_id ( string ): Object ID of the parent folder.
- categories ( string ): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag ( boolean ): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label ( integer ): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments ( integer ): Number of attachments.
- lastModifiedOfNewestAttachmentUTC ( integer ): Timestamp of the newest attachment written with UTC time zone.
-
status
(
integer
, possibleValues:
-
TaskParticipant
{- id ( integer ): User ID.
-
type
(
integer
, possibleValues:
12345
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail ( string ): Mail address of an external participant.
-
TaskUser
{- id ( integer ): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name ( string ): Displayable name of the participant.
-
confirm
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage ( string ): Confirm message of the participant.
-
TaskConfirmation
{-
type
(
integer
, possibleValues:
05
* 0 (user),
* 5 (external user) - mail ( string ): Email address of external participant.
- display_name ( string ): Display name of external participant.
-
status
(
integer
, possibleValues:
0123
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message ( string ): Confirm message of the participant.
-
type
(
integer
, possibleValues:
Responses:
200:
An empty JSON object and the timestamp of the updated task. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_tasks
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) Object ID of the folder who contains the tasks.
query string columns (empty) A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data. The value `all` is an alias for "20,1,2,5,4" and the value `list` an alias for "20,1,5,2,4,209,301,101,200,309,201,202,102".
query string timestamp (empty) Timestamp of the last update of the requested tasks.
query long ignore (empty) Which kinds of updates should be ignored. If omitted or if the value contains "deleted", the identifiers of deleted tasks are left out of the response. Any other value, like "none", makes the response contain them.
query string timezone (empty) The time zone, like "Europe/Berlin", in which date-time values of the request and the response are interpreted and written. Defaults to the user's time zone.
query string Responses:
200:
An array with new, modified and deleted tasks. New and modified tasks are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted tasks would be identified by their object IDs as integers, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskUpdatesResponse
{- data ( array[null] ): Array of tasks. New and modified tasks are described as arrays, deleted tasks as their integer object IDs.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
401:
No description available
403:
No description available
-
-
-
Token
The module token delivers several core API extensions to support token based logins.-
With a valid session it is possible to acquire a secret. Using this secret another system is able to generate a valid session (see login?action=redeemToken).
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type expiry (empty) The optional, relative expiration time in milliseconds the token shall expire in. Only a value greater than 0 and lower than the configured maximum token lifetime (`com.openexchange.tokenlogin.maxIdleTime`) sets an individual expiry; any other value yields a token bound to the maximum token lifetime. If the parameter is absent, 0 or lower, or greater than the maximum token lifetime, a still valid token previously acquired for the session is returned again; otherwise a new token replaces it. A non-numeric value is rejected with an invalid parameter error.
query integer Responses:
200:
A JSON object with the timestamp of the response and a token which can be used to create a new session. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AcquireTokenResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- token ( string ): The token that can be used for a new session.
-
-
-
Undo
The module for undo operations-
Returns the undo operations of all undo tokens registered for the session's user.
Security:
This security scheme must be used:Name Scopes session
Responses:
200:
A JSON object containing an array with one entry per undo token. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetAllUndoResponse
{- data ( array[UndoData] ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
UndoData
{- token ( string ): The undo token.
- ttlMillis ( integer ): The remaining time to live for the undo token in milliseconds.
- operations ( array[OperationData] ): An array containing the undo operations.
-
OperationData
{- module ( string ): The undo module.
- action ( string ): The undo action.
- parameters ( parameters ): Any kind and number of parameter that was defined by the undo action.
- data ( data ): Any kind of data that was defined by the undo action.
- originalModule ( string ): The module of the request that registered the undo operation. Absent if unknown.
- originalAction ( string ): The action of the request that registered the undo operation. Absent if unknown.
-
-
Deletes the specified undo action
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type token (empty) The undo token to delete
query string Responses:
200:
A JSON object containing an indicator if undo operations were registered for the token and got deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
DeleteUndoResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Whether undo operations were registered for the token and got deleted.
-
-
Gets the specified undo action
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type token (empty) The undo token to get. An unknown or expired token yields an error.
query string Responses:
200:
A JSON object containing the undo operations registered for the token. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetUndoResponse
{- data ( UndoData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
UndoData
{- token ( string ): The undo token.
- ttlMillis ( integer ): The remaining time to live for the undo token in milliseconds.
- operations ( array[OperationData] ): An array containing the undo operations.
-
OperationData
{- module ( string ): The undo module.
- action ( string ): The undo action.
- parameters ( parameters ): Any kind and number of parameter that was defined by the undo action.
- data ( data ): Any kind of data that was defined by the undo action.
- originalModule ( string ): The module of the request that registered the undo operation. Absent if unknown.
- originalAction ( string ): The action of the request that registered the undo operation. Absent if unknown.
-
-
Executes the undo operations registered for the specified token and consumes the token. If an operation fails, the operations not yet carried out stay registered for the token. A request that itself asks for an undo token (parameter
undogreater than 0) is rejected, as an undo cannot be undone.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type token (empty) The undo token to execute. An unknown or expired token yields an error.
query string pushToken (empty) The client's push token. It is passed on to each undo operation that does not carry a push token itself, so that the changes are not pushed back to the requesting client.
query string Responses:
200:
A JSON object containing an indicator if the undo was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UndoResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Indicator if the undo was successful. Always `true`, a failed undo yields an error instead.
- originalModule ( string ): The module of the request that registered the undo operations. Absent if unknown.
- originalAction ( string ): The action of the request that registered the undo operations. Absent if unknown.
-
-
-
Usecount
The module for incrementing the use-count of contacts, users, groups and resources.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
read_contacts
Body:
Description:A JSON object providing the use-count incrementation arguments.
Content-type: application/json-
UseCountIncrement
{-
type
(
string
,
required
, possibleValues:
contactusergroupresource
- id ( string ): The identifier of the entity; either contact identifier, user identifier, group identifier or resource identifier. Required unless a contact is identified by `mail`. User, group and resource identifiers are numeric; group identifier `0` denotes the virtual group of all users.
-
folderId
(
string
):
The identifier of the folder in which the entity resides. Only needed for "contact" entity type and if no email is provided. Without `accountId` and `moduleId` it is either a numeric folder of the internal contact storage or a composite contacts folder identifier (`con://
/ `). - mail ( string ): The mail address of the contact. Only used for "contact" entity type; if not empty, `id`, `folderId`, `accountId` and `moduleId` are ignored.
- accountId ( integer ): The numeric identifier of the account if not specified through a composite folder identifier. Only used for "contact" entity type without `mail`, and only together with a positive `moduleId`.
- moduleId ( integer ): The numeric identifier of the module if not specified through a composite folder identifier (e.g. `3` for contacts). Only used for "contact" entity type without `mail`, and only together with an `accountId` of 0 or greater.
-
type
(
string
,
required
, possibleValues:
Responses:
200:
A JSON object containing the success status. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
IncrementUseCountResponse
{- data ( data ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
data
{- success ( boolean ): Always `true`; a failed incrementation is reported through the error fields instead.
401:
No description available
-
-
-
User
The user module is used to access user information.-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,501,610". Each column is specified by a numeric column identifier, see Common object data, Detailed contact data and Detailed user data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return. Defaults to `0`.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return. Defaults to `50000`.
query integer timezone (empty) The time zone in which date and time fields are returned. Defaults to the time zone of the session user.
query string Responses:
200:
A JSON object containing an array with data for all users. Each array element describes one user and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling). Each additional query parameter `
= [, ...]` appends the values of the user attributes ` / ` to each array, ` =*` appends one object holding all user attributes whose name starts with ` `. Content-type: application/json-
UsersResponse
{- data ( array[array[null]] ): Array of user. Each user is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested user. This parameter is optional and the default is the currently logged in user.
query string columns (empty) A comma-separated list of numeric column identifiers that limits the contact data that is loaded, see Common object data and Detailed contact data. If absent, all contact data is loaded. User data is always returned completely.
query string timezone (empty) The time zone in which date and time fields are returned. Defaults to the time zone of the session user.
query string Responses:
200:
An object containing all data of the requested user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UserResponse
{- data ( UserResponseData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
UserResponseData Composed Schema
ALLOF: Object Object -
Unknown
{- aliases ( array[string] ): The user's aliases.
- timezone ( string ): The time zone.
- locale ( string ): The name of user's entire locale, with, language, country and variant separated by underbars (e.g. "en", "de_DE").
- groups ( array[integer] ): The IDs of user's groups.
- contact_id ( string ): The contact ID of the user.
- login_info ( string ): The user's login information.
- guest_created_by ( integer ): The ID of the user who has created this guest in case this user represents a guest user. 0 represents regular users.
- soft_deleted ( integer ): The time the user has been soft-deleted, in milliseconds since the epoch (UTC, not shifted by the user's time zone). Absent for every other user. A soft-deleted user is a leaver whose account is locked and hidden while the data is kept for the retention period; column `628`.
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- user_id ( integer ): The internal user id, in case the contact represents a user of the *same* context. For a user residing in a different context (a cross-context entity) this field is omitted; use `user_identifier` instead.
-
user_identifier
(
string
,
read only
):
The qualified identifier of the internal user this contact represents, in `
@ ` form (read-only, requested via the `user_identifier` column). It is only present for users the requesting user is permitted to bridge to across context boundaries, and can be used directly as a cross-context principal reference - e.g. as a folder permission's `identifier` - without a separate resolve round-trip. - number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): No description available
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
-
-
Gets a custom user attribute that was previously set with the
/user?action=setAttributerequest.Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the user. Only the session user and the context administrator are accepted, any other ID fails with a permission error.
query string name (empty) The name of the attribute.
query string Responses:
200:
A JSON object containing the attribute data. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UserAttributeResponse
{- data ( UserAttribute ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
UserAttribute
{- name ( string ): The name of the attribute.
- value ( string ): The value of the attribute.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,501,610". Each column is specified by a numeric column identifier, see Common object data, Detailed contact data and Detailed user data.
query string timezone (empty) The time zone in which date and time fields are returned. Defaults to the time zone of the session user.
query string Body:
Description:A JSON array of identifiers of the requested users. A `null` value in the array is interpreted as the currently logged in user.
Content-type: application/json
Responses:
200:
A JSON object containing an array with data for the requested users. Each array element describes one user and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling). Each additional query parameter `
= [, ...]` appends the values of the user attributes ` / ` to each array, ` =*` appends one object holding all user attributes whose name starts with ` `. Content-type: application/json-
UsersResponse
{- data ( array[array[null]] ): Array of user. Each user is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type columns (empty) A comma-separated list of columns to return, like "1,501,610". Each column is specified by a numeric column identifier, see Common object data, Detailed contact data and Detailed user data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entries should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation (empty) The collation to sort the results by, e.g. "gbk" or "gb2312". Only used when sorting by a contact field.
query string timezone (empty) The time zone in which date and time fields are returned. Defaults to the time zone of the session user.
query string Body:
Description:A JSON object containing search parameters.
Content-type: application/json-
UserSearchBody
{- pattern ( string ): Search pattern to find users. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.
- startletter ( boolean ): Search users with the given startletter. If this field is `true`, the pattern is matched against the user field which is specified by the property "contact_first_letter_field" on the server (default: last name). Otherwise, the pattern is matched against the display name.
- last_name ( string ): Searches users where the last name matches with the given last name. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- first_name ( string ): Searches users where the first name matches with the given first name. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- display_name ( string ): Searches users where the display name matches with the given display name. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- email1 ( string ): Searches users where the first email address matches with the given value. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- email2 ( string ): Searches users where the second email address matches with the given value. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- email3 ( string ): Searches users where the third email address matches with the given value. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- company ( string ): Searches users where the company matches with the given value. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- categories ( string ): Searches users where the categories matches with the given value. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- orSearch ( boolean ): If set to `true`, the fields `last_name`, `first_name` and `display_name` are connected through an OR search habit. This field is ignored if `pattern` is specified.
- emailAutoComplete ( boolean ): If set to `true`, results are guaranteed to contain at least one email adress and the search is performed by connecting the relevant fields through an OR search habit. This field is ignored if `pattern` is specified.
Responses:
200:
A JSON object containing an array with matching users. Users are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling). Each additional query parameter `
= [, ...]` appends the values of the user attributes ` / ` to each array, ` =*` appends one object holding all user attributes whose name starts with ` `. Content-type: application/json-
UsersResponse
{- data ( array[array[null]] ): Array of user. Each user is described as an array itself.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Sets a custom user attribute consisting of a name and a value. The attribute can later be retrieved using the /user?action=getAttribute request.
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The ID of the user. Only the session user and the context administrator are accepted, any other ID fails with a permission error.
query string setIfAbsent (empty) Set to `true` to put the value only if the specified name is not already associated with a value, otherwise `false` to put value in any case.
query boolean Body:
Description:A JSON object providing the name and the value of the attribute. If the `value` field is missing or `null`, the attribute is removed.
Content-type: application/json-
UserAttribute
{- name ( string ): The name of the attribute.
- value ( string ): The value of the attribute.
Responses:
200:
A JSON object providing the information whether the attribute could be set. `false` only if `setIfAbsent` is `true` and the attribute already has a value. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UserAttributionResponse
{- data ( boolean ): Indicates whether the attribute could be set.
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested user.
query string timestamp (empty) Timestamp of the last update of the requested user. If the user was modified after the specified timestamp, then the update must fail.
query long timezone (empty) The time zone in which date and time fields of the request body are interpreted. Defaults to the time zone of the session user.
query string Body:
Description:A JSON object containing the user's data. Only modified fields are present. From Detailed user data only the fields `timezone` and `locale` are allowed to be updated.
Content-type: application/json-
UserRequestData Composed Schema
ALLOF: Object Object -
Unknown
{- timezone ( string ): The time zone.
- locale ( string ): The name of user's entire locale, with, language, country and variant separated by underbars (e.g. "en", "de_DE").
- uid ( string ): Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID.
- display_name ( string ): The display name.
- first_name ( string ): The given name.
- last_name ( string ): The sur name.
- second_name ( string ): The middle name.
- suffix ( string ): The suffix.
- title ( string ): The title.
- street_home ( string ): The street of the home address.
- postal_code_home ( string ): The postal code of the home address.
- city_home ( string ): The city of the home address.
- state_home ( string ): The state of the home address.
- country_home ( string ): The country of the home address.
- birthday ( integer ): The date of birth.
- marital_status ( string ): The marital status.
- number_of_children ( string ): The number of children.
- profession ( string ): The profession.
- nickname ( string ): The nickname.
- spouse_name ( string ): The name of the spouse.
- anniversary ( integer ): The anniversary.
- note ( string ): A note.
- department ( string ): The department.
- position ( string ): The position.
- employee_type ( string ): The type of the employee.
- room_number ( string ): The room number.
- street_business ( string ): The street of the business address.
- postal_code_business ( string ): The postal code of the business address.
- city_business ( string ): The city of the business address.
- state_business ( string ): The state of the business address.
- country_business ( string ): The country of the business address.
- number_of_employees ( string ): The number of employees.
- sales_volume ( string ): The sales volume.
- tax_id ( string ): The tax id.
- commercial_register ( string ): The commercial register.
- branches ( string ): The branches.
- business_category ( string ): The business category.
- info ( string ): An information.
- manager_name ( string ): The manager's name.
- assistant_name ( string ): The assistant's name.
- street_other ( string ): The street of another address.
- postal_code_other ( string ): The postal code of another address.
- city_other ( string ): The city of another address.
- state_other ( string ): The state of another address.
- country_other ( string ): The country of another address.
- telephone_business1 ( string ): The business telephone number 1.
- telephone_business2 ( string ): The business telephone number 2.
- fax_business ( string ): The business fax number.
- telephone_callback ( string ): The callback telephone number.
- telephone_car ( string ): The car telephone number.
- telephone_company ( string ): The company telephone number.
- telephone_home1 ( string ): The home telephone number 1.
- telephone_home2 ( string ): The home telephone number 2.
- fax_home ( string ): The home fax number.
- cellular_telephone1 ( string ): The cellular telephone number 1.
- cellular_telephone2 ( string ): The cellular telephone number 2.
- telephone_other ( string ): The other telephone number.
- fax_other ( string ): The other fax number.
- email1 ( string ): The email address 1.
- email2 ( string ): The email address 2.
- email3 ( string ): The email address 3.
- url ( string ): The url address or homepage.
- telephone_isdn ( string ): The ISDN telephone number.
- telephone_pager ( string ): The pager telephone number.
- telephone_primary ( string ): The primary telephone number.
- telephone_radio ( string ): The radio telephone number.
- telephone_telex ( string ): The telex telephone number.
- telephone_ttytdd ( string ): The TTY/TDD telephone number.
- instant_messenger1 ( string ): The instant messenger address 1.
- instant_messenger2 ( string ): The instant messenger address 2.
- telephone_ip ( string ): The IP telephone number.
- telephone_assistant ( string ): The assistant telephone number.
- company ( string ): The company name.
- image1 ( string ): The contact image as Base64-encoded string.
- image1_content_type ( string ): The content type of the image (like "image/png").
- image1_url ( string ): The url to the image.
- number_of_images ( integer ): The number of images.
- image_last_modified ( integer ): The last modification of the image.
- distribution_list ( array[DistributionListMember] ): If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list.
- number_of_distribution_list ( integer ): The number of objects in the distribution list.
- mark_as_distributionlist ( boolean ): No description available
- file_as ( string ): The file name.
- default_address ( integer ): The default address.
- useCount ( integer ): In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored.
- yomiFirstName ( string ): Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiLastName ( string ): Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues.
- yomiCompany ( string ): Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues.
- addressHome ( string ): Support for Outlook 'home' address field.
- addressBusiness ( string ): Support for Outlook 'business' address field.
- addressOther ( string ): Support for Outlook 'other' address field.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- userfield01 ( string ): Dynamic Field 1.
- userfield02 ( string ): Dynamic Field 2.
- userfield03 ( string ): Dynamic Field 3.
- userfield04 ( string ): Dynamic Field 4.
- userfield05 ( string ): Dynamic Field 5.
- userfield06 ( string ): Dynamic Field 6.
- userfield07 ( string ): Dynamic Field 7.
- userfield08 ( string ): Dynamic Field 8.
- userfield09 ( string ): Dynamic Field 9.
- userfield10 ( string ): Dynamic Field 10.
- userfield11 ( string ): Dynamic Field 11.
- userfield12 ( string ): Dynamic Field 12.
- userfield13 ( string ): Dynamic Field 13.
- userfield14 ( string ): Dynamic Field 14.
- userfield15 ( string ): Dynamic Field 15.
- userfield16 ( string ): Dynamic Field 16.
- userfield17 ( string ): Dynamic Field 17.
- userfield18 ( string ): Dynamic Field 18.
- userfield19 ( string ): Dynamic Field 19.
- userfield20 ( string ): Dynamic Field 20.
-
DistributionListMember
{- id ( string ): Object ID of the member's contact if the member is an existing contact.
- folder_id ( string ): Parent folder ID of the member's contact if the member is an existing contact.
- display_name ( string ): The display name.
- sort_name ( string ): A name which can be used for sorting by last name.
- sort_first_name ( string ): A name which can be used for sorting by first name.
- mail ( string ): The email address (optional if you are referring to an internal contact).
-
mail_field
(
integer
, possibleValues:
0123
* 0 (independent contact),
* 1 (default email field, email1),
* 2 (second email field, email2),
* 3 (third email field, email3)
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse
{- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
-
Updates a user's data and contact image. The request body MUST be sent as
multipart/form-data: the form fieldjsoncontains the user's data as described for thePUTvariant, the image file MUST be placed in a file field (see also File uploads).Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) Object ID of the requested user.
query string timestamp (empty) Timestamp of the last update of the requested user. If the user was modified after the specified timestamp, then the update must fail.
query long timezone (empty) The time zone in which date and time fields of the request body are interpreted. Defaults to the time zone of the session user.
query string Body:
Description:No description available
Content-type: multipart/form-data-
updateUserAdvancedBody
{- json ( string , required ): The user's data as JSON string, see UserRequestData. If it contains an empty `image1` field, the uploaded image is not applied.
- file ( string , required ): The image file.
Responses:
200:
A HTML page as described in File uploads containing an empty object or errors if some occurred.
Content-type: text/html-
Unknown
-
-
-
User/Me
The module user/me is used to access formal information about current user.-
Security:
One of these security schemes must be used:Name Scopes session
Name Scopes oauth
Responses:
200:
A JSON object containing the data of the current user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CurrentUserResponse
{- data ( CurrentUserData ): No description available
- timestamp ( integer ): The latest timestamp of the returned data (see Updates).
- next_page_token ( string ): The next page token, if a limit has been specified and further elements are available
- undo_token ( string ): The undo token, if requested
- error ( string ): The translated error message. Present in case of errors.
- error_params ( array[string] ): Empty JSON array.
- error_id ( string ): Unique error identifier to help finding this error instance in the server logs.
- error_desc ( string ): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack ( array[string] ): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code ( string ): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories ( string ): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category ( integer ): Maintained for legacy reasons: The numeric representation of the first category.
-
CurrentUserData
{- context_id ( integer ): The unique identifier of the user's context.
- user_id ( integer ): The unique identifier of the user himself.
- context_admin ( integer ): The ID of the context administrator user.
- login_name ( string ): The login name of the user.
- display_name ( string ): The display name of the user.
- mail_login ( string ): The username used to authenticate at the primary mail server. Can be absent in temporary error situations.
- email_address ( string ): The users' primary email address
- email_aliases ( array[string] ): All email aliases of the user
-
-
-
userfeedback
The user feedback module-
Security:
This security scheme must be used:Name Scopes session
Parameters:
Parameter Value Description Parameter Type Data Type type (empty) The feedback type. It MUST be a registered feedback type (`star-rating-v1` or `nps-v1`) and match the user's configured `com.openexchange.userfeedback.mode`, otherwise the request fails.
query string Body:
Description:A JSON object describing the feedback. The expected fields depend on the feedback type; the optional field `client_version` is stored as the UI version.
Content-type: application/json-
Unknown
{
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
-
-
Column identifiers
Below you find the identifiers for object fields of certain data objects (models) that can be used in the columns parameter of a request to return
specific field data of single or multiple objects.
Common object data
| ID | Name | Type | Value |
|---|---|---|---|
| 1 | id | String | Object ID |
| 2 | created_by | String | User ID of the user who created this object. |
| 3 | modified_by | String | User ID of the user who last modified this object. |
| 4 | creation_date | Time | Date and time of creation. |
| 5 | last_modified | Time | Date and time of the last modification. |
| 20 | folder_id | String | Object ID of the parent folder. |
| 100 | categories | String | String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
| 101 | private_flag | Boolean | Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
| 102 | color_label | Number | Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects. |
| 104 | number_of_attachments | Number | Number of attachments |
| 105 | lastModifiedOfNewestAttachmentUTC | Time | Date and time of the newest attachment written with UTC time zone. |
Permission object
| Name | Type | Value |
|---|---|---|
| bits | Number | For non-mail folders, a number as described in Permission flags. |
| rights | String | For mail folders, the rights string as defined in RFC 2086. |
| entity | Number | User ID of the user or group to which this permission applies (ignored for type "anonymous" or "guest"). |
| group | Boolean | true if entity refers to a group, false if it refers to a user (ignored for type "anonymous" or "guest"). |
| type | String | The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined). |
| password | String | An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional) . |
| email_address | String | The e-mail address of the recipient (for type "guest"). |
| display_name | String | The display name of the recipient (for type "guest", optional). |
| contact_id | String | The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional). |
| contact_folder | String | The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set). |
| expiry_date | Time | The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional). |
Extended permission object
| Name | Type | Value |
|---|---|---|
| entity | Number | Identifier of the permission entity (i.e. user-, group- or guest-ID). |
| bits | Number | A number as described in Permission flags. |
| type | String | "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity. |
| display_name | String | A display name for the permission entity. |
| contact | Object | A (reduced) set of Detailed contact data for "user" and "guest" entities. |
| share_url | String | The share link for "anonymous" entities. |
| password | String | The optionally set password for "anonymous" entities. |
| expiry_date | Date | The optionally set expiry date for "anonymous" entities. |
| includeSubfolders | Boolean | The optionally set "include subfolders" option for "anonymous" entities. |
| isInherited | boolean | A flag indicating whether the permissions is inherited from the parent folder or not. The client must not allow the user to delete or update inherited permissions. |
Common folder data
| ID | Name | Type | Value |
|---|---|---|---|
| 1 | id | String | Object ID |
| 2 | created_by | String | User ID of the user who created this object. |
| 3 | modified_by | String | User ID of the user who last modified this object. |
| 4 | creation_date | Time | Date and time of creation. |
| 5 | last_modified | Time | Date and time of the last modification. |
| 6 | last_modified_utc | Timestamp | Timestamp of the last modification. Note that the type is Timestamp, not Time. See Date and time for details. (added 2008-10-17, with SP5, temporary workaround) |
| 20 | folder_id | String | Object ID of the parent folder. |
| 23 | meta | Object | A json object holding properties of the folder that have no counterpart in the folder data, as stated by the storage the folder belongs to, e.g. the kind of a virtual folder of an external file storage or the quota of the storage it denotes. Read Only. |
| 51 | created_from | Object | The entity that created the folder, as described in Entity info object. Read Only. |
| 52 | modified_from | Object | The entity that last modified the folder, as described in Entity info object. Read Only. |
Detailed folder data
| ID | Name | Type | Value |
|---|---|---|---|
| 300 | title | String | Name of this folder. |
| 301 | module | String | Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail" |
| 302 | type | Number | See Type of folder |
| 304 | subfolders | Boolean | true if this folder has subfolders. |
| 305 | own_rights | Number or String | Permissions which apply to the current user, as described either in Permission flags or in RFC 2086. |
| 306 | permissions | Array | Each element is an object described in Permission object. |
| 307 | summary | String | Information about contained objects. |
| 308 | standard_folder | Boolean | Indicates whether or not folder is marked as a default folder (only OX folder) |
| 309 | total | Number | The number of objects in this Folder. |
| 310 | new | Number | The number of new objects in this Folder. |
| 311 | unread | Number | The number of unread objects in this Folder. |
| 312 | deleted | Number | The number of deleted objects in this Folder. |
| 313 | capabilities | Number | Bit mask containing information about mailing system capabilites, as described in capabilities. |
| 314 | subscribed | Boolean | Indicates whether this folder should appear in folder tree or not. Note: Standard folders cannot be unsubscribed. |
| 315 | subscr_subflds | Boolean | Indicates whether subfolders should appear in folder tree or not. |
| 316 | standard_folder_type | Number | Indicates the default folder type. Zero for non-default folder. See Standard folder types |
| 317 | supported_capabilities | Array | Each element is a String identifying a supported folder capability as described in supported capabilities. Only applicable for non-mail folders. Read Only. |
| 318 | account_id | String | Will be null if the folder does not belong to any account (i.e. if its module doesn't support multiple accounts), is a virtual folder or an account-agnostic system folder. |
| 319 | folder_name | String | The raw and therefore untranslated name of this folder |
| 320 | origin | String | The folder's origin path. |
| 321 | used_for_sync | Object | A json object containing the fields 'value' and 'protected'. The value field indicates whether this folder is used for sync or not. And the 'protected' field shows if the client can change this value or not. |
| 3010 | DEPRECATED com.openexchange.publish.publicationFlag | Boolean | DEPRECATED The publication feature has been removed with v7.10.2. This column is igonred. |
| 3020 | com.openexchange.subscribe.subscriptionFlag | Boolean | Indicates whether this folder has subscriptions storing their content in this folder. Direct write operations on the content of this folder is forbidden. Clients should therefore not offer those options to the user. Read Only, provided by the com.openexchange.subscribe plugin |
| 3030 | com.openexchange.folderstorage.displayName | String | Provides the display of the folder's owner. Read Only |
| 3031 | com.openexchange.folderstorage.accountError | Object | In case the account has errors this field contains a json object with fields related to this error. |
| 3060 | com.openexchange.share.extendedPermissions | Array | Each element is an object described in Extended permission object. Read Only. |
| 3201 | com.openexchange.calendar.extendedProperties | Object | A json object containing the extended properties of an calendar folder as key value pairs. Each value can be an object, an array or a simple value itself. |
| 3203 | com.openexchange.calendar.provider | String | The name of the calendar provider. |
| 3204 | com.openexchange.calendar.accountError | Object | In case the account has errors this field contains a json object with fields related to this error. |
| 3205 | com.openexchange.calendar.config | Object | A json object containing configuration data for the calendar account. |
| 3220 | com.openexchange.caldav.url | String | The CalDAV URL to this calendar or tasks folder. |
| 3221 | com.openexchange.carddav.url | String | The CardDAV URL to this address book folder. |
| 3301 | com.openexchange.contacts.extendedProperties | Object | A json object containing the extended properties of an contacts folder as key value pairs. Each value can be an object, an array or a simple value itself. |
Entity info object
The entity that created or last modified an object, stated along with the contact data a client displays it by, so that no lookup of the user or guest is needed.
| Name | Type | Value |
|---|---|---|
| identifier | String | The identifier of the entity, which is the qualified identifier of a user or guest, so that an entity of another context can be told apart. |
| type | String | "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous entity. |
| display_name | String | The display name of the entity. |
| entity | Number | The numeric identifier of the entity within the session's context, if it belongs to it. |
| contact | Object | A reduced set of contact data of the entity, holding the fields title, first_name, last_name, email1 and image1_url as far as they are known. |
Type of folder
| Number | Type |
|---|---|
| 1 | private |
| 2 | public |
| 3 | shared |
| 5 | system folder |
| 7 | This type is no more in use (legacy type). Will be removed with a future update! |
| 16 | trash |
| 20 | pictures |
| 21 | documents |
| 22 | music |
| 23 | videos |
| 24 | templates |
Detailed task and appointment data
| ID | Name | Type | Value |
|---|---|---|---|
| 200 | title | String | Short description. |
| 201 | start_date | Date or Time | Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time) |
| 202 | end_date | Date or Time | Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time) |
| 203 | note | String | Long description. |
| 204 | alarm | Number or Time | Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified. |
| 209 | recurrence_type | Number | Specifies the type of the recurrence for a task sequence. See Task sequence type |
| 212 | days | Number | Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days). |
| 213 | day_in_month | Number | Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2. |
| 214 | month | Number | Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4. |
| 215 | interval | Number | Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4. |
| 216 | until | Date | Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included. |
| 217 | notification | Boolean | If true, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client. |
| 220 | participants | Array | Each element identifies a participant, user, group or booked resource as described in Participant identifier. |
| 221 | users | Array | Each element represents a participant as described in User participant object. User groups are resolved and are represented by their members. Any user can occur only once. |
| 222 | occurrences | Number | Specifies how often a recurrence should appear. May be present only if recurrence_type > 0. |
| 223 | uid | String | Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID. |
| 224 | organizer | String | Contains the email address of the appointment organizer which is not necessarily an internal user. Not implemented for tasks. |
| 225 | sequence | Number | iCal sequence number. Not implemented for tasks. Must be incremented on update. Will be incremented by the server, if not set. |
| 226 | confirmations | Array | Each element represents a confirming participant as described in Confirming participant. This can be internal and external user. Not implemented for tasks. |
| 227 | organizerId | Number | Contains the userId of the appointment organizer if it is an internal user. Not implemented for tasks. (Introduced with 6.20.1) |
| 228 | principal | String | Contains the email address of the appointment principal which is not necessarily an internal user. Not implemented for tasks. (Introduced with 6.20.1) |
| 229 | principalId | Number | Contains the userId of the appointment principal if it is an internal user. Not implemented for tasks. (Introduced with 6.20.1) |
| 401 | full_time | Boolean | True if the event is a whole day appointment or task, false otherwise. |
Task sequence type
| Number | Description |
|---|---|
| 0 | none (single event) |
| 1 | daily |
| 2 | weekly |
| 3 | monthly |
| 4 | yearly |
Participant identifier
| Name | Type | Value |
|---|---|---|
| id | Number | User ID |
| type | Number | See Participant types |
| String | mail address of an external participant |
Participant types
| Number | Type |
|---|---|
| 1 | user |
| 2 | user group |
| 3 | resource |
| 4 | resource group |
| 5 | external user |
User participant object
| Name | Type | Value |
|---|---|---|
| id | Number | User ID. Confirming for other users only works for appointments and not for tasks. |
| display_name | String | Displayable name of the participant. |
| confirmation | Number | See Confirmation status |
| confirmmessage | String | Confirm Message of the participant |
Confirmation status
| Number | Status |
|---|---|
| 0 | none |
| 1 | accepted |
| 2 | declined |
| 3 | tentative |
Confirming participant
| Name | Type | Value |
|---|---|---|
| type | Number | Either 1 = user or 5 = external user. |
| String | email address of external participant | |
| display_name | String | display name of external participant |
| status | Number | See Confirmation status |
| message | String | Confirm Message of the participant |
Detailed task data
| ID | Name | Type | Value |
|---|---|---|---|
| 300 | status | Number | Status of the task. See Task status |
| 301 | percent_completed | Number | How much of the task is completed. An integer number between 0 and 100. |
| 302 | actual_costs | Number | A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99. |
| 303 | actual_duration | ||
| 304 | after_complete | Date | Deprecated. Only present in AJAX interface. Value will not be stored on OX server. |
| 305 | billing_information | ||
| 307 | target_costs | Number | A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99. |
| 308 | target_duration | ||
| 309 | priority | Number | 1 = LOW, 2 = MEDIUM, 3 = HIGH |
| 312 | currency | ||
| 313 | trip_meter | ||
| 314 | companies | ||
| 315 | date_completed | ||
| 316 | start_time | Date or Time | Inclusive start as Date for whole day tasks and Time for normal tasks. |
| 317 | end_time | Date or Time | Exclusive end as Date for whole day tasks and as Time for normal tasks. |
Task status
| Number | Status |
|---|---|
| 1 | not started |
| 2 | in progress |
| 3 | done |
| 4 | waiting |
| 5 | deferred |
Detailed contact data
| ID | Displayed name | Name | Type | Description |
|---|---|---|---|---|
| 223 | uid | String | Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID. | |
| 500 | Display name | display_name | String | |
| 501 | Given name | first_name | String | First name. |
| 502 | Sur name | last_name | String | Last name. |
| 503 | Middle name | second_name | String | |
| 504 | Suffix | suffix | String | |
| 505 | Title | title | String | |
| 506 | Street home | street_home | String | |
| 507 | Postal code home | postal_code_home | String | |
| 508 | City home | city_home | String | |
| 509 | State home | state_home | String | |
| 510 | Country home | country_home | String | |
| 511 | Birthday | birthday | Date | |
| 512 | Marital status | marital_status | String | |
| 513 | Number of children | number_of_children | String | |
| 514 | Profession | profession | String | |
| 515 | Nickname | nickname | String | |
| 516 | Spouse name | spouse_name | String | |
| 517 | Anniversary | anniversary | Date | |
| 518 | Note | note | String | |
| 519 | Department | department | String | |
| 520 | Position | position | String | |
| 521 | Employee type | employee_type | String | |
| 522 | Room number | room_number | String | |
| 523 | Street business | street_business | String | |
| 524 | Internal user id | user_id | Number | |
| 525 | Postal code business | postal_code_business | String | |
| 526 | City business | city_business | String | |
| 527 | State business | state_business | String | |
| 528 | Country business | country_business | String | |
| 529 | Number of employee | number_of_employees | String | |
| 530 | Sales volume | sales_volume | String | |
| 531 | Tax id | tax_id | String | |
| 532 | Commercial register | commercial_register | String | |
| 533 | Branches | branches | String | |
| 534 | Business category | business_category | String | |
| 535 | Info | info | String | |
| 536 | Manager's name | manager_name | String | |
| 537 | Assistant's name | assistant_name | String | |
| 538 | Street other | street_other | String | |
| 539 | City other | city_other | String | |
| 540 | Postal code other | postal_code_other | String | |
| 541 | Country other | country_other | String | |
| 542 | Telephone business 1 | telephone_business1 | String | |
| 543 | Telephone business 2 | telephone_business2 | String | |
| 544 | FAX business | fax_business | String | |
| 545 | Telephone callback | telephone_callback | String | |
| 546 | Telephone car | telephone_car | String | |
| 547 | Telephone company | telephone_company | String | |
| 548 | Telephone home 1 | telephone_home1 | String | |
| 549 | Telephone home 2 | telephone_home2 | String | |
| 550 | FAX home | fax_home | String | |
| 551 | Cellular telephone 1 | cellular_telephone1 | String | |
| 552 | Cellular telephone 2 | cellular_telephone2 | String | |
| 553 | Telephone other | telephone_other | String | |
| 554 | FAX other | fax_other | String | |
| 555 | Email 1 | email1 | String | |
| 556 | Email 2 | email2 | String | |
| 557 | Email 3 | email3 | String | |
| 558 | URL | url | String | |
| 559 | Telephone ISDN | telephone_isdn | String | |
| 560 | Telephone pager | telephone_pager | String | |
| 561 | Telephone primary | telephone_primary | String | |
| 562 | Telephone radio | telephone_radio | String | |
| 563 | Telephone telex | telephone_telex | String | |
| 564 | Telephone TTY/TDD | telephone_ttytdd | String | |
| 565 | Instantmessenger 1 | instant_messenger1 | String | |
| 566 | Instantmessenger 2 | instant_messenger2 | String | |
| 567 | Telephone IP | telephone_ip | String | |
| 568 | Telephone assistant | telephone_assistant | String | |
| 569 | Company | company | String | |
| 570 | image1 | String | Deprecated. Use 606 instead. | |
| 571 | Dynamic Field 1 | userfield01 | String | |
| 572 | Dynamic Field 2 | userfield02 | String | |
| 573 | Dynamic Field 3 | userfield03 | String | |
| 574 | Dynamic Field 4 | userfield04 | String | |
| 575 | Dynamic Field 5 | userfield05 | String | |
| 576 | Dynamic Field 6 | userfield06 | String | |
| 577 | Dynamic Field 7 | userfield07 | String | |
| 578 | Dynamic Field 8 | userfield08 | String | |
| 579 | Dynamic Field 9 | userfield09 | String | |
| 580 | Dynamic Field 10 | userfield10 | String | |
| 581 | Dynamic Field 11 | userfield11 | String | |
| 582 | Dynamic Field 12 | userfield12 | String | |
| 583 | Dynamic Field 13 | userfield13 | String | |
| 584 | Dynamic Field 14 | userfield14 | String | |
| 585 | Dynamic Field 15 | userfield15 | String | |
| 586 | Dynamic Field 16 | userfield16 | String | |
| 587 | Dynamic Field 17 | userfield17 | String | |
| 588 | Dynamic Field 18 | userfield18 | String | |
| 589 | Dynamic Field 19 | userfield19 | String | |
| 590 | Dynamic Field 20 | userfield20 | String | Contains a UUID if one was assigned (after 6.18.2) |
| 592 | distribution_list | Array | If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list as defined in Distribution list member. | |
| 594 | Number of distributionlists | number_of_distribution_list | Number | |
| 596 | number_of_images | Number | ||
| 597 | image_last_modified | Timestamp | ||
| 598 | State other | state_other | String | |
| 599 | file_as | String | ||
| 601 | image1_content_type | String | ||
| 602 | mark_as_distributionlist | Boolean | ||
| 605 | Default address | default_address | Number | |
| 606 | image1_url | String | ||
| 607 | sort_name | String | This attribute identifier has only a sorting purpose. This does not represent a contact attribute. This identifier can be specified only for the sorting column. Some specific, non-empty contact properties are concatenated to sort by last name. In the case of a Japanese locale, the YOMI names are preferred. | |
| 608 | useCount | Number | This column is only used for sorting purposes, if requested within an get or list request this column will always have the value 0. In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored. | |
| 616 | yomiFirstName | String | Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) | |
| 617 | yomiLastName | String | Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) | |
| 618 | yomiCompany | String | Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) | |
| 619 | addressHome | String | Support for Outlook 'home' address field. (since 6.20.1) | |
| 620 | addressBusiness | String | Support for Outlook 'business' address field. (since 6.20.1) | |
| 621 | addressOther | String | Support for Outlook 'other' address field. (since 6.20.1) | |
| 623 | sort_first_name | String | This attribute identifier has only a sorting purpose. This does not represent a contact attribute. This identifier can be specified only for the sorting column. Some specific, non-empty contact properties are concatenated to sort by first name. In the case of a Japanese locale, the YOMI names are preferred. | |
| 624 | origin | String | The contact's origin addressbook identifier. Only set when contact was moved into contact trash folder, used if contact is requested to be restored. (since 8.36) |
Distribution list member
| Name | Type | Value |
|---|---|---|
| id | String | Object ID of the member's contact if the member is an existing contact. |
| folder_id | String | Parent folder ID of the member's contact if the member is an existing contact (preliminary, from 6.22 on). |
| display_name | String | Display name |
| String | Email address (mandatory before 6.22, afterwards optional if you are referring to an internal contact) | |
| mail_field | Number | Which email field of an existing contact (if any) is used for the mail field. See Mail fields. |
| sort_name | String | This attribute has only a sorting purpose. It is readonly. Some specific, non-empty contact properties are concatenated to sort by last name. In the case of a Japanese locale, the YOMI names are preferred. |
| sort_first_name | String | This attribute has only a sorting purpose. It is readonly. Some specific, non-empty contact properties are concatenated to sort by first name. In the case of a Japanese locale, the YOMI names are preferred. |
Mail fields
| Number | Field |
|---|---|
| 0 | independent contact |
| 1 | default email field (email1) |
| 2 | second email field (email2) |
| 3 | third email field (email3) |
Detailed appointment data
| ID | Name | Type | Value |
|---|---|---|---|
| 206 | recurrence_id | Number | Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions. |
| 207 | recurrence_position | Number | 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0. |
| 208 | recurrence_date_position | Date | Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0. |
| 210 | change_exceptions | Array | An array of Dates, representing all change exceptions of a sequence. |
| 211 | delete_exceptions | Array | An array of Dates, representing all delete exceptions of a sequence. |
| 400 | location | String | Location |
| 402 | shown_as | Number | Describes, how this appointment appears in availability queries. See Appointment availability |
| 408 | timezone | String | Timezone |
| 410 | recurrence_start | Date | Start of a sequence without time |
| ignore_conflicts | Boolean | Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client. |
Appointment availability
| Number | Value |
|---|---|
| 1 | reserved |
| 2 | temporary |
| 3 | absent |
| 4 | free |
Detailed mail data
| ID | Name | Type | Value |
|---|---|---|---|
| 102 | color_label | Number | Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). |
| 600 | id | String | Object ID |
| 601 | folder_id | String | Object ID of the parent folder |
| 602 | attachment | Boolean | Specifies whether this mail has attachments. |
| 603 | from | Array | Each element is a two-element array specifying one from. The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values. |
| 604 | to | Array | Each element is a two-element array (see the from field) specifying one receiver. |
| 605 | cc | Array | Each element is a two-element array (see the from field) specifying one carbon-copy receiver. |
| 606 | bcc | Array | Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver. |
| 607 | subject | String | Subject line. |
| 608 | size | Number | Size of the mail in bytes. |
| 609 | sent_date | Time | Date and time as specified in the mail by the sending client. |
| 610 | received_date | Time | Date and time as measured by the receiving server. |
| 611 | flags | Number | Various system flags. A sum of zero or more of values described in Mail system flags. See javax.mail.Flags.Flag for details. |
| 612 | level | Number | Zero-based nesting level in a thread. |
| 613 | disp_notification_to | String | Content of message's header “Disposition-Notification-To” |
| 614 | priority | Number | Value of message's “X-Priority” header. See X-Priority header. |
| 615 | msg_ref | String | Message reference on reply/forward. |
| 651 | flag_seen | String | Special field to sort mails by seen status |
| 652 | account_name | String | Message's account name. |
| 653 | account_id | int | Message's account identifier. Since v6.20.2 |
| 668 | user | Array | An array with user-defined flags as strings. |
| headers | Object | An object with a field for every non-standard header. The header name is the field name. The header value is the value of the field as string. | |
| attachments | Array | Each element is an attachment as described in Attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative. | |
| nested_msgs | Array | Each element is a mail object as described in this table, except for fields id, folder_id and attachment. | |
| truncated | boolean | true/false if the mail content was trimmed. Since v7.6.1 | |
| source | String | RFC822 source of the mail. Only present for action=get&attach_src=true |
|
| cid | String | The value of the "Content-ID" header, if the header is present. | |
| 654 | original_id | String | The original mail identifier (e.g. if fetched from "virtual/all" folder). |
| 655 | original_folder_id | String | The original folder identifier (e.g. if fetched from "virtual/all" folder). |
| 656 | content_type | String | The Content-Type of a mail; e.g. multipart/mixed; boundary="-0123456abcdefg--". |
| 657 | answered | String | Special field to sort mails by answered status. |
| 658 | forwarded | String | Special field to sort mails by forwarded status. Note that mail service needs either support a \Forwarded system flag or a $Forwarded user flag |
| 659 | draft | String | Special field to sort mails by draft flag. |
| 660 | flagged | String | Special field to sort mails by flagged status. |
| 661 | date | String | The date of a mail message. As configured, either the internal received date or mail's sent date (as given by "Date" header). Supposed to be the replacement for sent_date (609) or received_date (610) to let the Open-Xchange Middleware decide based on configuration for com.openexchange.mail.preferSentDate property what to consider. Supported at both - columns parameter and sort parameter. |
| 662 | text_preview_if_available | String | A mail's text preview. Only returned if immediately available from mail server. An empty string signals that mail has no body content. NULL signals not available. |
| 663 | text_preview | String | A mail's text preview. An empty string signals that mail has no body content. Might be slow. |
| 664 | authenticity_preview | JSON | The light-weighted version of the authenticity status result, i.e. the status string. |
| 665 | authenticity | JSON | The heavy-weighted version of the authenticity status results as described in MailData. |
| 666 | sender | Array | Each element is a two-element array specifying one sender. The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values. |
| 667 | reply_to | Array | Each element is a two-element array specifying one reply to. The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values. |
| 669 | date_to_send | Datetime | The date-time (e.g. "20230915T134807Z") of the date-to-send for scheduled mails. |
| 670 | guid | String | The globally unique identifier. |
| 671 | custom_flag | Boolean | The presence of configured custom flag; see "com.openexchange.mail.customFlag" property |
| 672 | unseen | String | Special field to sort mails by unseen status |
Mail system flags
| Number | Description |
|---|---|
| 1 | answered |
| 2 | deleted |
| 4 | draft |
| 8 | flagged |
| 16 | recent |
| 32 | seen |
| 64 | user |
| 128 | spam |
| 256 | forwarded |
| 512 | read acknowledged |
| 1024 | custom flag |
X-Priority header
| Number | Description |
|---|---|
| 0 | No priority |
| 5 | Very Low |
| 4 | Low |
| 3 | Normal |
| 2 | High |
| 1 | Very High |
Attachment
| Name | Type | Value |
|---|---|---|
| id | String | Object ID (unique only inside the same message) |
| content_type | String | MIME type |
| content | String | Content as text. Present only if easily convertible to text. |
| filename | String | Displayed filename (mutually exclusive with content). |
| size | Number | Size of the attachment in bytes. |
| disp | String | Attachment's disposition: null, inline, attachment or alternative. |
Detailed infoitem data
| ID | Name | Type | Value |
|---|---|---|---|
| 23 | meta | Object | A json object holding properties of the infoitem that have no counterpart in the infoitem data, as stated by the storage the infoitem belongs to, e.g. the link that opens it within an external file storage. Read Only. |
| 51 | created_from | Object | The entity that created the infoitem, as described in Entity info object. Read Only. |
| 52 | modified_from | Object | The entity that last modified the infoitem, as described in Entity info object. Read Only. |
| 108 | object_permissions | Array | Each element is an object described in Object Permission object (preliminary, available with 7.8.0). |
| 109 | shareable | Boolean | (read-only) Indicates if the item can be shared (preliminary, available with 7.8.0). |
| 700 | title | String | Title |
| 701 | url | String | Link/URL |
| 702 | filename | String | Displayed filename of the document. |
| 703 | file_mimetype | String | MIME type of the document. The client converts known types to more readable names before displaying them. |
| 704 | file_size | Number | Size of the document in bytes. |
| 705 | version | Number | Version number of the document. New documents start at 1. Every update increments the version by 1. |
| 706 | description | String | Description |
| 707 | locked_until | Time | The time until which this item will presumably be locked. Only set if the document is currently locked, 0 otherwise. |
| 708 | file_md5sum | String | MD5Sum of the document, if available. |
| 709 | version_comment | String | A version comment is used to file a changelog for the file. |
| 710 | current_version | Boolean | “true” if this version is the current version “false” otherwise. Note: This is not writeable |
| 711 | number_of_versions | Number | The number of versions of the infoitem. In case the number is unknown this field is set to -1. Note: This is not writeable. |
| 712 | origin | String | The file's origin path. Since 7.10.0. |
| 713 | capture_date | Time | The capture/creation date of the media resource. Since 7.10.2. |
| 714 | geolocation | String | The geo location of the media resource as a parenthesized latitude and longitude pair. Since 7.10.2. |
| 715 | width | Number | Thhe width of the media resource. Since 7.10.2. |
| 716 | height | Number | The height of the media resource. Since 7.10.2. |
| 717 | camera_make | Time | The name of the camera manufacturer. Since 7.10.2. |
| 718 | camera_model | Time | The name of the camera model. Since 7.10.2. |
| 719 | camera_iso_speed | Number | The ISO speed value of a camera or input device. Since 7.10.2. |
| 720 | camera_aperture | Number | The aperture used to create the photo (f-number). Since 7.10.2. |
| 721 | camera_exposure_time | Number | The length of the exposure, in seconds. Since 7.10.2. |
| 722 | camera_focal_length | Number | The focal length used to create the photo, in millimeters. Since 7.10.2. |
| 723 | media_meta | JSON | The meta information for the media resource. Since 7.10.2. |
| 724 | media_status | String | The status of parsing/analyzing media meta-data from the media resource. Since 7.10.2. |
| 725 | media_date | Time | The media date represents the capture date, which falls-back to last-modified date if there is capture date. Useful for sorting. Since 7.10.2. |
| 726 | unique_id | String | (read-only) Lifetime unique identifier of the file that does not change e.g. after move or rename operations. |
| 751 | sequence_number | Number | Sequence number of the infoitem. |
| 7010 | com.openexchange.share.extendedObjectPermissions | Array | Each element is an object described in Extended object permission object. Read Only, Since 7.8.0. |
| 7020 | com.openexchange.realtime.resourceID | String | The resource identifier for the infoitem for usage within the realtime component. Read Only, Since 7.8.0. |
| 7030 | com.openexchange.file.storage.mail.mailMetadata | Object | Additional metadata for items in the mail file storage. Read Only. |
| 7040 | com.openexchange.file.sanitizedFilename | String | A sanitized version of the filename. Which prevents end users from being confused by special characters, e.g. RTLO (0x202E). Read Only. |
| 7050 | com.openexchange.file.storage.share.external | Array | Each element is an object holding the properties of a share the infoitem has within the external file storage it is located in, as far as the storage supports being shared that way. Read Only, Since 8.54.0. |
Object Permission object
| Name | Type | Value |
|---|---|---|
| bits | Number | A number as described in Object Permission flags. |
| entity | Number | User ID of the user or group to which this permission applies. |
| group | Boolean | true if entity refers to a group, false if it refers to a user. |
| type | String | The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined). |
| password | String | An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional) . |
| email_address | String | The e-mail address of the recipient (for type "guest"). |
| display_name | String | The display name of the recipient (for type "guest", optional). |
| contact_id | String | The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional). |
| contact_folder | String | The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set). |
| expiry_date | Time | The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional). |
Extended object permission object
| Name | Type | Value |
|---|---|---|
| entity | Number | Identifier of the permission entity (i.e. user-, group- or guest-ID). |
| bits | Number | A number as described in Object Permission flags. |
| type | String | "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity. |
| display_name | String | A display name for the permission entity. |
| contact | Object | A (reduced) set of Detailed contact data for "user" and "guest" entities. |
| share_url | String | The share link for "anonymous" entities. |
| password | String | The optionally set password for "anonymous" entities. |
| expiry_date | Date | The optionally set expiry date for "anonymous" entities. |
Object permission flags
| Bits | Value |
|---|---|
| 0 | The numerical value indicating no object permissions. |
| 1 | The numerical value indicating read object permissions. |
| 2 | The numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask). |
Attachment object
| ID | Name | Type | Description |
|---|---|---|---|
| 800 | folder | Number | The ID of the first Folder in which the attached object resides. |
| 801 | attached | Number | The object id of the object this attachement is attached to. |
| 802 | module | Number | The Module of this Object. Possible values are described in Attachment module |
| 803 | filename | String | The filename of the attached file. |
| 804 | file_size | Number | The file size (in bytes) of the attached file. |
| 805 | file_mimetype | String | The MIME-Type of the attached file |
| 806 | rft_flag | Boolean | If the attachment is a RTF Attachment of Outlook. (Outlook descriptions can be stored as RTF Documents). |
Attachment module
| Number | Name |
|---|---|
| 1 | Appointment |
| 4 | Task |
| 7 | Contact |
| 137 | Infostore |
Mail account data
| ID | Name | Type | Value |
|---|---|---|---|
| 1001 | id | Number | Account ID |
| 1002 | login | String | The login. |
| 1003 | password | String | The (optional) password. |
| 1004 | mail_url | String | The mail server URL; e.g. "imap://imap.somewhere.com:143". URL is preferred over single fields (like mail_server, mail_port, etc.) |
| 1005 | transport_url | String | The transport server URL; e.g. "smtp://smtp.somewhere.com:25". URL is preferred over single fields (like transport_server, transport_port, etc.) |
| 1006 | name | String | Account's display name. |
| 1007 | primary_address | String | User's primary address in account; e.g. "someone@somewhere.com" |
| 1008 | spam_handler | String | The name of the spam handler used by account. |
| 1009 | trash | String | The name of the default trash folder. |
| 1010 | sent | String | The name of the default sent folder. |
| 1011 | drafts | String | The name of the default drafts folder. |
| 1012 | spam | String | The name of the default spam folder. |
| 1013 | confirmed_spam | String | The name of the default confirmed-spam folder. |
| 1014 | confirmed_ham | String | The name of the default confirmed-ham folder. |
| 1015 | mail_server | String | The mail server's hostname or IP address. |
| 1016 | mail_port | Number | The mail server's port. |
| 1017 | mail_protocol | String | The mail server's protocol. Always use basic protocol name. E.g. use "imap" instead of "imaps" |
| 1018 | mail_secure | Boolean | Whether to establish a secure connection to mail server (SSL, TLS). |
| 1019 | transport_server | String | The transport server's hostname or IP address. |
| 1020 | transport_port | Number | The transport server's port. |
| 1021 | transport_protocol | String | The transport server's protocol. Always use basic protocol name. E.g. use "smtp" instead of "smtps" |
| 1022 | transport_secure | Boolean | Whether to establish a secure connection to transport server (SSL, TLS). |
| 1023 | transport_login | String | The transport login. Please see "transport_auth" for the handling of this field. |
| 1024 | transport_password | String | The transport password. Please see "transport_auth" for the handling of this field. |
| 1025 | unified_inbox_enabled | Boolean | If enabled for Unified INBOX |
| 1026 | trash_fullname | String | Path to default trash folder. Preferred over "trash" |
| 1027 | sent_fullname | String | Path to default sent folder. Preferred over "sent" |
| 1028 | drafts_fullname | String | Path to default drafts folder. Preferred over "drafts" |
| 1029 | spam_fullname | String | Path to default spam folder. Preferred over "spam" |
| 1030 | confirmed_spam_fullname | String | Path to default confirmed-spam folder. Preferred over "confirmed_spam" |
| 1031 | confirmed_ham_fullname | String | Path to default confirmed-ham folder. Preferred over "confirmed_ham" |
| 1032 | pop3_refresh_rate | Number | The interval in minutes the POP3 account is refreshed |
| 1033 | pop3_expunge_on_quit | Boolean | Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not |
| 1034 | pop3_delete_write_through | Boolean | If option "pop3_expunge_on_quit" is disabled, this property defines whether a delete in local INBOX also deletes affected message in actual POP3 account |
| 1035 | pop3_storage | String | The name of POP3 storage provider, default is "mailaccount" |
| 1036 | pop3_path | String | Path to POP3's virtual root folder in storage, default is name of the POP3 account beside default folders |
| 1037 | personal | String | The customizable personal part of email address |
| 1038 | reply_to | String | The customizable reply-to email address |
| 1039 | addresses | String | The comma-separated list of available E-Mail addresses including aliases. !! Only available for primary mail account !! |
| 1040 | meta | JSON | data Stores arbitrary JSON data as specified by client associated with the mail account |
| 1041 | archive | String | The name of the archive folder. Currently not functional! |
| 1042 | archive_fullname | String | The full name of the archive folder. Currently not functional! |
| 1043 | transport_auth | String | Available since v7.6.1 Specifies the source for mail transport (SMTP) credentials. See Credential source. |
| 1044 | mail_starttls | Boolean | Available since v7.8.2 Whether to establish a secure connection to mail server via STARTTLS. |
| 1045 | transport_starttls | Boolean | Available since v7.8.2 Whether to establish a secure connection to transport server via STARTTLS. |
| 1046 | root_folder | String | Available since v7.8.3 Specifies the identifier of an account's root folder |
| 1047 | mail_oauth | Integer | Available since v7.8.3 Specifies the identifier of the associated OAuth account for mail access |
| 1048 | transport_oauth | Integer | Available since v7.8.3 Specifies the identifier of the associated OAuth account for mail transport |
| 1049 | mail_disabled | Boolean | Available since v7.8.4 Signals whether mail account is currently disabled due to too many failed login attempts |
| 1050 | transport_disabled | Boolean | Available since v7.8.4 Signals whether transport account is currently disabled due to too many failed login attempts |
| 1051 | secondary | Boolean | Available since v7.10.6 Signals whether the account is a secondary mail/transport account |
| 1052 | deactivated | Boolean | Available since v7.10.6 Signals whether the account has been deactivated by the user |
| 1053 | scheduled | String | The name of the scheduled folder. |
| 1054 | scheduled_fullname | String | The full name of the scheduled folder. |
| 1055 | snoozed | String | The name of the snoozed folder. |
| 1056 | snoozed_fullname | String | The full name of the snoozed folder. |
Credential source
| Value | Description |
|---|---|
| Signals to use the same credentials as given in associated mail store (IMAP, POP3). | |
| custom | Signals that individual credentials are supposed to be used (fields "transport_login" and "transport_password" are considered). |
| none | Means the mail transport does not support any authentication mechanism (rare case!) |
Detailed user data
| ID | Displayed name | Name | Type | Value |
|---|---|---|---|---|
| 610 | Aliases | aliases | Array | The user's aliases |
| 611 | Time zone | timezone | String | The time zone ID. |
| 612 | Locale | locale | String | The name of user's entire locale, with the language, country and variant separated by underbars. E.g. "en", "de_DE" |
| 613 | Groups | groups | Array | The IDs of user's groups |
| 614 | Contact ID | contact_id | Number | The contact ID of the user |
| 615 | Login info | login_info | String | The user's login information |
| 627 | Guest Created By | guest_created_by | Number | The ID of the user who has created this guest in case this user represents a guest user; it is 0 for regular users. Was column 616 in previous versions, which clashed with the contact field yomiFirstName. |
Group data
| ID | Name | Type | Value |
|---|---|---|---|
| 1 | id | String | Object ID |
| 5 | last_modified | Time | Date and time of the last modification. |
| 700 | name | String | The name of the group. |
| 701 | display_name | String | The display name of the group. |
| 702 | members | String | A comma separated list of user ids. |
Flags and bitmasks
Permission flags
| Bits | Value |
|---|---|
| 0-6 | Folder permissions: |
| 0 (no permissions) | |
| 1 (see the folder) | |
| 2 (create objects in folder) | |
| 4 (create subfolders) | |
| 64 (all permissions) | |
| 7-13 | Read permissions for objects in folder: |
| 0 (no permissions) | |
| 1 (read only own objects) | |
| 2 (read all objects) | |
| 64 (all permissions) | |
| 14-20 | Write permissions for objects in folder: |
| 0 (no permissions) | |
| 1 (modify only own objects) | |
| 2 (modify all objects) | |
| 64 (all permissions) | |
| 21-27 | Delete permissions for objects in folder: |
| 0 (no permissions) | |
| 1 (delete only own objects) | |
| 2 (delete all objects) | |
| 64 (all permissions) | |
| 28 | Admin flag: |
| 0 (no permissions) | |
| 1 (every operation modifying the folder in some way requires this permission (e.g. changing the folder name) | |
| 29 | User flag support: (for Mail folder only) |
| 0 (no user flag support) | |
| 1 (user flag support) | |
| 30 | Rename support: (for Mail folder only) |
| 0 (not allowed to rename) | |
| 1 (allowed to rename) |
Capabilities
| Bit | Description |
|---|---|
| 0 | Mailing system supports permissions. |
| 1 | Mailing system supports ordering mails by their thread reference. |
| 2 | Mailing system supports quota restrictions. |
| 3 | Mailing system supports sorting. |
| 4 | Mailing system supports folder subscription. |
Note: Capabilities describe the entire mailing system (mail account), not the specific folder in which they are transmitted. E.g. bit 4 of the capabilities on the user's inbox describes whether subscriptions are supported by the default account, even though the inbox itself cannot be unsubscribed because it's a standard folder.
Standard Folder Types
| Bit | Description |
|---|---|
| 0 | No default folder. |
| 1 | Task. |
| 2 | Calendar. |
| 3 | Contact. |
| 7 | Inbox. |
| 8 | Infostore. |
| 9 | Drafts. |
| 10 | Sent. |
| 11 | Spam. |
| 12 | Trash. |
Supported Capabilities
| Name | Description |
|---|---|
| permissions | Folder storage supports permissions. |
| publication | Folder storage supports folder publication. Deprecated with v7.10.2! |
| quota | Folder storage supports quota restrictions. |
| sort | Folder storage supports sorting. |
| subscription | Folder storage supports folder subscription. |
Event Flags
| Name | Description |
|---|---|
| attachments | The event contains at least one attachment. |
| alarms | The calendar user has at least one alarm associated with the event. |
| scheduled | Event is a group-scheduled meeting with an organizer. |
| organizer | The calendar user is the organizer of the meeting. |
| organizer_on_behalf | The calendar user is the organizer of the meeting, and the current user acts on behalf of him. |
| attendee | The calendar user is attendee of the meeting. |
| attendee_on_behalf | The calendar user is attendee of the meeting, and the current user acts on behalf of him. |
| private | Event is classified private, so is invisible for others. |
| confidential | Event is classified as confidential, so only start and end time are visible for others. |
| transparent | Event is transparent for the calendar user, i.e. invisible to free/busy time searches. |
| event_tentative | Indicates that the event's overall status is tentative. |
| event_confirmed | Indicates that the event's overall status is definite. |
| event_cancelled | Indicates that the event's overall status is cancelled. |
| needs_action | The calendar user's participation status is needs action. |
| accepted | The calendar user's participation status is accepted. |
| declined | The calendar user's participation status is declined. |
| tentative | The calendar user's participation status is tentative. |
| delegated | The calendar user's participation status is delegated. |
| series | The event represents the master of a recurring event series, or an expanded (regular) occurrence of a series. |
| overridden | The event represents an exception / overridden instance of a recurring event series. |
| first_occurrence | The event represents the first occurrence of a recurring event series. |
| last_occurrence | The event represents the last occurrence of a recurring event series. |
Mail filter
This chapter gives a detailed description of the mail filter module. It should be uses as a source of information in addition to the http api.
First of all the main structure of a mail filter script is, that it has different rules. Each of them contains one command. This command takes a test condition which executes the actions given in that command if the test condition is true.
The test condition consists of a test command and some arguments for this command depending on the command itself. Because the available tests depend on the mail filter server, these tests must be determined at runtime. So that no test field is transferred to the server which it isn't able to handle. Examples for tests are address, allof and anyof.
Each test has a special comparison. The list of available comparisons depends on the test given and the mail filter server configuration so they have to be determined at runtime too.
Each time you want to do some action on a mail you need a so called action command. This describes what to do with a mail. To action commands the same applies as to the test commands and their comparison types, they must be determined at runtime.
All those dynamical values can be fetched via a config object at startup. This object shows the capabilities of the server to the client. This allows the client to show only the capabilities the server actually has to the user and to send only objects to the server which produce no errors on the server side.
To deal with this high flexibility of mail filters this specification can be roughly divided into 2 parts. A non-changing core and dynamical extensions. The core specification is that each rule consists of a name, an ID, a value showing if this rule is active or not and a tag which can be set on a rule to mark that rule for a special purpose. Furthermore each rule takes a test object, specifying in what case the following actions are triggered, and one or many actioncommands, specifying the actions itself.
The objects for the tests and the actions are dynamical, so the set presented in this specification may be changed over the time, but only compatible changes are allowed to the objects, otherwise new test or action objects have to be introduced. Due to the fact that not every sieve implementation will offer all the capabilities written in this document, the server will sent his configuration if a special request is made. This configuration will show which of the tests and which of the actions are allowed. So for example if the server signals that it is capable of handling vacation, sending a vacation object as action is safe.
Furthermore some tests use a comparison field as stated above which specifies how the fields are compared. The values of this field must also be determined at runtime. So in the configuration object there is a special part which shows the comparisons which are available. Note that not all comparisons can be used with every test. Some of them are denoted to a special test, which is described in Possible comparisons.
Possible tests
| Name | Description |
|---|---|
| address | This test type applies to addresses only. So it may be used for all header fields which contain addresses. This test returns true if any combination of the header-list and values-list arguments match. |
| envelope | This test applies to the envelope of a mail. This test isn't used under normal circumstances as the envelope isn't accessible in all mail setups. This test returns true if any combination of the header-list and values-list arguments match. |
| true | A test for a true result (can be used if an action command should be executed every time). |
| not | Negates a given test. |
| size | Deals with the size of the mail. |
| currentdate | Compares a given date with the current date. |
| header | Tests against all headers of a mail. So with this test in contrast to the address test also fields such as subject can be handled. This test returns true if any combination of the header-list and values-list arguments match. |
| body | Tests against the content of a mail. |
| allof | Defines an AND condition between several tests. |
| anyof | Defines an OR condition between several tests. |
| date | Compares a given date with the given date header. |
| exists | Tests whether a list of headers exist or not. |
Simplified tests
The mailfilter v2 api suppports some simplified rules.
| Name | Description |
|---|---|
| subject | A convenience test to match against a mails subject. |
| from | A convenience test to match against a mails From header. |
| to | A convenience test to match against a mails To header. |
| cc | A convenience test to match against a mails Cc header. |
| anyRecipient | A convenience test to match against a mails To and Cc headers. |
| mailingList | Matches against common mailing list headers for simple filtering of mailing list mails. |
Possible comparisons
| Name | Description |
|---|---|
| is | If a field is equal to a given value. |
| not is | If a field is unequal to a given value. |
| contains | If a field contains a given value at any position. |
| not contains | If a field not contains a given value at any position. |
| matches | Tests if the value matches the value in the specified field ("*" matches zero or more characters, "?" matches a single character, to use these characters themselves they have to be escaped via backslash). |
| not matches | Tests if the value doesn't matches the value in the specified field ("*" matches zero or more characters, "?" matches a single character, to use these characters themselves they have to be escaped via backslash). |
| regex | Tests if a given regular expression matches with the value present in the specified field. |
| not regex | Tests if a given regular expression doesn't matches with the value present in the specified field. |
| startswith | Like matches but adds an additional wildcard character at the end of the value. |
| not startswith | Like 'not matches' but adds an additional wildcard character at the end of the value. |
| endswith | Like matches but adds an additional wildcard character at the beginning of the value. |
| not endswith | Like 'not matches' but adds an additional wildcard character at the beginning of the value. |
Possible currentdate comparisons
| Name | Description |
|---|---|
| is | Used in the date test to check for a value equal to the given one. |
| not is | Used in the date test to check for a value unequal to the given one. |
| ge | Used in the date test to check for a value greater or equal to the given one. |
| not ge | Used in the date test to check for a value smaller to the given one. |
| le | Used in the date test to check for a value less or equal to the given one. |
| not le | Used in the date test to check for a value greater to the given one. |
Possible address parts
| Name | Description |
|---|---|
| all | The hole mail address. This is also the default. |
| localpart | The local part of the mail address. |
| domain | The domain part of the mail address. |
Possible size comparisons
| Name | Description |
|---|---|
| over | Used in the size test to check for a value greater than the given one. |
| not over | Used in the size test to check for a value smaller or equal to the given one. |
| under | Used in the size test to check for a value less than the given one. |
| not under | Used in the size test to check for a value greater or equal to the given one. |
Possible extensions
| Name | Description |
|---|---|
| content | An extension used in conjunction with the body test to define the content which should be considered. This extension will need a parameter specifying the mime-type of the part of the message which will be searched. |
| text | An extension used in conjunction with the body test to define that only the text of the body should be considered in this test. This extension takes no parameter. |
Structure of tests
This section describes the structures of tests.
address-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | address | A string describing the test command. |
| comparison | String | Available types can be found in the config object. (see Possible comparisons). | |
| addresspart | String | The address part which should be tested, see Possible address parts. | |
| headers | Array | A string array containing the header fields. | |
| values | Array | A string array containing the value for the header fields. The test will be true if any of the strings matches. |
envelope-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | envelope | A string describing the test command. |
| comparison | String | Available types can be found in the config object. (see Possible comparisons). | |
| addresspart | String | The address part which should be tested, see Possible address parts. | |
| headers | Array | A string array containing the header fields. | |
| values | Array | A string array containing the value for the header fields. The test will be true if any of the strings matches. |
true-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | true | A string describing the test command. |
not-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | not | A string describing the test command. |
| test | Object | One of the test objects which result will be negated. |
size-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | size | A string describing the test command. |
| comparison | String | Only two types are valid here. A description can be found in Possible size comparisons. | |
| size | Number | A number specifying the size for this comparison, in bytes. |
currentdate-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | currentdate | A string describing the test command. |
| comparison | String | Only three types are valid here. A description can be found in Possible currentdate comparisons. | |
| datepart | String | A string containing the string "date", "weekday" or "time" as we only allow fix date, time and weekday comparisions for now. | |
| datevalue | Array | A value array containing the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 to 6, reflecting the equivalent weekday, starting from Sunday through Saturday, i.e. 0 - Sunday, ..., 6 - Saturday. The test will be true if any of the values matches | |
| zone | String | The optional timezone which should be used for the test. E.g. "+0100". If omitted the current timezone of the user is used. |
header-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | header | A string describing the test command. |
| comparison | String | Available types can be found in the config object. (see Possible comparisons). | |
| headers | Array | A string array containing the header fields. | |
| values | Array | A string array containing the values for the header fields. The test will be true if any of the strings matches. |
allof-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | allof | A string describing the test command. |
| tests | Array | A array of tests. |
anyof-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | anyof | A string describing the test command. |
| tests | Array | A array of tests. |
body-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | body | A string describing the test command. |
| comparison | String | Available types can be found in the config object. (see Possible comparisons). | |
| extensionskey | String | The extension key can be one of the value found in Possible extensions. | |
| extensionsvalue | String | A value for the given key. If the key has no value (see Possible extensions for this information) the value given here is ignored. | |
| values | Array | A string array containing the values for the body. The test will be true if any of the strings matches. |
date-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | date | A string describing the test command. |
| comparison | String | Only three types are valid here. A description can be found in Possible currentdate comparisons. | |
| header | String | The header field to test against. | |
| datepart | String | A string containing the string "date", "weekday" or "time" as we only allow fix date, time and weekday comparisions for now. | |
| datevalue | Array | A value array containing the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 to 6, reflecting the equivalent weekday, starting from Sunday through Saturday, i.e. 0 - Sunday, ..., 6 - Saturday. The test will be true if any of the values matches | |
| zone | String | The optional timezone which should be used for the test. E.g. "+0100". If omitted the current timezone of the user is used. |
exists-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | exists | A string describing the test command. |
| headers | Array | A string array containing the header fields. |
simplified-header-test
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | A string describing a simplified test command. | |
| comparison | String | Available types can be found in the config object (see Possible comparisons). Defaults to "contains". | |
| values | Array | A string array containing the values for the header fields. The test will be true if any of the strings matches. |
Possible action commands
| Name | Description |
|---|---|
| keep | Keeps a mail non-changed. |
| discard | Discards a mail without any processing. |
| redirect | Redirects a mail to a given e-mail address. |
| move | Moves a mail into a given subfolder (the syntax of the subfolder given here must be the correct syntax of the underlying IMAP-server and is up to the GUI to detect things such as altnamespace or unixhierarchysep). |
| reject | Rejects the mail with a given text. |
| stop | Stops any further progressing of a mail. |
| vacation | Creates a vacation mail. |
| setflag | Set flags of a mail. |
| addflag | Adds flags to a mail. |
| notify | Adds a notification. |
| pgp | Encrypts a mail via pgp. |
Structure of action commands
This section describes the structures of action commands.
keep-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | keep | A string defining the object itself. |
discard-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | discard | A string defining the object itself. |
redirect-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | redirect | A string defining the object itself. |
| to | String | A string containing where the mail should be redirected to. | |
| copy | Boolean | An optional boolean flag. If set the :copy argument will be added to the redirect command. See RFC 3894 for further details. |
move-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | move | A string defining the object itself. |
| into | String | This string takes the object id of the destination mail folder as specified in the HTTP API of the groupware. | |
| copy | Boolean | An optional boolean flag. If set the :copy argument will be added to the fileinto command. See RFC 3894 for further details. |
reject-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | reject | A string defining the object itself. |
| text | String | A string containing the reason why the mail is rejected. |
stop-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | stop | A string defining the object itself. |
vacation-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | vacation | A string defining the object itself. |
| days | Integer | The days for which a vacation text is returned. | |
| seconds | Integer | The seconds for which a vacation text is returned. Requires the com.openexchange.mail.filter.options.vacation.minimumInterval.seconds property to be configured and the IMAP server to support the vacation-seconds capability. | |
| addresses | Array | The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent. | |
| from | String or Array | Support for the ':from' tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear foo.bear@ox.io (Since 7.8.1). The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. | |
| subject | String | The new subject for the returned message (can be left empty, when only adding RE:). Must be a single line when written through the v2 interface: a value containing line breaks is rejected with error MAIL_FILTER-0044. | |
| text | String | The vacation text itself. | |
| vacationMode | String | The explicit mode of the vacation notice: "all", "split" or "internalOnly" (see the mode table below). Clients supporting the extended internal/external fields MUST send this field on every write of a vacation action - also when the server does not announce "vacationInternalAvailable". "all" is always accepted, and an existing extended rule stays editable with its modes: while the feature is unavailable, clients echo the mode they read and offer the downgrade to "all" only as an explicit user choice with a warning - availability can also flip temporarily on a configuration mistake, and a routine edit must not degrade the rule. On read, the field is always present, "all" on plain notices too, so clients that echo the read payload fulfill the contract automatically; sole exception are multi-branch rules the middleware does not recognize as extended vacation rules - their vacation action is reported without a mode and the rule carries an "errormsg" announcing that it cannot be edited here; updating it is refused with MAIL_FILTER-0042 (a vacation action is carried; MAIL_FILTER-0041 covers multi-branch rules without one). A write whose vacation action does not carry this field is treated as coming from a client unaware of the extended fields: an existing internal/external structure is preserved across the update instead of being replaced. Submitting "subjectExt"/"textExt" without this field is rejected with error MAIL_FILTER-0044, as are "split" without "textExt", "all"/"internalOnly" combined with "subjectExt"/"textExt", and an unknown mode value - an empty value and an explicit JSON null included (absence of the field is the only field-unaware signal; the server never defaults the mode). "split" and "internalOnly" on a rule without an existing extended structure require the feature (announced as "vacationInternalAvailable"); otherwise the request is rejected with error MAIL_FILTER-0043. Only supported by the v2 interface. | |
| subjectExt | String | The subject of the vacation notice sent to external senders. Optional and only allowed in mode "split" together with "textExt"; if absent or empty, the notice sent to external senders gets the subject generated by the mail system ("Auto: " followed by the subject of the incoming message, see RFC 5230) - the internal "subject" is never applied to external senders. On read, the field is present exactly when it was set. Must be a single line: a value containing line breaks is rejected with error MAIL_FILTER-0044. Whether a sender is internal or external is decided by the server via the classifier header the mail platform stamps on every delivered message (the com.openexchange.mail.filter.options.vacation.internal.externalTagHeader property): the value "true" marks the sender as external, "false" as internal; a message carrying neither value - or both values - receives no vacation notice at all. Only supported by the v2 interface. | |
| textExt | String | The text of the vacation notice sent to external senders. Required by and only allowed in mode "split". On read, the field is present exactly when it was set. On update, the submitted vacation command replaces the stored one completely; the mode transition is explicit - "vacationMode": "all" turns an extended rule back into a plain notice, while a vacation action without any "vacationMode" preserves an existing internal/external structure. Requires the server to enable the internal/external vacation feature via the com.openexchange.mail.filter.options.vacation.internal.enabled property together with a configured externalTagHeader (both announced combined in the config action as "vacationInternalAvailable"); otherwise the request is rejected with error MAIL_FILTER-0043. Only supported by the v2 interface. |
The "vacationMode" field selects the vacation notice's mode explicitly (empty strings in the "_Ext" fields count as absent); on read, every vacation rule reports its mode:
| Mode | vacationMode | Behavior |
|---|---|---|
| Plain (mode 1) | "all" | Every sender receives the same vacation notice ("subject"/"text"). |
| Internal/external texts (mode 2) | "split" | Internal senders receive "subject"/"text", external senders "subjectExt"/"textExt"; "textExt" is required, and without "subjectExt" the mail system generates the external subject ("Auto: " plus the incoming subject). |
| Internal only (mode 3) | "internalOnly" | Only internal senders receive a vacation notice; external senders receive none. Must not be combined with "subjectExt"/"textExt" (rejected with MAIL_FILTER-0044). |
addflag-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | addflags | A string defining the object itself. |
| flags | Array | An array containing the flags which should be added to that mail. A flag can be either a system flag or a user flag. System flags begin with a backslash (\) and can be one of the ones describes in Flags. System flags are case-insensitive. User flags begin with a dollar sign ($) and can contain any ASCII characters between 0x21 (!) and 0x7E (~), inclusive, except for the characters 0x22, 0x25, 0x28, 0x29, 0x2A, 0x5C, 0x5D and 0x7B, which correspond to "%()*]{ Mail color flags as used by OX are implemented by user flags of the form $cl_n, where n is a number between 1 and 10, inclusive. See RFC 3501 for further details on IMAP flags and their meanings. |
setflag-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | setflags | A string defining the object itself. |
| flags | Array | An array containing the flags which should be set. A flag can be either a system flag or a user flag. System flags begin with a backslash () and can be one of the ones describes in Flags. System flags are case-insensitive. User flags begin with a dollar sign ($) and can contain any ASCII characters between 0x21 (!) and 0x7E (~), inclusive, except for the characters 0x22, 0x25, 0x28, 0x29, 0x2A, 0x5C, 0x5D and 0x7B, which correspond to "%()*]{ Mail color flags as used by OX are implemented by user flags of the form $cl_n, where n is a number between 1 and 10, inclusive. See RFC 3501 for further details on IMAP flags and their meanings. |
Flags
| Name |
|---|
| \seen |
| \answered |
| \flagged |
| \deleted |
| \draft |
| \recent |
notify-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | notify | A string defining the object itself. |
| message | String | the content of the notification message. | |
| method | String | the method of the notification message, e.g. "mailto:012345678@sms.gateway". |
pgp-command
| Name | Type | Value | Description |
|---|---|---|---|
| id | String | pgp | A string defining the object itself. |
| keys | Array | The public keys as string which should be used for encryption. |
Advanced Search
This chapter describes the search module in more detail. Each search request contains a JSON object representing the search term. The search term is embedded
in a wrapping JSON object with the field filter, like {"filter":[search term]}. In general the structure of a search
term is in prefix notation, meaning the operator is written before its operands: [">", 5, 2] represents the condition
"5 > 2".
Operators
There are two kinds of search operators, comparison operators and logic operators.
Comparison operators
Comparison operators compare two operands with one another. The exception is the "isNull" operator which has only one operand which must be a field name. The following operators are available:
| Operator | Description |
|---|---|
| ">" | greater |
| "<" | smaller |
| "=" | equal |
| "<=" | smaller or equal |
| ">=" | greater or equal |
| "<>" | unequal |
| "isNull" | is NULL |
Logic operators
Logic operators combine search expressions. Whereby the logic operator "not" has exactly one operand, the other logic operators can have any number of operands. Each operand must be an array representing a nested search expression.
| Operator |
|---|
| "not" |
| "and" |
| "or" |
Operands
Each operator needs one or more operands. There are different types of operands:
- Constant
- Field
- Attachment
- Header
Constant
Primitive JSON types are interpreted as constants, but arrays are not valid operands for comparison operators!
Field
A field operand is a JSON object with the member field specifying the field name, e.g. {"field":"first_name"}.
The available field names depend on the module that implements the search.
Attachment
A attachment operand is a JSON object with the member attachment specifying the attachment name, e.g. {"attachment":"somedocument.txt"}.
The attachment search is only available in case the FILENAME_SEARCH capability is included in the list of supported_capabilities of the folder.
Header
A header operand is a JSON object with the member header specifying the header name, e.g. {"header":"From"}.
Examples
Represents the expression field_name1 = value1 AND NOT field_name2 > value2.
{
"filter" : [
"and",
[ "=" , { "field" : "field_name1" }, "value1" ],
["not",
[ ">", { "field" : "field_name2" }, "value2"]
]
]
}
Infostore Advanced Search
Operators
The following operators are allowed in search terms.
| Operators |
|---|
| "=" |
| ">" |
| "<" |
Operands
The following operands and operators are allowed in search terms.
| Operands | Valid operator |
|---|---|
| "camera_aperture" | ALL |
| "camera_exposure_time" | ALL |
| "camera_focal_length" | AL |
| "camera_iso_speed" | ALL |
| "camera_make" | "=" |
| "camera_model" | "=" |
| "capture_date" | ALL |
| "categories" | "=" |
| "color_label" | ALL |
| "content" | "=" |
| "creation_date" | ALL |
| "created_by" | ALL |
| "current_version" | ALL |
| "description" | "=" |
| "filename" | "=" |
| "file_md5sum" | "=" |
| "file_mimetype" | "=" |
| "file_size" | ALL |
| "height" | ALL |
| "last_modified" | ALL |
| "last_modified_utc" | ALL |
| "locked_until" | ALL |
| "media_date" | ALL |
| "meta" | "=" |
| "modified_by" | ALL |
| "number_of_versions" | ALL |
| "sequence_number" | ALL |
| "title" | "=" |
| "url" | "=" |
| "version" | "=" |
| "version_comment" | "=" |
| "width" | ALL |
Examples
Represents Find files having a file_size < 1024.
{
"filter" : [ "<" , { "field" : "file_size" }, "1024" ]
}
Represents Find files with filename = "stuff".
{
"filter" : [ "=" , { "field" : "filename" }, "stuff" ]
}
Represents Find files with filename "stuff" and file_size < 100 OR having filename = "changelog".
{
"filter" :
[ "or",
[ "and",
[ "=" , { "field" : "filename" }, "stuff" ],
[ "<" , { "field" : "file_size" }, "100" ]
],
[ "=" , { "field" : "filename" }, "changelog" ]
]
}
Chronos Advanced Search
Operators
The following operators are allowed in search terms.
| Operators |
|---|
| "=" |
| ">" |
| "<" |
Operands
The following operands and operators are allowed in search terms.
| Operands | Valid operator |
|---|---|
| "filename" | "=" |
| "sequence" | "=" |
| "timestamp" | "ALL" |
| "created" | "ALL" |
| "createdBy" | "=" |
| "lastModified" | "ALL" |
| "modifiedBy" | "=" |
| "calendarUser" | "=" |
| "summary" | "=" |
| "location" | "=" |
| "description" | "=" |
| "categories" | "=" |
| "class" | "=" |
| "color" | "=" |
| "transp" | "=" |
| "seriesId" | "=" |
| "rrule" | "=" |
| "modifiedBy" | "=" |
| "recurrenceId" | "=" |
| "recurrenceDates" | "=" |
| "changeExceptionDates" | "=" |
| "deleteExceptionDates" | "=" |
| "status" | "=" |
| "url" | "=" |
| "organizer" | "=" |
| "comment" | "=" |
Examples
Find events that were modified after a certain date.
{
"filter" : [ ">" , { "field" : "lastModified" }, "1612526465493" ]
}
Find events with summary = "foobar" and created by user 3.
{
"filter" : [
"and",
["=" , { "field" : "summary" }, "foobar" ],
["=" , { "field" : "createdBy" }, "3" ]
]
}
Calendar account configuration
This chapter describes the configuration of different calendar accounts.
ICal feeds
Various ICal feeds can be subscribed by the given URI and optional basic authentication.
For example:
{
"configuration":{
"uri":"http://example.org/feed/theExampleFeed.ics"
}
}
If basic authentication is required the body should contain 'login', 'password' or both as desired by the endpoint, for instance:
{
"configuration":{
"uri":"http://example.org/feed/theSecureExampleFeed.ics"
"login":"johnDoe",
"password":"myPassword"
}
}
The google calendar account basically only needs the id of a valid google oauth account with the calendar_ro scope.
For example:
{
"configuration":{
"oauthId":5
}
}
This way the middleware creates a google calendar account which uses the given oauth account. During the initialization of the account the folders field is filled with all available google calendars.
This json object contains another json objects for each calendar, whereby the key of each entry is the id of the google calendar (E.g. test_account@gmail.com). Each google calendar object contains different informations about the calendar (e.g. the color, default reminders etc.). But the most important field is the enabled field which defines whether a google calendar is subscribed or not. By default only the primary account is enabled (and therefore subscribed). If the client wants to enable other accounts too, it can do so by setting the enabled field to true and updating the account.
Example configuration after creation:
"configuration": {
"oauthId": 41,
"folders": {
"test_account@gmail.com": {
"enabled": true,
"color": "#9fe1e7",
"default_reminders": [
{
"action": "DISPLAY",
"duration": "-PT30M"
}
],
"primary": true
},
"#contacts@group.v.calendar.google.com": {
"enabled": false,
"color": "#92e1c0",
"default_reminders": []
},
"en.german#holiday@group.v.calendar.google.com": {
"enabled": false,
"color": "#16a765",
"default_reminders": []
},
"e_2_en#weeknum@group.v.calendar.google.com": {
"enabled": false,
"color": "#42d692",
"default_reminders": []
}
}
}
Config module
The config module is used to retrieve and set user-specific configuration. The configuration is stored in a tree. Each node of the tree has a name and a value. The values of leaf nodes are strings which store the actual configuration data. The values of inner nodes are defined recursively as objects with one field for each child node. The name and the value of each field is the name and the value of the corresponding child node, respectively.
The namespace looks like the following:
- /ajax/config/
- gui – A string containing GUI-specific settings (currently, it is a huge JSON object).
- fastgui - A string containing GUI-specific settings. This is a JSON object that must be kept small for performance.
- context_id - the unique identifier of the context (read-only).
- cookielifetime - the cookie life time in seconds or -1 for session cookie (read-only).
- identifier – the unique identifier of the user (read-only).
- contact_id – the unique identifier of the contact data of the user (read-only).
- language – the configured language of the user.
- timezone – the configured timezone of the user.
- availableTimeZones – a JSON object containing all available time zones. The key is the time zone identifier and the value contains its name in users language. (read-only).
- reloadTimes - Selectable times for GUI reload
- serverVersion - Version string of the server.
- tombstoneCleanup - Settings for cleanup of tombstone tables
- timespan – The timespan an entry in any tombstone table is kept before removing it (in milliseconds). Not set if cleanup is disabled.
- currentTime - User timezone specific long of the current server time.
- maxUploadIdleTimeout - Timeout after that idle uploads are deleted.
- folder/ – the standard folder of the user
- tasks – the standard task folder (read-only)
- calendar – the standard calendar folder (read-only)
- contacts – the standard contacts folder (read-only, deprecated)
- addressbooks – the standard addressbooks folder (read-only)
- infostore – the private infostore folder (read-only)
- eas – whether EAS folder selection is enabled (read-only)
- availableModules – Contains a JSON array listing all enabled modules for a user. GUI loads Plugins through this list. To get your plugin listed here, create a subtree below modules/ without a module * subelement or with a subelement containing true (read-only)
- minimumSearchCharacters – Minimum number of characters a search pattern must have to prevent large responses and slow queries. (read-only)
- modules
- portal
- gui GUI settings for portal module
- module
- mail
- addresses – all email addresses of the user including the primary address (read-only)
- appendmailtext
- allowhtmlimages – Alters default setting whether external images contained in HTML content are allowed or not
- colorquoted – color quoted lines
- contactCollectFolder – contact folder id to save mail addresses from sent mails
- contactCollectEnabled – switch contact collection on/off
- contactCollectOnMailAccess – enables/disables contact collection for incoming mails. Default is true.
- contactCollectOnMailTransport – enables/disables contact collection for outgoing mails. Default is true.
- defaultaddress – primary email address of the user (read-only)
- deletemail – delete emails or move to trash
- emoticons – display emoticons as graphics
- defaultFolder
- drafts – identifier of the folder with the mail drafts (read-only)
- inbox – identifier of the folder that gets all incoming mails (read-only)
- sent – identifier of the folder with the sent mails (read-only)
- spam – identifier of the folder with the spam mails (read-only)
- trash – identifier of the folder with the deleted mails (read-only)
- forwardmessage – forward messages as inline or attachment
- gui GUI settings for mail module
- inlineattachments – activate inlining of HTML attachments
- linewrap
- module – if mail module is enabled or not
- phishingheaders – header(s) identifying phishing headers
- replyallcc – put all recipients on reply all into CC
- sendaddress – one email address out of the addresses list that are email sent with
- spambutton – Spam Button should be displayed in GUI or not
- vcard – attach vcard when sending mails
- calendar
- calendar_conflict
- calendar_freebusy
- calendar_teamview
- gui GUI settings for the calendar module
- module
- notifyNewModifiedDeleted receive mail notification for new, modified or deleted appointments
- notifyAcceptedDeclinedAsCreator receive mail notification for accepted or declined appointments created by the user
- notifyAcceptedDeclinedAsParticipant receive mail notification for accepted or declined appointments that the user participates
- defaultStatusPrivate Default status for new appointments in private folders, where the user is participant. This does not affect appointments created by this user, which always have the status "accepted". The status are described in User participant object. Default is 0:none
- defaultStatusPublic Default status for new appointments in public folders, where the user is participant. This does not affect appointments created by this user, which always have the status "accepted". The status are described in User participant object. Default is 0:none
- contacts
- gui GUI settings for the contacts module
- mailAddressAutoSearch – Define if a search is triggered when the recipient selection dialog is opened or the folder is changed. (read-only)
- module True if the contact module is enabled for the current user, false otherwise.
- singleFolderSearch – True if the current user is allowed to search for contacts only in a single folder. False if contact searches across all folders are allowed. (read-only)
- characterSearch – True if the side bar for searching for contacts by a start letter should be displayed. False if the side bar should be hidden. (read-only)
- allFoldersForAutoComplete – true if an auto complete search may omit the folder identifier array and search for contacts in all readable folders. This is configured through the contact.properties configuration file. (read-only)
- tasks
- gui GUI settings for the tasks module
- module
- delegate_tasks
- notifyNewModifiedDeleted receive mail notification for new, modified or deleted tasks
- notifyAcceptedDeclinedAsCreator receive mail notification for accepted or declined tasks created by the user
- notifyAcceptedDeclinedAsParticipant receive mail notification for accepted or declined taks that the user participates
- infostore
- gui GUI settings for the infostore module
- folder – the standard infostore folders (read-only)
- trash – identifier of the default infostore trash folder (read-only)
- pictures – identifier of the default infostore pictures folder (read-only)
- documents – identifier of the default infostore documents folder (read-only)
- music – identifier of the default infostore music folder (read-only)
- videos – identifier of the default infostore videos folder (read-only)
- templates – identifier of the default infostore templates folder (read-only)
- module
- interfaces
- ical
- vcard
- syncml
- folder
- gui UI settings for the folder tree
- public_folders
- read_create_shared_folders
- tree – Selected folder tree, the user wants to use. Currents trees are 0 for the known OX folder tree and 1 for the new virtual folder tree.
- com.openexchange.extras
- module – Extras link in the configuration (read only)
- com.openexchange.user.passwordchange
- module – Will load Plug-In which allows to change the Password within the users configuration (read only)
- com.openexchange.user.personaldata
- module – Will load Plug-In which allows to edit personal contact information within the users configuration (read only)
- com.openexchange.group
- enabled – Specifies whether the user is allowed to edit groups and loads the corresponding Plug-In. (read only)
- com.openexchange.resource
- enabled – Specifies whether the user is allowed to edit resources and loads the corresponding Plug-In. (read only)
- com.openexchange.publish
- enabled – Specifies whether the user is allowed to publish items. (read only)
- com.openexchange.subscribe
- enabled – Specifies whether the user is allowed to subscribe sources. (read only)
- olox20 [DEPRECATED]
- active – Tells the UI if the user is allowed to use the OXtender for Microsoft Outlook 2. (read only)
- module – Is set to false to prevent the UI from trying to load a plugin. (read only)
- com.openexchange.oxupdater [DEPRECATED]
- module – Is true if the OXUpdater package is installed and started. (read only)
- active – Is true if the user is allowed to download the OXUpdater. Otherwise it's false. (read only)
- com.openexchange.passwordchange
- showStrength – Show a widget, which displays the current passwort Strength while entering. (default: false)
- minLength – The minimum length of an entered password. (default: 4)
- maxLength – The maximum length of an entered password. 0 for unlimited. (default: 0)
- regexp – Defines the class of allowed special characters as Regular Expression. (default: [^a-z0-9])
- special – Shows an example of allowed special characters to the user. Should be a subset of "regexp" in a human readable format. (default: $, _, or %)
- portal