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 [2024/07/30 11:50] – external edit 127.0.0.1 | api:api_applications_id_offers_id_notes [2025/05/26 13:32] (current) – Lauri | ||
---|---|---|---|
Line 25: | Line 25: | ||
==== Response example ==== | ==== Response example ==== | ||
+ | |||
+ | == API version >= 6 == | ||
+ | |||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | } | ||
+ | |||
+ | == API version | ||
"Some comments" | "Some comments" | ||
- | ===== PUT ===== | + | ===== POST ===== |
- | Set the notes to some text, overwriting the existing notes. | + | Create a new offer note. |
==== Syntax ==== | ==== Syntax ==== | ||
- | | + | |
Host: apply.example.edu | Host: apply.example.edu | ||
Authorization: | Authorization: | ||
- | ==== Raw request body ==== | + | ==== Parameters |
- | Note that the comments have to be a proper JSON string token. In a JSON string only space is allowed per the specification, newlines, for example, have to be encoded. | + | ^ Name ^ ^ Description ^ Notes ^ |
+ | | '' | ||
+ | | '' | ||
- | | + | |
- | + | ||
- | ==== Response headers ==== | + | |
- | + | ||
- | Content-Type: | + | |
- | Content-Length: 0 | + | |
- | + | ||
- | ==== Response codes ==== | + | |
- | + | ||
- | | '' | + | |
- | | '' | + | |
- | | '' | + | |
- | + | ||
- | + | ||
- | ===== PATCH ===== | + | |
- | + | ||
- | Append some text to existing offer notes, preserving what is already there. | + | |
- | + | ||
- | ==== Syntax ==== | + | |
- | + | ||
- | PATCH /api/applications/ | + | |
- | Host: apply.example.edu | + | |
- | Authorization: | + | |
==== Raw request body ==== | ==== Raw request body ==== |