action.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "addAttachment": {
  3. "uri": "/servlet/upload/folder/{folder}",
  4. "method": "POST",
  5. "enctype": "formData"
  6. },
  7. "addAttachment_jaxrs": {
  8. "uri": "/jaxrs/attachment",
  9. "method": "POST",
  10. "enctype": "formData"
  11. },
  12. "listAttachment": {"uri": "/jaxrs/attachment/list/folder/{id}"},
  13. "listAttachmentTop": {"uri": "/jaxrs/attachment/list/top"},
  14. "getAttachment": {"uri": "/jaxrs/attachment/{id}"},
  15. "removeAttachment": {
  16. "uri": "/jaxrs/attachment/{id}",
  17. "method": "DELETE"
  18. },
  19. "updateAttachment": {
  20. "uri": "/jaxrs/attachment/{id}",
  21. "method": "PUT"
  22. },
  23. "getAttachmentData": {"uri": "/servlet/download/{id}"},
  24. "getAttachmentStream": {"uri": "/servlet/download/{id}/stream"},
  25. "updateAttachmentData": {
  26. "uri": "/servlet/update/{id}",
  27. "method": "POST",
  28. "enctype": "formData"
  29. },
  30. "addFolder": {
  31. "uri": "/jaxrs/folder",
  32. "method": "POST"
  33. },
  34. "listFolderTop": {"uri": "/jaxrs/folder/list/top"},
  35. "getFolder": {"uri": "/jaxrs/folder/{id}"},
  36. "removeFolder": {
  37. "uri": "/jaxrs/folder/{id}",
  38. "method": "DELETE"
  39. },
  40. "updateFolder": {
  41. "uri": "/jaxrs/folder/{id}",
  42. "method": "PUT"
  43. },
  44. "listFolder": {"uri": "/jaxrs/folder/list/{id}"},
  45. "listShare": {"uri": "/jaxrs/share/list"},
  46. "listShareAttachment": {"uri": "/jaxrs/attachment/list/share/{person}"},
  47. "listEditor": {"uri": "/jaxrs/editor/list"},
  48. "listEditorAttachment": {"uri": "/jaxrs/attachment/list/editor/{person}"},
  49. "listComplex": {"uri": "/jaxrs/complex/folder/{id}"},
  50. "getBase64Code" : {"uri" : "/jaxrs/attachment/{id}/image/width/{width}/height/{height}/binary/base64"}
  51. }