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

From version 8.1
edited by mikef
on 2017/04/05 14:01
Change comment: There is no comment for this version
To version 9.1
edited by omar
on 2017/04/11 16:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.mikef
1 +XWiki.omar
Content
... ... @@ -1615,6 +1615,9 @@
1615 1615  
1616 1616  (% class="western" %)
1617 1617  {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”}
1618 +
1619 +(% class="western" %)
1620 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]}
1618 1618  )))
1619 1619  
1620 1620  (% class="wrapped" %)
... ... @@ -1673,6 +1673,9 @@
1673 1673  
1674 1674  (% class="western" %)
1675 1675  {"Name":"Test123","Description":Testss","Type":3,"Value":”/digital/”}
1679 +
1680 +(% class="western" %)
1681 +{"Name":"Test123","Description":Testss","Type":3,"Value":[”/digital/”, "/article/"]}
1676 1676  )))
1677 1677  
1678 1678  (% class="wrapped" %)
... ... @@ -2956,14 +2956,30 @@
2956 2956  )))|(((
2957 2957  (% class="western" %)
2958 2958  String
2965 +
2966 +(% class="western" %)
2967 +or
2968 +
2969 +(% class="western" %)
2970 +Array
2959 2959  )))|(((
2960 2960  (% class="western" %)
2961 -Value of Resource Type.
2973 +Value of Resource Type:
2962 2962  
2963 2963  (% class="western" %)
2964 -Example : if the Type sent is 3 then Value would be **/digital/**
2976 +When requesting a resource (GET), you should expect a string If there is only one value
2965 2965  
2966 2966  (% class="western" %)
2979 +and an array is there is multiples. For creating/updating a resource (POST/PUT), you should always send an array.
2980 +
2981 +(% class="western" %)
2982 +Example :
2983 +
2984 +(% class="western" %)
2985 +if the Type sent is 3 with one value then Value would be "**/digital/**"**
2986 +**if the Type sent is 3 with two values then Value would be ["**/digital/**", "**/articles/**"]
2987 +
2988 +(% class="western" %)
2967 2967  For Function type resource leave it blank.
2968 2968  )))
2969 2969  |(((
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -3539014
1 +3539016
url
... ... @@ -1,1 +1,1 @@
1 -https://info.onecount.net//wiki/spaces/OD/pages/3539014/ONEcount API Documentation
1 +https://info.onecount.net//wiki/spaces/OD/pages/3539016/ONEcount API Documentation