PageRenderTime 15ms CodeModel.GetById 7ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/plugin/PBAPI/PBAPI/data/api-defs.yml

https://bitbucket.org/chamilo/chamilo-ext-repo-photobucket-dev/
YAML | 270 lines | 250 code | 20 blank | 0 comment | 0 complexity | a39f0c5a909cee4504e23ba55dffd937 MD5 | raw file
  1  ping:
  2    _default:
  3      get    : 
  4      post   :
  5      put    :
  6      delete :
  7
  8  media:
  9    _default: 
 10      get    : 
 11        mid:  required
 12      delete : 
 13        mid:  required
 14
 15    description:
 16      get    :
 17        mid:  required
 18      post   : 
 19        mid:  required
 20        description:  required
 21      put    : 
 22        mid:  required
 23        description:  required
 24      delete : 
 25        mid:  required
 26  
 27    title:
 28      get   : 
 29        mid:  required
 30      post  : 
 31        mid:  required
 32        title:  required
 33      put   : 
 34        mid:  required
 35        title:  required
 36      delete: 
 37        mid:  required
 38  
 39    tag:
 40      get   : 
 41        mid:    required
 42        tagid:  optional
 43      post  : 
 44        mid:           required
 45        tag:           required
 46        topleftx:      required
 47        toplefty:      required
 48        bottomrightx:  required
 49        bottomrighty:  required
 50        contact:       optional
 51        tagurl:        optional
 52      put   : 
 53        mid:       required
 54        tagid:     required
 55        tag:       required
 56        topleftx:  optional
 57        toplefty:  optional
 58        bottomrightx:  optional
 59        bottomrighty:  optional
 60        contact:  optional
 61        tagurl:  optional
 62      delete:
 63        mid:  required
 64        tagid:  required
 65 
 66    resize:
 67      put: 
 68        mid:  required
 69        size:  required
 70    
 71    rotate:
 72      put: 
 73        mid:  required
 74        degrees:  required
 75
 76    meta:
 77      get : 
 78        mid:  required
 79
 80    links:
 81      get : 
 82        mid:  required
 83
 84    related:
 85      get : 
 86        mid:  required
 87        type:  optional
 88        num:  optional
 89
 90    share:
 91      post :
 92        mid:  required
 93        body:  optional
 94        email:  optional
 95  
 96  search:
 97    _default: 
 98      get : 
 99        query: optional 
100        perpage:  optional
101        page:  optional
102        secondaryperpage:  optional
103        recentFirst:  optional
104        offset:  optional
105        type:  optional
106        num:  optional
107  
108  user:
109    _default: 
110      get : 
111        uid:  required
112    tag:
113      get:
114        tagname: optional 
115        separate: optional 
116        page: optional 
117        perpage: optional 
118    search:
119      get:
120        page: optional 
121        perpage: optional 
122        type: optional 
123    uploadoption:
124      get:
125        uid: required
126      put:
127        defaultimagesize: required
128        autotagging: required
129    contact:
130      get:
131        uid: required
132    uploadoption:
133      put : 
134        uid: required
135        defaultimagesize:  required
136        autotagging:  required
137      get :
138        uid: required
139    url:
140      get:
141        uid: required
142    favorite:
143      get:
144        uid: required
145      put:
146        uid: required
147        name: optional
148        favurl: optional
149      post:
150        uid: required
151        name: required
152        favurl: required
153      delete:
154        uid: required
155        
156  album: 
157    _default:
158      get    : 
159        aid:  required
160        page:  optional
161        perpage:  optional
162        recurse:  optional
163        view:  optional
164        media:  optional
165        paginated:  optional
166      post   :
167        aid:  required
168        name:  required
169      put    : 
170        aid:  required
171        name:  required
172      delete : 
173        aid:  required
174
175    upload: 
176      post:
177        aid:  required
178        uploadfile:  required
179        type:  required
180        title:  optional
181        description:  optional
182        filename:  optional
183        type:  optional
184        scramble:  optional
185        overwrite:  optional
186
187    privacy:
188      get  : 
189        aid: required
190      post : 
191        aid: required
192        privacy: required
193        password: optional
194      put  : 
195        aid: required
196        privacy: required
197        password: optional
198        
199    vanity:
200      get  : 
201        aid: required
202
203  group: 
204    _default:
205      get    : 
206        aid:  required
207        page:  optional
208        perpage:  optional
209        recurse:  optional
210        view:  optional
211        media:  optional
212        paginated:  optional
213    upload: 
214      post:
215        aid:  required
216        uploadfile:  required
217        type:  required
218        title:  optional
219        description:  optional
220        filename:  optional
221        type:  optional
222        scramble:  optional
223        overwrite:  optional
224    privacy:
225      get  : 
226        aid: required
227      post : 
228        aid: required
229        privacy: required
230        password: optional
231      put  : 
232        aid: required
233        privacy: required
234        password: optional
235    vanity:
236      get  : 
237        aid: required
238    info:
239      get :
240        aid: required
241      post:
242        aid: required
243        title: optional
244        description: optional
245        thumburl: optional
246      put:
247        aid: required
248        title: optional
249        description: optional
250        thumburl: optional
251    contributor:
252      get:
253        aid: required
254    tag:
255      get:
256        aid: required
257        seperate: optional
258        page: optional
259        perpage: optional
260
261  login:
262    _default:
263      post:
264        uid: required
265
266  featured:
267    _default:
268      get:
269        uid: required
270