jamespot-user-api 1.0.109 → 1.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +11 -11
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +14 -10
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +5 -5
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -0
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/AdminLicenseUser.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseAutocomplete.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/Category.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/ObjectListProps.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchCategoryValue.html +1 -1
- package/documentation/interfaces/SearchConfig.html +1 -1
- package/documentation/interfaces/SearchFacetModel.html +1 -1
- package/documentation/interfaces/SearchFacetValueModel.html +1 -1
- package/documentation/interfaces/SearchQuery.html +1 -1
- package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
- package/documentation/interfaces/SearchQueryOption.html +1 -1
- package/documentation/interfaces/SearchQueryResult.html +1 -1
- package/documentation/interfaces/SearchQuerySortModel.html +1 -1
- package/documentation/interfaces/SearchResultCatProps.html +1 -1
- package/documentation/interfaces/SearchResultPropsApp.html +1 -1
- package/documentation/interfaces/SearchResultPropsObject.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/Taxonomy.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +23 -7
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/article/article.d.ts +2 -2
- package/lib/src/apis/bookmark/bookmark.d.ts +1 -19
- package/lib/src/apis/community.d.ts +2 -38
- package/lib/src/apis/file.d.ts +1 -1
- package/lib/src/apis/group/group.d.ts +11 -51
- package/lib/src/apis/group/group.mock.d.ts +3 -2
- package/lib/src/apis/group/index.d.ts +1 -1
- package/lib/src/apis/index.d.ts +1 -0
- package/lib/src/apis/jamespotUserApi.d.ts +2 -0
- package/lib/src/apis/tvDisplay/tvDisplay.d.ts +12 -0
- package/lib/src/apis/tvDisplay/tvDisplay.mock.d.ts +7 -0
- package/lib/src/apis/tvDisplay/tvDisplay.test.d.ts +1 -0
- package/lib/src/apis/user/user.d.ts +5 -2
- package/lib/src/apis/user/user.mock.d.ts +1 -0
- package/lib/src/types/comment.d.ts +11 -0
- package/lib/src/types/file.d.ts +5 -0
- package/lib/src/{apis/group/group.types.d.ts → types/group.d.ts} +3 -4
- package/lib/src/types/model.d.ts +1 -1
- package/lib/src/types/tvDisplay.d.ts +61 -21
- package/lib/src/types/uri.d.ts +19 -0
- package/lib/src/types/user.d.ts +2 -0
- package/lib/src/types/utils.d.ts +6 -6
- package/lib/src/util/Test.d.ts +4 -20
- package/lib/src/util/ensure.d.ts +7 -1
- package/lib/src/util/images.d.ts +68 -0
- package/lib/src/util/images.test.d.ts +1 -0
- package/lib/src/util/index.d.ts +4 -0
- package/lib/src/util/network.d.ts +1 -1
- package/lib/src/util/string.d.ts +3 -0
- package/lib/src/util/taxonomy.d.ts +2 -0
- package/lib/src/util/taxonomy.test.d.ts +1 -0
- package/lib/src/util/uri.d.ts +2 -0
- package/lib/src/util/uri.test.d.ts +1 -0
- package/package.json +1 -1
- package/phpunitMock/autocompleteSpot-a.json +50 -0
- package/phpunitMock/objectListJamespotUserList-rawList.json +191 -0
- package/phpunitMock/spotGet-default.json +5 -6
- package/phpunitMock/spotGetProperties-default.json +1 -1
- package/phpunitMock/tvDisplayGetChannel-dynamic.json +166 -0
- package/phpunitMock/tvDisplayGetChannel-slideshow.json +86 -0
- package/phpunitMock/tvDisplayGetConfigureChannel-dynamic.json +163 -0
- package/phpunitMock/tvDisplayGetConfigureChannel-slideshow.json +83 -0
- package/lib/src/types/spot.d.ts +0 -5
package/lib/src/util/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare class Network {
|
|
|
30
30
|
postFile(body: FormData): Promise<ApiWrapper<FileResponse, BaseMessages>>;
|
|
31
31
|
postCSRF<T, U = BaseMessages>(body: OF): Promise<ApiWrapper<T, U>>;
|
|
32
32
|
postToken<T, U = BaseMessages>(body: OF): Promise<ApiWrapper<T, U>>;
|
|
33
|
-
maybePostToken<T, U = BaseMessages>(body:
|
|
33
|
+
maybePostToken<T, U = BaseMessages, P extends MaybeWithToken<OF> = MaybeWithToken<OF>>(body: P): Promise<ApiWrapper<T, U>>;
|
|
34
34
|
token(): Promise<ApiWrapper<string>>;
|
|
35
35
|
tokenCSRF(): Promise<ApiWrapper<string>>;
|
|
36
36
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function suffixIfDoesNotExist(str: string | undefined, suffix: string): string | undefined;
|
|
2
|
+
export declare function removeIfStartsWith(str: string | undefined, prefix: string): string | undefined;
|
|
3
|
+
export declare function padStartTwoDigits(val: string | number): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "autocomplete",
|
|
3
|
+
"f": "spot",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": [
|
|
7
|
+
{
|
|
8
|
+
"id": "spot/5",
|
|
9
|
+
"idspot": "5",
|
|
10
|
+
"uri": "spot/5",
|
|
11
|
+
"shortUri": "s5",
|
|
12
|
+
"title": "Spot 1 [updated]",
|
|
13
|
+
"name": "Spot 1 [updated]",
|
|
14
|
+
"mainType": "spot",
|
|
15
|
+
"type": "spot",
|
|
16
|
+
"label": "Groupe",
|
|
17
|
+
"cssClass": "group",
|
|
18
|
+
"cssColor": "#e34d55",
|
|
19
|
+
"class": "user-selector-spot"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "spot/6",
|
|
23
|
+
"idspot": "6",
|
|
24
|
+
"uri": "spot/6",
|
|
25
|
+
"shortUri": "s6",
|
|
26
|
+
"title": "Spot 2 [updated]",
|
|
27
|
+
"name": "Spot 2 [updated]",
|
|
28
|
+
"mainType": "spot",
|
|
29
|
+
"type": "spot",
|
|
30
|
+
"label": "Groupe",
|
|
31
|
+
"cssClass": "group",
|
|
32
|
+
"cssColor": "#e34d55",
|
|
33
|
+
"class": "user-selector-spot"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "spot/22",
|
|
37
|
+
"idspot": "22",
|
|
38
|
+
"uri": "spot/22",
|
|
39
|
+
"shortUri": "s22",
|
|
40
|
+
"title": "Groupe test A",
|
|
41
|
+
"name": "Groupe test A",
|
|
42
|
+
"mainType": "spot",
|
|
43
|
+
"type": "spot",
|
|
44
|
+
"label": "Groupe",
|
|
45
|
+
"cssClass": "group",
|
|
46
|
+
"cssColor": "#e34d55",
|
|
47
|
+
"class": "user-selector-spot"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "objectList",
|
|
3
|
+
"f": "jamespotUserList",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"limit": 25,
|
|
8
|
+
"page": 1,
|
|
9
|
+
"cnt": 11,
|
|
10
|
+
"data": [
|
|
11
|
+
{
|
|
12
|
+
"id": 12,
|
|
13
|
+
"mainType": "user",
|
|
14
|
+
"type": "user",
|
|
15
|
+
"uri": "user/12",
|
|
16
|
+
"dateCreation": "2019-07-09 15:55:29",
|
|
17
|
+
"dateModified": "2019-07-09 15:55:31",
|
|
18
|
+
"title": "InactiveLimited1",
|
|
19
|
+
"_url": "/user/12",
|
|
20
|
+
"level": 3,
|
|
21
|
+
"firstname": "InactiveLimited",
|
|
22
|
+
"lastname": "Un",
|
|
23
|
+
"company": "",
|
|
24
|
+
"mail": "inactiveLimited1@jamespot.com",
|
|
25
|
+
"active": 0
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": 11,
|
|
29
|
+
"mainType": "user",
|
|
30
|
+
"type": "user",
|
|
31
|
+
"uri": "user/11",
|
|
32
|
+
"dateCreation": "2019-07-09 15:54:59",
|
|
33
|
+
"dateModified": "2019-07-09 15:55:08",
|
|
34
|
+
"title": "InactiveUser1",
|
|
35
|
+
"_url": "/user/11",
|
|
36
|
+
"level": 5,
|
|
37
|
+
"firstname": "InactiveUser",
|
|
38
|
+
"lastname": "Un",
|
|
39
|
+
"company": "",
|
|
40
|
+
"mail": "inactiveUser1@jamespot.com",
|
|
41
|
+
"active": 0
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": 10,
|
|
45
|
+
"mainType": "user",
|
|
46
|
+
"type": "user",
|
|
47
|
+
"uri": "user/10",
|
|
48
|
+
"dateCreation": "2019-07-09 15:54:22",
|
|
49
|
+
"dateModified": "2019-07-09 15:55:05",
|
|
50
|
+
"title": "InactiveAdmin1",
|
|
51
|
+
"_url": "/user/10",
|
|
52
|
+
"level": 9,
|
|
53
|
+
"firstname": "Un",
|
|
54
|
+
"lastname": "InactiveAdmin",
|
|
55
|
+
"company": "",
|
|
56
|
+
"mail": "inactiveAdmin1@jamespot.com",
|
|
57
|
+
"active": 0
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": 9,
|
|
61
|
+
"mainType": "user",
|
|
62
|
+
"type": "user",
|
|
63
|
+
"uri": "user/9",
|
|
64
|
+
"dateCreation": "2019-07-09 15:50:52",
|
|
65
|
+
"dateModified": "2019-07-09 15:52:09",
|
|
66
|
+
"title": "Limited2",
|
|
67
|
+
"_url": "/user/9",
|
|
68
|
+
"level": 3,
|
|
69
|
+
"firstname": "Deux",
|
|
70
|
+
"lastname": "Limited",
|
|
71
|
+
"company": "",
|
|
72
|
+
"mail": "limited2@jamespot.com",
|
|
73
|
+
"active": 1
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": 8,
|
|
77
|
+
"mainType": "user",
|
|
78
|
+
"type": "user",
|
|
79
|
+
"uri": "user/8",
|
|
80
|
+
"dateCreation": "2019-07-09 15:50:15",
|
|
81
|
+
"dateModified": "2019-07-09 15:52:00",
|
|
82
|
+
"title": "Limited1",
|
|
83
|
+
"_url": "/user/8",
|
|
84
|
+
"level": 3,
|
|
85
|
+
"firstname": "Un",
|
|
86
|
+
"lastname": "Limited",
|
|
87
|
+
"company": "",
|
|
88
|
+
"mail": "limited1@jamespot.com",
|
|
89
|
+
"active": 1
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": 7,
|
|
93
|
+
"mainType": "user",
|
|
94
|
+
"type": "user",
|
|
95
|
+
"uri": "user/7",
|
|
96
|
+
"dateCreation": "2019-07-09 15:49:25",
|
|
97
|
+
"dateModified": "2019-07-09 15:51:50",
|
|
98
|
+
"title": "User2",
|
|
99
|
+
"_url": "/user/7",
|
|
100
|
+
"level": 5,
|
|
101
|
+
"firstname": "Deux",
|
|
102
|
+
"lastname": "User",
|
|
103
|
+
"company": "",
|
|
104
|
+
"mail": "user2@jamespot.com",
|
|
105
|
+
"active": 1
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": 6,
|
|
109
|
+
"mainType": "user",
|
|
110
|
+
"type": "user",
|
|
111
|
+
"uri": "user/6",
|
|
112
|
+
"dateCreation": "2019-07-09 15:49:06",
|
|
113
|
+
"dateModified": "2019-07-09 15:51:35",
|
|
114
|
+
"title": "User1",
|
|
115
|
+
"_url": "/user/6",
|
|
116
|
+
"level": 5,
|
|
117
|
+
"firstname": "Un",
|
|
118
|
+
"lastname": "User",
|
|
119
|
+
"company": "",
|
|
120
|
+
"mail": "user1@jamespot.com",
|
|
121
|
+
"active": 1
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"id": 5,
|
|
125
|
+
"mainType": "user",
|
|
126
|
+
"type": "user",
|
|
127
|
+
"uri": "user/5",
|
|
128
|
+
"dateCreation": "2019-07-09 15:48:45",
|
|
129
|
+
"dateModified": "2019-07-09 15:51:16",
|
|
130
|
+
"title": "Admin2",
|
|
131
|
+
"_url": "/user/5",
|
|
132
|
+
"level": 9,
|
|
133
|
+
"firstname": "Deux",
|
|
134
|
+
"lastname": "Admin",
|
|
135
|
+
"company": "",
|
|
136
|
+
"mail": "admin2@jamespot.com",
|
|
137
|
+
"active": 1
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": 4,
|
|
141
|
+
"mainType": "user",
|
|
142
|
+
"type": "user",
|
|
143
|
+
"uri": "user/4",
|
|
144
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
145
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
146
|
+
"title": "Admin1",
|
|
147
|
+
"_url": "/user/4",
|
|
148
|
+
"level": 9,
|
|
149
|
+
"firstname": "Un",
|
|
150
|
+
"lastname": "Admin",
|
|
151
|
+
"company": "",
|
|
152
|
+
"mail": "admin1@jamespot.com",
|
|
153
|
+
"active": 1
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": 2,
|
|
157
|
+
"mainType": "user",
|
|
158
|
+
"type": "user",
|
|
159
|
+
"uri": "user/2",
|
|
160
|
+
"dateCreation": "2019-04-01 15:59:41",
|
|
161
|
+
"dateModified": "2019-07-19 09:40:03",
|
|
162
|
+
"title": "Browser.Stack",
|
|
163
|
+
"_url": "/user/2",
|
|
164
|
+
"level": 9,
|
|
165
|
+
"firstname": "Browser",
|
|
166
|
+
"lastname": "Stack",
|
|
167
|
+
"company": "",
|
|
168
|
+
"mail": "browserstack@jamespot.com",
|
|
169
|
+
"active": 1
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": 1,
|
|
173
|
+
"mainType": "user",
|
|
174
|
+
"type": "user",
|
|
175
|
+
"uri": "user/1",
|
|
176
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
177
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
178
|
+
"title": "AdminJenkins",
|
|
179
|
+
"_url": "/user/1",
|
|
180
|
+
"level": 9,
|
|
181
|
+
"firstname": "Admin",
|
|
182
|
+
"lastname": "Jenkins",
|
|
183
|
+
"company": "",
|
|
184
|
+
"mail": "admin.jenkins@jamespot.com",
|
|
185
|
+
"active": 1
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"facets": [],
|
|
189
|
+
"idQuery": 1690291094
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -4,16 +4,15 @@
|
|
|
4
4
|
"error": 0,
|
|
5
5
|
"messages": [],
|
|
6
6
|
"result": {
|
|
7
|
-
"id":
|
|
7
|
+
"id": 1,
|
|
8
8
|
"mainType": "spot",
|
|
9
9
|
"type": "spot",
|
|
10
|
-
"uri": "spot/
|
|
11
|
-
"dateCreation": "2019-07-
|
|
12
|
-
"dateModified": "
|
|
10
|
+
"uri": "spot/1",
|
|
11
|
+
"dateCreation": "2019-07-18 18:36:24",
|
|
12
|
+
"dateModified": "2019-07-18 18:36:24",
|
|
13
13
|
"title": "Groupe public",
|
|
14
|
-
"_url": "/group/
|
|
14
|
+
"_url": "/group/1",
|
|
15
15
|
"privacy": 1,
|
|
16
|
-
"idCategory": 1,
|
|
17
16
|
"category": "1",
|
|
18
17
|
"description": "",
|
|
19
18
|
"edito": null,
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "tvDisplay",
|
|
3
|
+
"f": "getChannel",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"interval": 60,
|
|
8
|
+
"channel": {
|
|
9
|
+
"id": 168,
|
|
10
|
+
"mainType": "article",
|
|
11
|
+
"type": "tvDisplayChannel",
|
|
12
|
+
"uri": "tvDisplayChannel/168",
|
|
13
|
+
"dateCreation": "2023-07-31 11:12:03",
|
|
14
|
+
"dateModified": "2023-07-31 11:12:03",
|
|
15
|
+
"title": "TV Channel dynamic",
|
|
16
|
+
"_url": "/ng/rr/tv-display",
|
|
17
|
+
"_right": {
|
|
18
|
+
"create": true,
|
|
19
|
+
"read": true,
|
|
20
|
+
"publish": true,
|
|
21
|
+
"administrate": true,
|
|
22
|
+
"update": true,
|
|
23
|
+
"delete": true,
|
|
24
|
+
"comment": false,
|
|
25
|
+
"member": true
|
|
26
|
+
},
|
|
27
|
+
"_user": {
|
|
28
|
+
"id": 4,
|
|
29
|
+
"mainType": "user",
|
|
30
|
+
"type": "user",
|
|
31
|
+
"uri": "user/4",
|
|
32
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
33
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
34
|
+
"title": "Admin1",
|
|
35
|
+
"_url": "/user/4",
|
|
36
|
+
"level": 9
|
|
37
|
+
},
|
|
38
|
+
"tvChannelType": "DYNAMIC",
|
|
39
|
+
"tvChannelBackgroundColor": "#FF0000",
|
|
40
|
+
"tvChannelNumImages": 0,
|
|
41
|
+
"tvChannelGroupTarget": {
|
|
42
|
+
"id": 1,
|
|
43
|
+
"mainType": "spot",
|
|
44
|
+
"type": "spot",
|
|
45
|
+
"uri": "spot/1",
|
|
46
|
+
"dateCreation": "2019-07-18 18:36:24",
|
|
47
|
+
"dateModified": "2023-07-31 11:12:04",
|
|
48
|
+
"title": "Groupe public",
|
|
49
|
+
"_url": "/group/1",
|
|
50
|
+
"privacy": 1,
|
|
51
|
+
"category": "1"
|
|
52
|
+
},
|
|
53
|
+
"tvChannelConfig": { "contents": [], "key": "64c77ae3d247e" },
|
|
54
|
+
"_extend": {
|
|
55
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL3R2RGlzcGxheUNoYW5uZWxcLzE2OC5wbmcifQ.ZBwfoMazbEWGpKidSLYvIKHfgsRJUQ1QyOoOE5X_K-8",
|
|
56
|
+
"articles": [
|
|
57
|
+
{
|
|
58
|
+
"id": 169,
|
|
59
|
+
"mainType": "article",
|
|
60
|
+
"type": "mpArticle",
|
|
61
|
+
"uri": "mpArticle/169",
|
|
62
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
63
|
+
"dateModified": "2023-07-31 11:12:04",
|
|
64
|
+
"title": "a-2",
|
|
65
|
+
"_url": "/article/169",
|
|
66
|
+
"_right": {
|
|
67
|
+
"create": true,
|
|
68
|
+
"read": true,
|
|
69
|
+
"publish": false,
|
|
70
|
+
"administrate": true,
|
|
71
|
+
"update": true,
|
|
72
|
+
"delete": true,
|
|
73
|
+
"comment": true,
|
|
74
|
+
"member": true
|
|
75
|
+
},
|
|
76
|
+
"description": "<div class='content-html'>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>",
|
|
77
|
+
"_user": {
|
|
78
|
+
"id": 4,
|
|
79
|
+
"mainType": "user",
|
|
80
|
+
"type": "user",
|
|
81
|
+
"uri": "user/4",
|
|
82
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
83
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
84
|
+
"title": "Admin1",
|
|
85
|
+
"_url": "/user/4",
|
|
86
|
+
"level": 9
|
|
87
|
+
},
|
|
88
|
+
"_extend": {
|
|
89
|
+
"descriptionSecure": "<div class=\"content-html\">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>\n",
|
|
90
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoib3JpZ2luYWxcL21wQXJ0aWNsZVwvMTY5LnBuZyJ9.QmhlsUg2s41MxGDSQFt49NNQYWCaMCepRaNElYFTEA8",
|
|
91
|
+
"comments": [
|
|
92
|
+
{
|
|
93
|
+
"id": 13,
|
|
94
|
+
"mainType": "comment",
|
|
95
|
+
"type": "comment",
|
|
96
|
+
"uri": "comment/13",
|
|
97
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
98
|
+
"dateModified": null,
|
|
99
|
+
"description": "<div class='content-html'>Phasellus sodales augue vitae sapien tempus tristique.</div>",
|
|
100
|
+
"_user": {
|
|
101
|
+
"id": 4,
|
|
102
|
+
"mainType": "user",
|
|
103
|
+
"type": "user",
|
|
104
|
+
"uri": "user/4",
|
|
105
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
106
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
107
|
+
"title": "Admin1",
|
|
108
|
+
"_url": "/user/4",
|
|
109
|
+
"level": 9
|
|
110
|
+
},
|
|
111
|
+
"_right": {
|
|
112
|
+
"create": true,
|
|
113
|
+
"read": true,
|
|
114
|
+
"publish": true,
|
|
115
|
+
"administrate": true,
|
|
116
|
+
"update": true,
|
|
117
|
+
"delete": true,
|
|
118
|
+
"comment": true,
|
|
119
|
+
"member": true
|
|
120
|
+
},
|
|
121
|
+
"_extend": {
|
|
122
|
+
"userImageSecureUrl": "http://jenkins-preprod.jamespot.pro/imagesecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoiNTAweDUwMFwvdXNlclwvNC5wbmcifQ.fpOAxsrCyDTyPQnIJaGcU6ty-HZOFl2M9ZfszPcHy-g",
|
|
123
|
+
"descriptionSecure": "<div class=\"content-html\">Phasellus sodales augue vitae sapien tempus tristique.</div>\n"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": 2,
|
|
131
|
+
"mainType": "article",
|
|
132
|
+
"type": "mpArticle",
|
|
133
|
+
"uri": "mpArticle/2",
|
|
134
|
+
"dateCreation": "2019-07-19 09:36:25",
|
|
135
|
+
"dateModified": "2019-07-19 09:36:25",
|
|
136
|
+
"title": "Article groupe public",
|
|
137
|
+
"_url": "/article/2",
|
|
138
|
+
"_right": {
|
|
139
|
+
"create": true,
|
|
140
|
+
"read": true,
|
|
141
|
+
"publish": false,
|
|
142
|
+
"administrate": true,
|
|
143
|
+
"update": true,
|
|
144
|
+
"delete": true,
|
|
145
|
+
"comment": false,
|
|
146
|
+
"member": true
|
|
147
|
+
},
|
|
148
|
+
"description": "<div class='content-html'></div>",
|
|
149
|
+
"_user": {
|
|
150
|
+
"id": 1,
|
|
151
|
+
"mainType": "user",
|
|
152
|
+
"type": "user",
|
|
153
|
+
"uri": "user/1",
|
|
154
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
155
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
156
|
+
"title": "AdminJenkins",
|
|
157
|
+
"_url": "/user/1",
|
|
158
|
+
"level": 9
|
|
159
|
+
},
|
|
160
|
+
"_extend": { "descriptionSecure": "<div class=\"content-html\"></div>\n", "comments": [] }
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "tvDisplay",
|
|
3
|
+
"f": "getChannel",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"interval": 60,
|
|
8
|
+
"channel": {
|
|
9
|
+
"id": 171,
|
|
10
|
+
"mainType": "article",
|
|
11
|
+
"type": "tvDisplayChannel",
|
|
12
|
+
"uri": "tvDisplayChannel/171",
|
|
13
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
14
|
+
"dateModified": "2023-07-31 11:12:04",
|
|
15
|
+
"title": "TV Channel slideshow",
|
|
16
|
+
"_url": "/ng/rr/tv-display",
|
|
17
|
+
"_right": {
|
|
18
|
+
"create": true,
|
|
19
|
+
"read": true,
|
|
20
|
+
"publish": true,
|
|
21
|
+
"administrate": true,
|
|
22
|
+
"update": true,
|
|
23
|
+
"delete": true,
|
|
24
|
+
"comment": false,
|
|
25
|
+
"member": true
|
|
26
|
+
},
|
|
27
|
+
"_user": {
|
|
28
|
+
"id": 4,
|
|
29
|
+
"mainType": "user",
|
|
30
|
+
"type": "user",
|
|
31
|
+
"uri": "user/4",
|
|
32
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
33
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
34
|
+
"title": "Admin1",
|
|
35
|
+
"_url": "/user/4",
|
|
36
|
+
"level": 9
|
|
37
|
+
},
|
|
38
|
+
"tvChannelType": "SLIDESHOW",
|
|
39
|
+
"tvChannelBackgroundColor": "#9000DA",
|
|
40
|
+
"tvChannelNumImages": 2,
|
|
41
|
+
"tvChannelGroupTarget": {
|
|
42
|
+
"id": 1,
|
|
43
|
+
"mainType": "spot",
|
|
44
|
+
"type": "spot",
|
|
45
|
+
"uri": "spot/1",
|
|
46
|
+
"dateCreation": "2019-07-18 18:36:24",
|
|
47
|
+
"dateModified": "2023-07-31 11:12:04",
|
|
48
|
+
"title": "Groupe public",
|
|
49
|
+
"_url": "/group/1",
|
|
50
|
+
"privacy": 1,
|
|
51
|
+
"category": "1"
|
|
52
|
+
},
|
|
53
|
+
"tvChannelConfig": { "contents": [], "key": "64c77ae48a2d0" },
|
|
54
|
+
"_extend": {
|
|
55
|
+
"attachments": [
|
|
56
|
+
{
|
|
57
|
+
"id": 22,
|
|
58
|
+
"mainType": "fileArticle",
|
|
59
|
+
"type": "fileArticle",
|
|
60
|
+
"uri": "fileArticle/22",
|
|
61
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
62
|
+
"dateModified": null,
|
|
63
|
+
"title": "imgTest.jpg",
|
|
64
|
+
"_url": "/ng/rr/tv-display",
|
|
65
|
+
"_extend": {
|
|
66
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.nhy6AHgSUJ25GW_zvg3Ng8efxxErEOaHZIbAhK8qqZ0"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": 23,
|
|
71
|
+
"mainType": "fileArticle",
|
|
72
|
+
"type": "fileArticle",
|
|
73
|
+
"uri": "fileArticle/23",
|
|
74
|
+
"dateCreation": "2023-07-31 11:12:04",
|
|
75
|
+
"dateModified": null,
|
|
76
|
+
"title": "imgTest.jpg",
|
|
77
|
+
"_url": "/ng/rr/tv-display",
|
|
78
|
+
"_extend": {
|
|
79
|
+
"imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyMyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.5UNtRkFJvc2hTkiJ7i7UFt-8WD-tTw0JFOZMQI9ROpo"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|