Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: JMAP
    • Labels:
      None

      Description

      https://jmap.io/spec-core.html#the-jmap-session-resource

      curl -XGET /jmap/session
      
      {
        "capabilities": {
           "urn:ietf:params:jmap:core":
             "maxSizeUpload": 10000000,
             "maxConcurrentUpload": 4,
             "maxSizeRequest": 10000000,
             "maxConcurrentRequests": 4,
             "maxCallsInRequest": 16,
             "maxObjectsInGet": 500,
             "maxObjectsInSet": 500,
             "collationAlgorithms": ["i;unicode-casemap"]
           },
           "urn:ietf:params:jmap:mail":
             "maxMailboxesPerEmail": 10000000,
             "maxMailboxDepth": null,
             "maxSizeMailboxName": 200,
             "maxSizeAttachmentsPerEmail": 20000000,
             "mayCreateTopLevelMailbox": true,
             "emailQuerySortOptions": ["receivedAt", "cc", "from", "to", "subject", "size", "sentAt", "hasKeyword", "uid", "Id"],
           },
        },
        "accounts": [
            "bob@apache.org" : {
              "name": "bob@apache.org",
              "isPersonal": "true",
              "isReadOnly": "false",
              "capabilities": {...},
            }
        ],
        "primaryAccounts": {
           "urn:ietf:params:jmap:mail": "bob@apache.org"
        },
        "username": "bob@apache.org",
        "apiUrl": "https://example.com/jmap/api",
        "downloadUrl": "https://example.com/jmap/download/{accountId}/{blobId}/{name}?accept={type}",
        "uploadUrl": "https://example.com/jmap/upload/{accountId}",
        "eventSourceUrl": "https://example.com/jmap/eventsource/?types={types}&closeafter={closeafter}&ping={ping}",
        "state": null
      }
      

      Additional (compulsory?) configuration parameter:

      DOD serving the session object: using simple auth, bob is able to retrieve his session... (memory integration test)

        Attachments

          Activity

            People

            • Assignee:
              aduprat Antoine Duprat
              Reporter:
              btellier Benoit Tellier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: