-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support for subdirectories #19
Comments
The partial uri var ghost = new GhostSharp.GhostContentAPI("https://mydomain.com/blog/cms/ghost/api/v2/content/", "a6d33f1b95ff17adf0f787a70a"); Or do you mean that instead of having to do a GET on "https://mydomain.com/ghost/api/v2/content/posts/some-random-post-id" (for example) you would actually do something like "https://mydomain.com/blog/cms/posts/some-random-post-id"? |
Sorry for the late response! But yes, we indeed have something in the lines of "https://mydomain.com/blog/cms/posts/some-random-post-id" |
No worries.. life gets crazy sometimes! Do you know which part of your URL the
In that case, you could probably just call the API like this:
If that's not the case, like if your API is available at |
My Ghost instance is located at https://mydomain.com/blog/cms. When I try to initialize using this URI, the wrapper won't function.
I'm guessing this is because the RestClient uses https://mydomain.com/ghost/api/v2/content/ as it's Url.
The text was updated successfully, but these errors were encountered: