Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
api:api_applications_id_offers_id_notes [2021/11/17 16:35] – Lauri | api:api_applications_id_offers_id_notes [2025/03/28 22:45] (current) – [Response example] Lauri | ||
---|---|---|---|
Line 26: | Line 26: | ||
==== Response example ==== | ==== Response example ==== | ||
- | "Some comments" | + | == API version >= 6 == |
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | } | ||
- | ===== PUT ===== | + | == API version |
- | Set the notes to some text, overwriting the existing notes. | + | |
- | + | ||
- | ==== Syntax ==== | + | |
- | + | ||
- | PUT / | + | |
- | Host: apply.example.edu | + | |
- | Authorization: | + | |
- | + | ||
- | ==== Raw request body ==== | + | |
- | + | ||
- | Note that the comments | + | |
- | + | ||
- | "Some notes\nAnother line" | + | |
- | + | ||
- | ==== Response headers ==== | + | |
- | + | ||
- | Content-Type: | + | |
- | Content-Length: | + | |
- | + | ||
- | ==== Response codes ==== | + | |
- | + | ||
- | | '' | + | |
- | | '' | + | |
- | | '' | + | |
Line 82: | Line 77: | ||
| '' | | '' | ||
| '' | | '' | ||
- | | '' | ||
- | |||
- | |||
- | ===== DELETE ===== | ||
- | |||
- | Delete the notes on this offer. | ||
- | |||
- | ==== Syntax ==== | ||
- | |||
- | DELETE / | ||
- | Host: apply.example.edu | ||
- | Authorization: | ||
- | |||
- | |||
- | ==== Response headers ==== | ||
- | |||
- | Content-Type: | ||
- | Content-Length: | ||
- | |||
- | ==== Response codes ==== | ||
- | |||
- | | '' | ||
| '' | | '' |