List entity definitions.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://example.com/api/workspace/entity-definitions"),};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/entity-definitions';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/workspace/entity-definitionsAuthorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
Entity definition summary.
object
Entity definition identifier.
Internal entity name.
User-facing singular name.
User-facing plural name.
Optional entity description.
Whether comments are enabled.
Whether attachments are enabled.
Whether tags are enabled.
Whether full-text search is enabled for the definition.
Whether audit trail is enabled.
Configured number prefix.
Whether runtime writes are blocked for this entity.
Whether the definition is frozen pending deletion.
Timestamp when deferred deletion was requested.
Scheduled purge timestamp.
Configured unique constraints.
Unique constraint configured for one entity definition table.
object
Constraint identifier.
Entity definition identifier.
Owning table identifier.
Ordered participating fields.
Field entry participating in an entity unique constraint.
object
Field identifier.
Owning table identifier.
Field key.
User-facing field name.
Concurrency token.
Concurrency token.
Stable NET package root id when package-owned.
NET package artifact id when package-owned.
Stable Moltaro id when package-owned.
Owning module key when UsageType is Moltaro.Enums.EntityUsageTypeEnum.Part.
Owning aggregate type when UsageType is Moltaro.Enums.EntityUsageTypeEnum.Part.
Owning aggregate identifier when UsageType is Moltaro.Enums.EntityUsageTypeEnum.Part.
object
object
object
object
Example
{ "Data": [ { "AccessModel": 0, "DisabledOperations": 0, "SchemaSource": 0, "UsageType": 0 } ], "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}