Created
July 18, 2019 08:30
-
-
Save ntakouris/0e52498c9f81e8cd976b404d06b778d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Tweetbook.Contracts.V1 | |
{ | |
public static class ApiRoutes | |
{ | |
public const string Root = "api"; | |
public const string Version = "v1"; | |
public const string Base = Root + "/" + Version; | |
public static class Posts | |
{ | |
public const string GetAll = Base + "/posts"; | |
public const string Update = Base + "/posts/{postId}"; | |
public const string Delete = Base + "/posts/{postId}"; | |
public const string Get = Base + "/posts/{postId}"; | |
public const string Create = Base + "/posts"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment