-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add MentoredUserIds to Membership Remove AddressId Make GetMemberhips call return User as well * Update permissions * update spacing * constant adjustments type names UserPermissions userid
- Loading branch information
1 parent
0fa7708
commit 6d11fc6
Showing
68 changed files
with
2,923 additions
and
3,095 deletions.
There are no files selected for viewing
31 changes: 15 additions & 16 deletions
31
NP.Lti13Platform.AssignmentGradeServices/Configs/ServiceEndpointsConfig.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
namespace NP.Lti13Platform.AssignmentGradeServices.Configs | ||
namespace NP.Lti13Platform.AssignmentGradeServices.Configs; | ||
|
||
public class ServiceEndpointsConfig | ||
{ | ||
public class ServiceEndpointsConfig | ||
{ | ||
/// <summary> | ||
/// Endpoint used to get a list of line items or create a new line item. | ||
/// <para>Must include route parameters for {deploymentId} and {contextId}.</para> | ||
/// </summary> | ||
/// <value>Default: /lti13/{deploymentId}/{contextId}/lineItems</value> | ||
public string LineItemsUrl { get; set; } = "/lti13/{deploymentId}/{contextId}/lineItems"; | ||
/// <summary> | ||
/// Endpoint used to get a list of line items or create a new line item. | ||
/// <para>Must include route parameters for {deploymentId} and {contextId}.</para> | ||
/// </summary> | ||
/// <value>Default: /lti13/{deploymentId}/{contextId}/lineItems</value> | ||
public string LineItemsUrl { get; set; } = "/lti13/{deploymentId}/{contextId}/lineItems"; | ||
|
||
/// <summary> | ||
/// Endpoint used to Get/Update/Delete a line item. Also used as the base url for getting results or posting scores. | ||
/// <para>Must include route parameters for {deploymentId}, {contextId} and {lineItemId}.</para> | ||
/// </summary> | ||
/// <value>Default:/lti13/{deploymentId}/{contextId}/lineItems/{lineItemId}</value> | ||
public string LineItemUrl { get; set; } = "/lti13/{deploymentId}/{contextId}/lineItems/{lineItemId}"; | ||
} | ||
/// <summary> | ||
/// Endpoint used to Get/Update/Delete a line item. Also used as the base url for getting results or posting scores. | ||
/// <para>Must include route parameters for {deploymentId}, {contextId} and {lineItemId}.</para> | ||
/// </summary> | ||
/// <value>Default:/lti13/{deploymentId}/{contextId}/lineItems/{lineItemId}</value> | ||
public string LineItemUrl { get; set; } = "/lti13/{deploymentId}/{contextId}/lineItems/{lineItemId}"; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
namespace NP.Lti13Platform.AssignmentGradeServices | ||
namespace NP.Lti13Platform.AssignmentGradeServices; | ||
|
||
internal static class RouteNames | ||
{ | ||
internal static class RouteNames | ||
{ | ||
internal const string GET_LINE_ITEMS = "GET_LINE_ITEMS"; | ||
internal const string GET_LINE_ITEM = "GET_LINE_ITEM"; | ||
internal const string GET_LINE_ITEM_RESULTS = "GET_LINE_ITEM_RESULTS"; | ||
} | ||
internal static readonly string GET_LINE_ITEMS = "GET_LINE_ITEMS"; | ||
internal static readonly string GET_LINE_ITEM = "GET_LINE_ITEM"; | ||
internal static readonly string GET_LINE_ITEM_RESULTS = "GET_LINE_ITEM_RESULTS"; | ||
} | ||
|
||
internal static class ContentTypes | ||
{ | ||
internal const string LineItemContainer = "application/vnd.ims.lis.v2.lineitemcontainer+json"; | ||
internal const string LineItem = "application/vnd.ims.lis.v2.lineitem+json"; | ||
internal const string ResultContainer = "application/vnd.ims.lis.v2.resultcontainer+json"; | ||
internal const string Score = "application/vnd.ims.lis.v1.score+json"; | ||
} | ||
internal static class ContentTypes | ||
{ | ||
internal static readonly string LineItemContainer = "application/vnd.ims.lis.v2.lineitemcontainer+json"; | ||
internal static readonly string LineItem = "application/vnd.ims.lis.v2.lineitem+json"; | ||
internal static readonly string ResultContainer = "application/vnd.ims.lis.v2.resultcontainer+json"; | ||
internal static readonly string Score = "application/vnd.ims.lis.v1.score+json"; | ||
} | ||
|
||
public static class ServiceScopes | ||
{ | ||
public const string LineItem = "https://purl.imsglobal.org/spec/lti-ags/scope/lineitem"; | ||
public const string LineItemReadOnly = "https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly"; | ||
public const string ResultReadOnly = "https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly"; | ||
public const string Score = "https://purl.imsglobal.org/spec/lti-ags/scope/score"; | ||
} | ||
public static class ServiceScopes | ||
{ | ||
public static readonly string LineItem = "https://purl.imsglobal.org/spec/lti-ags/scope/lineitem"; | ||
public static readonly string LineItemReadOnly = "https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly"; | ||
public static readonly string ResultReadOnly = "https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly"; | ||
public static readonly string Score = "https://purl.imsglobal.org/spec/lti-ags/scope/score"; | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.