Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Moondragon #240

Merged
merged 10 commits into from Feb 19, 2015
Merged

Moondragon #240

merged 10 commits into from Feb 19, 2015

Conversation

joshaber
Copy link
Contributor

NSString *previewContentType = [NSString stringWithFormat:@"application/vnd.github.%@+json", OCTClientPreviewAPIVersion];
NSString *baseContentType = @"application/vnd.github.%@+json";
NSString *stableContentType = [NSString stringWithFormat:baseContentType, OCTClientAPIVersion];
NSString *previewContentType = [NSString stringWithFormat:baseContentType, OCTClientPreviewAPIVersion];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't look like it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do, apparently still in preview.

@jspahrsummers jspahrsummers self-assigned this Feb 19, 2015
@@ -16,7 +16,7 @@
@implementation OCTClient (Organizations)

- (RACSignal *)fetchUserOrganizations {
return [[self enqueueUserRequestWithMethod:@"GET" relativePath:@"/orgs" parameters:nil resultClass:OCTOrganization.class] oct_parsedResults];
return [[self enqueueUserRequestWithMethod:@"GET" relativePath:@"/user/orgs" parameters:nil resultClass:OCTOrganization.class] oct_parsedResults];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting 404s, because “user requests” already have this prefix.

@joshaber joshaber changed the title [WIP] Moondragon Moondragon Feb 19, 2015
@joshaber
Copy link
Contributor Author

🎱

@@ -44,8 +44,13 @@
NSString * const OCTClientErrorMessagesKey = @"OCTClientErrorMessagesKey";

NSString * const OCTClientAPIVersion = @"v3";

/// See https://developer.github.com/changes/2014-12-08-removing-authorizations-token/
NSString * const OCTClientPreviewAPIVersion = @"mirage-preview";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rename this to clarify which preview API it's talking about?

@jspahrsummers
Copy link
Collaborator

9️⃣

@joshaber
Copy link
Contributor Author

0️⃣

jspahrsummers added a commit that referenced this pull request Feb 19, 2015
@jspahrsummers jspahrsummers merged commit 1a6667f into master Feb 19, 2015
@jspahrsummers jspahrsummers deleted the moondragon branch February 19, 2015 21:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants