Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Fix: made JSON valid-ish. #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions types/channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ A channel object contains information about a team channel.
"value": "This channel is for fun",
"creator": "U024BE7LH",
"last_set": 1360782804
}
},

"is_member": true,

"last_read": "1401383885.000061",
"latest": { … }
"latest": { … },
"unread_count": 0,
"unread_count_display": 0
}
Expand Down
12 changes: 6 additions & 6 deletions types/file.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ A file object contains information about a file shared with a team.
"permalink" : "https:\/\/tinyspeck.slack.com\/files\/cal\/F024BERPE\/1.png",
"edit_link" : "https:\/\/tinyspeck.slack.com\/files\/cal\/F024BERPE\/1.png/edit",
"preview" : "<!DOCTYPE html>\n<html>\n<meta charset='utf-8'>",
"preview_highlight" : <div class=\"sssh-code\"><div class=\"sssh-line\"><pre><!DOCTYPE html...",
"preview_highlight" : "<div class=\"sssh-code\"><div class=\"sssh-line\"><pre><!DOCTYPE html",
"lines" : 123,
"lines_more": 118,

"is_public": true,
"public_url_shared": false,
"channels": ["C024BE7LT", ...],
"groups": ["G12345", ...],
"ims": ["D12345", ...],
"initial_comment": {...},
"channels": ["C024BE7LT", ],
"groups": ["G12345", ],
"ims": ["D12345", ],
"initial_comment": {},
"num_stars": 7,
"is_starred": true,
"pinned_to": ["C024BE7LT", ...],
"pinned_to": ["C024BE7LT", ],
"reactions": [
{
"name": "astonished",
Expand Down
10 changes: 5 additions & 5 deletions types/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ A user object contains information about a team member.
"email": "[email protected]",
"skype": "my-skype-name",
"phone": "+1 (123) 456 7890",
"image_24": "https:\/\/...",
"image_32": "https:\/\/...",
"image_48": "https:\/\/...",
"image_72": "https:\/\/...",
"image_192": "https:\/\/..."
"image_24": "https:\/\/",
"image_32": "https:\/\/",
"image_48": "https:\/\/",
"image_72": "https:\/\/",
"image_192": "https:\/\/"
},
"is_admin": true,
"is_owner": true,
Expand Down