Last modified by Admin on 2025/06/27 12:14

From version 9.1
edited by omar
on 2017/04/11 16:37
Change comment: There is no comment for this version
To version 10.1
edited by mikef
on 2017/04/12 18:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.omar
1 +XWiki.mikef
Content
... ... @@ -2973,16 +2973,16 @@
2973 2973  Value of Resource Type:
2974 2974  
2975 2975  (% class="western" %)
2976 -When requesting a resource (GET), you should expect a string If there is only one value
2976 +When requesting a resource (GET), you should expect a string if there is only one value. If there are multiple values, you should expect an array.
2977 2977  
2978 2978  (% class="western" %)
2979 -and an array is there is multiples. For creating/updating a resource (POST/PUT), you should always send an array.
2979 +For creating/updating a resource (POST/PUT), it is highly recommended to send an array - this will handle single and multiple value requests.
2980 2980  
2981 2981  (% class="western" %)
2982 2982  Example :
2983 2983  
2984 2984  (% class="western" %)
2985 -if the Type sent is 3 with one value then Value would be "**/digital/**"**
2985 +if the Type sent is 3 with one value then Value would be "**/digital/**" or **["/digital"/].** We recommend using the second approach of **["/digital"/].** **
2986 2986  **if the Type sent is 3 with two values then Value would be ["**/digital/**", "**/articles/**"]
2987 2987  
2988 2988  (% class="western" %)
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -3539016
1 +3539018
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/3539016/ONEcount API Documentation
1 +https://info.onecount.net//wiki/spaces/OD/pages/3539018/ONEcount API Documentation