Skip to content

Commit bd5adb3

Browse files
author
Tim Neems
authored
Merge pull request #66 from SeeClickFix/remove-comment-video
chore(SCF-11846): update docs to reflect removal of videos from comments
2 parents db52f0f + a68217c commit bd5adb3

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

content/v2/issues/changing_status.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ title: API v2 - Issues - Changing Status
77
* TOC
88
{:toc}
99

10-
Any authenticated user can change the status of an issue from Open to Closed and Closed to Open. Only government employees can change the status from Open to Acknowledged and Acknowledged to Closed. To check if the current user has this permission visit the <a href="/v2/users/#show-current-user">current user</a> page. Issues are Archived after being Closed for 7 days. The status can not change for Archived issues.
10+
Any authenticated user can change the status of an issue from Open to Closed and Closed to Open. Only government employees can change the status from Open to Acknowledged and Acknowledged to Closed. To check if the current user has this permission visit the <a href="/v2/users/#show-current-user">current user</a> page. Issues are Archived after being Closed for 7 days. The status can not change for Archived issues.
1111

1212
## Close an Issue
1313

14-
Changing the status of an issue is similar to adding a comment on an issue.
14+
Changing the status of an issue is similar to adding a comment on an issue.
1515

1616
POST /issues/<issue_id>/close
1717

@@ -22,7 +22,6 @@ Changing the status of an issue is similar to adding a comment on an issue.
2222
### Optional Parameters
2323

2424
* **image** - An image of the problem. Limited to 20Mb.
25-
* **video** - A video of the problem. Limited to 20Mb.
2625
* **youtube_url** - A link to a youtube video showing the problem.
2726

2827
### Example
@@ -41,21 +40,20 @@ $ curl -i \
4140

4241
### Example, with media
4342

44-
If you want to attach a image or video or both to your comment, you must use multipart form data not json. Here is an example including both:
43+
If you want to attach a image to your comment, you must use multipart form data not json.
4544

4645
<pre class="terminal" id="with_media">
4746
$ curl -i \
4847
--header "Content-Type: multipart/form-data" \
4948
--data "comment=Pothole+is+gone" \
5049
--data "image=@photo.png" \
51-
--data "video=@video.mp4" \
5250
<%= root_version_url %>/issues/1/close
5351
</pre>
5452

5553

5654
## Reopen an Issue
5755

58-
Changing the status of an issue is similar to adding a comment on an issue.
56+
Changing the status of an issue is similar to adding a comment on an issue.
5957

6058
POST /issues/<issue_id>/open
6159

@@ -66,7 +64,6 @@ Changing the status of an issue is similar to adding a comment on an issue.
6664
### Optional Parameters
6765

6866
* **image** - An image of the problem. Limited to 20Mb.
69-
* **video** - A video of the problem. Limited to 20Mb.
7067
* **youtube_url** - A link to a youtube video showing the problem.
7168

7269
### Example
@@ -87,7 +84,7 @@ Media can be attached the same way as [closing comments](#with_media)
8784

8885
## Acknowledge an Issue
8986

90-
Changing the status of an issue is similar to adding a comment on an issue.
87+
Changing the status of an issue is similar to adding a comment on an issue.
9188

9289
POST /issues/<issue_id>/acknowledge
9390

@@ -98,7 +95,6 @@ Changing the status of an issue is similar to adding a comment on an issue.
9895
### Optional Parameters
9996

10097
* **image** - An image of the problem. Limited to 20Mb.
101-
* **video** - A video of the problem. Limited to 20Mb.
10298
* **youtube_url** - A link to a youtube video showing the problem.
10399

104100
### Example

content/v2/issues/comments.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Issues can be commented on by any authenticated user.
2121
### Optional Parameters
2222

2323
* **image** - An image of the problem. Limited to 20Mb. Must be png, jpeg, or gif format.
24-
* **video** - A video of the problem. Limited to 20Mb.
2524
* **youtube_url** - A link to a youtube video showing the problem.
2625
* **device_id** - A unique identifier for the device creating the comment. This can help us debug problems.
2726

@@ -41,14 +40,13 @@ $ curl -i \
4140

4241
### Example, with media
4342

44-
If you want to attach a image or video or both to your comment, you must use multipart form data not json. Here is an example including both:
43+
If you want to attach a image to your comment, you must use multipart form data not json.
4544

4645
<pre class="terminal">
4746
$ curl -i \
4847
--header "Content-Type: multipart/form-data" \
4948
--data "comment=pools+are+nice" \
5049
--data "image=@photo.png" \
51-
--data "video=@video.mp4" \
5250
<%= root_version_url %>/issues/1/comments
5351
</pre>
5452

0 commit comments

Comments
 (0)