Viewing File: /usr/local/cpanel/base/3rdparty/roundcube/plugins/carddav/tests/Unit/data/uiTest/db.json
{
"accounts": [
{
"id": 42,
"accountname": "Test Account",
"username": "johndoe",
"password": "The password",
"discovery_url": "https://test.example.com/",
"user_id": "105",
"last_discovered": 1672825163,
"rediscover_time": 7200,
"presetname": null,
"flags": 3
},
{
"id": 43,
"accountname": "iCloud",
"username": "",
"password": "",
"discovery_url": "https://ic.example.com/",
"user_id": "105",
"last_discovered": 12345,
"rediscover_time": 86400,
"presetname": null,
"flags": 0
},
{
"id": 44,
"accountname": "Preset Contacts",
"username": "foodoo",
"password": "bar",
"discovery_url": "https://carddav.example.com/",
"user_id": "105",
"last_discovered": 0,
"rediscover_time": 86400,
"presetname": "AdmPreset",
"flags": 0
},
{
"id": 45,
"accountname": "Hidden Preset",
"username": "foodoo",
"password": "bar",
"discovery_url": "https://admonly.example.com/",
"user_id": "105",
"last_discovered": 100,
"rediscover_time": 86400,
"presetname": "HiddenPreset",
"flags": 0
},
{
"id": 101,
"accountname": "Account of another user",
"username": "",
"password": "",
"discovery_url": "https://test.example.com/",
"user_id": "106",
"last_discovered": 12345,
"rediscover_time": 86400,
"presetname": null,
"flags": 0
}
],
"addressbooks": [
{
"id": 41,
"name": "%N, %D",
"url": "",
"flags": 49,
"last_updated": 0,
"refresh_time": 600,
"sync_token": "",
"account_id": 42
},
{
"id": 42,
"name": "Basic contacts",
"url": "https://test.example.com/books/johndoe/book42/",
"flags": 7,
"last_updated": 1672825164,
"refresh_time": 360,
"sync_token": "sync@3600",
"account_id": 42
},
{
"id": 43,
"name": "additional contacts",
"url": "https://test.example.com/books/johndoe/book43/",
"flags": 7,
"last_updated": 12345,
"refresh_time": 3600,
"sync_token": "sync@3600",
"account_id": 42
},
{
"id": 44,
"name": "Additional contacts - Inactive",
"url": "https://carddav.example.com/books/johndoe/book44/",
"flags": 6,
"last_updated": 12345,
"refresh_time": 3600,
"sync_token": "sync@3600",
"account_id": 42
},
{
"id": 51,
"name": "Public readonly contacts",
"url": "https://carddav.example.com/shared/Public/",
"flags": 25,
"last_updated": 0,
"refresh_time": 3600,
"sync_token": "sync@3600",
"account_id": 44
},
{
"id": 61,
"name": "Hidden preset addressbook",
"url": "https://admonly.example.com/books/johndoe/book61/",
"flags": 7,
"last_updated": 0,
"refresh_time": 900,
"sync_token": "sync@3600",
"account_id": 45
},
{
"id": 101,
"name": "Addressbook of another user",
"url": "https://test.example.com/books/otheruser/otherbook/",
"flags": 7,
"last_updated": 12345,
"refresh_time": 3600,
"sync_token": "sync@3600",
"account_id": 101
}
],
"contacts": [
{
"id": 50,
"abook_id": 42,
"name": "Eddard Stark",
"email": "ned@stark.example.com, warden_of_the_north@7kingdoms.com",
"firstname": "Eddard",
"surname": "Stark",
"organization": "The North",
"showas": "",
"vcard": ["file", "../syncHandlerTest/initial/nedstark.vcf"],
"etag": "etag@nedstark_1",
"uri": "/book42/nedstark.vcf",
"cuid": "736dc919-1cce-4d9f-95ea-12a2e5322efe"
},
{
"id": 51,
"abook_id": 42,
"name": "Cersei Lannister",
"email": "cersei@example.com",
"firstname": null, "surname": null, "organization": null,
"showas": "",
"vcard": ["file", "../syncHandlerTest/initial/cersei.vcf"],
"etag": "etag@cersei_1",
"uri": "/book42/cersei.vcf",
"cuid": "2e0537cf-20e8-47bb-a851-27e895a9a6e1"
},
{
"id": 52,
"abook_id": 42,
"name": "Jaime Lannister",
"email": "jamie@lannister.example.com",
"firstname": null, "surname": null, "organization": null,
"showas": "",
"vcard": ["file", "../syncHandlerTest/initial/jamie.vcf"],
"etag": "etag@jamie_1",
"uri": "/book42/jamie.vcf",
"cuid": "e76b5acb-5627-4397-bd4b-95038ec8cbbb"
},
{
"id": 53,
"abook_id": 42,
"name": "Robert Baratheon",
"email": "robert@baratheon.example.com",
"firstname": null,
"surname": null,
"organization": null,
"showas": "",
"vcard": ["file", "../syncHandlerTest/initial/robert.vcf"],
"etag": "etag@robert_1",
"uri": "/book42/robert.vcf",
"cuid": "9e1c1cf8-51f8-42b1-9314-44e34a7d148f"
},
{
"id": 54,
"abook_id": 42,
"name": "The Golden Company",
"email": "golden.company@example.com",
"firstname": "Harry",
"surname": "Strickland",
"organization": "The Golden Company",
"showas": "COMPANY",
"vcard": ["file", "../syncHandlerTest/initial/goldencomp.vcf"],
"etag": "etag@goldencomp_1",
"uri": "/book42/goldencomp.vcf",
"cuid": "97184f86-c184-4ec6-a47e-8459b7ebe1d1"
},
{
"id": 56,
"abook_id": 42,
"name": "Arya Stark",
"email": "",
"firstname": "Arya", "surname": "Stark", "organization": null,
"showas": "",
"vcard": ["file", "../syncHandlerTest/initial/aryastark.vcf"],
"etag": "etag@aryastark_1",
"uri": "/book42/aryastark.vcf",
"cuid": "804548ab-2ead-45ae-af55-c81f33c9de80"
}
],
"groups": [
{
"id": 500,
"abook_id": 42,
"name": "House Stark",
"vcard": null, "etag": null, "uri": null, "cuid": null
},
{
"id": 501,
"abook_id": 42,
"name": "House Baratheon",
"vcard": null, "etag": null, "uri": null, "cuid": null
},
{
"id": 502,
"abook_id": 42,
"name": "House Lannister",
"vcard": null, "etag": null, "uri": null, "cuid": null
},
{
"id": 503,
"abook_id": 42,
"name": "Kings",
"vcard": ["file", "../syncHandlerTest/initial/kings.vcf"],
"etag": "etag@kings_1",
"uri": "/book42/kings.vcf",
"cuid": "60EA9405-3E1F-4DA5-9140-BE46278AACCD"
},
{
"id": 504,
"abook_id": 42,
"name": "Night Watch",
"vcard": ["file", "../syncHandlerTest/initial/nightwatch.vcf"],
"etag": "etag@nightwatch_1",
"uri": "/book42/nightwatch.vcf",
"cuid": "3C6D22DA-E6B0-46F3-A56B-3C7C17DB5889"
},
{
"id": 506,
"abook_id": 42,
"name": "Faceless Men",
"vcard": ["file", "../syncHandlerTest/initial/facelessmen.vcf"],
"etag": "etag@facelessmen_1",
"uri": "/book42/facelessmen.vcf",
"cuid": "d3f26135-3db8-4c1d-bc15-b3c522f176e9"
}
],
"group_user": [
{ "group_id": 500, "contact_id": 50 },
{ "group_id": 500, "contact_id": 56 },
{ "group_id": 501, "contact_id": 51 },
{ "group_id": 501, "contact_id": 53 },
{ "group_id": 502, "contact_id": 51 },
{ "group_id": 502, "contact_id": 52 },
{ "group_id": 503, "contact_id": 51 },
{ "group_id": 503, "contact_id": 53 },
{ "group_id": 506, "contact_id": 56 }
],
"xsubtypes": [
{
"id": 1,
"abook_id": 42,
"typename": "email",
"subtype": "SpecialLabel"
}
]
}
Back to Directory
File Manager