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

Commit

Permalink
Fix: made JSON valid-ish.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Aug 17, 2015
1 parent d366ad5 commit 7610d43
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
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,
}

Expand Down
8 changes: 4 additions & 4 deletions types/file.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ 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", ...],
"initial_comment": {...},
"channels": ["C024BE7LT", ],
"groups": ["G12345", ],
"initial_comment": {},
"num_stars": 7,
"is_starred": true
}
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

0 comments on commit 7610d43

Please sign in to comment.