2021-11-29 18:25:50 +01:00
|
|
|
namespace zero.Api.Configuration;
|
|
|
|
|
|
2021-12-01 13:23:44 +01:00
|
|
|
public static class ApiConstants
|
2021-11-29 18:25:50 +01:00
|
|
|
{
|
2021-12-01 13:23:44 +01:00
|
|
|
public const string ChangeVector = "zero.api.change_vector";
|
|
|
|
|
|
2021-11-29 18:25:50 +01:00
|
|
|
public static class HttpErrors
|
|
|
|
|
{
|
|
|
|
|
public const string NoIdMatchOnUpdate = "The Id as part of the URL does not match the Id of the model";
|
|
|
|
|
|
|
|
|
|
public const string IdNotFound = "Could not find persisted model for the given Id";
|
2021-12-01 13:23:44 +01:00
|
|
|
|
|
|
|
|
public const string ChangeTokenMismatch = "The change token is not valid anymore";
|
2021-12-03 14:45:49 +01:00
|
|
|
|
|
|
|
|
public const string ChildNotAllowed = "Not allowed as a child entity";
|
2021-11-29 18:25:50 +01:00
|
|
|
}
|
|
|
|
|
}
|