-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streak Club API #1
Comments
👍 |
Can you expose the streak title in /my-streaks ? It looks like it's missing. |
As well as the "number of participants in the streak"/"number of submissions" and the frequency (ex. daily) |
Deployed |
Did you change something? I'm getting back Code=-1011 "Request failed: internal server error (500)" UserInfo=0x7f90c8c99610 {NSUnderlyingError=0x7f90c924f930 "Request failed: unacceptable content-type: text/html", when making a call to my-streaks. |
Still need "number of participants in the streak" and "number of submissions" to get the home page to parity with .com |
Still seems to be missing submissions count and users count: hosted = { |
sorry, forgot to deploy. Should be there now @khwang |
also fixed that isseu @qaisjp thanks |
The {
streak_user = {
pending = false,
created_at = "2015-07-15 03:23:56",
submissions_count = 0,
longest_streak = 0, -- can be nil
current_streak = 0 -- can be nil
},
streak = {
rate = "daily",
category = "other",
id = 291,
publish_status = "published",
host = {
username = "user-20",
id = 827
},
hour_offset = 0,
title = "streak-11",
end_date = "2015-08-04",
short_description = "short description for 11",
users_count = 0,
submissions_count = 0,
start_date = "2015-07-15"
}
} |
{
page = 1,
submissions = {
{
uploads = {
{
type = "image",
url = "/img/Mix1c2VyX2NvbnRlbnQvdXBsb2Fkcy9pbWFnZS80LnBuZw==/original/Ghfao%2B.png",
id = 4
}
},
allow_comments = true,
user = {
username = "user-3",
id = 1172
},
streaks = {
{
title = "streak-1",
id = 447
}
},
created_at = "2015-07-16 03:31:30",
likes_count = 1,
title = "Submission 1",
published = true,
streak_submission = {
submit_time = "2015-07-16 03:31:30",
late_submit = false
},
comments_count = 0,
submission_like = {
Submissions can be submitted to multiple streaks at once, so each submission has a
|
Need an API for:
The API endpoints are just suggestions
The text was updated successfully, but these errors were encountered: