This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dev:sapi:get_item_info [2022/04/20 18:00] – [JSON OUTPUT (content-type: text/plain)] vikki | dev:sapi:get_item_info [2022/04/20 18:08] (current) – vikki | ||
---|---|---|---|
Line 8: | Line 8: | ||
**Description: | **Description: | ||
- | **INPUT (via GET or POST)** | + | ---- |
+ | |||
+ | ===== INPUT (via GET or POST) ===== | ||
Mandatory parameters are: **sid, path**\\ | Mandatory parameters are: **sid, path**\\ | ||
Optional parameters are: **fields, ofmt** | Optional parameters are: **fields, ofmt** | ||
- | ---- | ||
==== sid ==== | ==== sid ==== | ||
Session id of the login user. [mandatory] | Session id of the login user. [mandatory] | ||
- | |||
- | ---- | ||
==== path ==== | ==== path ==== | ||
Line 29: | Line 28: | ||
* < | * < | ||
- | ---- | ||
==== fields ==== | ==== fields ==== | ||
Line 50: | Line 48: | ||
* **lock_owner** is the lock owner for a lock placed on the item. Value is in the form of and " | * **lock_owner** is the lock owner for a lock placed on the item. Value is in the form of and " | ||
* **ucar** is the JSON object the represents the UCAR settings associated with this item. Currently only applicable to folders in Company Share and Company HomePage. For folders elsewhere and regular files, the value returned is empty. An example of such a JSON object is documented in an example below, as the value of the property " | * **ucar** is the JSON object the represents the UCAR settings associated with this item. Currently only applicable to folders in Company Share and Company HomePage. For folders elsewhere and regular files, the value returned is empty. An example of such a JSON object is documented in an example below, as the value of the property " | ||
- | |||
- | ---- | ||
==== ofmt ==== | ==== ofmt ==== | ||
Line 64: | Line 60: | ||
---- | ---- | ||
- | ==== Legacy " | + | ===== Legacy " |
Successful return: | Successful return: | ||
Line 84: | Line 80: | ||
---- | ---- | ||
- | ==== JSON OUTPUT (content-type: | + | ===== JSON OUTPUT (content-type: |
Successful return: | Successful return: |