Categorygithub.com/minskylab/hasura-api
modulepackage
0.3.17
Repository: https://github.com/minskylab/hasura-api.git
Documentation: pkg.go.dev

# README

Hasura Go API

An unofficial API based on Hasura API Reference.

Use Example

client, err := hasura_api.NewHasuraClient()
if err != nil {
    //...
}

res, err = client.Metadata.PgTrackTable(&metadata.PgTrackTableArgs{
    Table:  metadata.TableName("users"),
    Source: "public",
})
if err != nil {
     //...
}


API Implementation Status

Priority: Low | Medium | High

APIEndpointAccessPriorityStatus
GraphQL/v1/graphqlPermission rulesMedium0%
Relay/v1beta1/relayPermission rulesLow0%
Schema (> v2.0)/v2/queryAdmin onlyHigh0%
Metadata (> v2.0)/v1/metadataAdmin onlyHigh10%
Restified GQL/api/restGQL REST RoutesLow0%
Version/v1/versionPublicLow0%
Health/healthzPublicLow0%
PG Dump/v1alpha1/pg_dumpAdmin onlyLow0%
Config/v1alpha1/configAdmin onlyMedium0%
Explain/v1/graphql/explainAdmin onlyLow0%

Metadata API Status

QueryStatusComments
Bulk100%
PgAddSource
PgDropSource
PgTrackTable100%
PgUntrackTable100%
PgSetTableCustomization100%
PgSetTableIsEnum
PgTrackFunction
PgUntrackFunction
PgSetFunctionCustomization
PgCreateFunctionPermission
PgDropFunctionPermission
PgCreateObjectRelationship
PgCreateArrayRelationship
PgDropRelationship
PgRenameRelationship
PgSetRelationshipComment
PgAddComputedField
PgDropComputedField
PgCreateInsertPermission100%
PgDropInsertPermission100%
PgCreateSelectPermission100%
PgDropSelectPermission100%
PgCreateUpdatePermission100%
PgDropUpdatePermission100%
PgCreateDeletePermission100%
PgDropDeletePermission100%
PgSetPermissionComment
PgCreateEventTrigger
PgDeleteEventTrigger
PgRedeliverEvent
PgInvokeEventTrigger
BigqueryTrackTable
BigqueryUntrackTable
BigquerySetTableCustomization
MssqlAddSource
MssqlDropSource
MssqlTrackTable
MssqlUntrackTable
MssqlCreateObjectRelationship
MssqlCreateArrayRelationship
MssqlDropRelationship
MssqlRenameRelationship
MssqlSetRelationshipComment
MssqlSetTableCustomization
MssqlCreateInsertPermission
MssqlDropInsertPermission
MssqlCreateSelectPermission
MssqlDropSelectPermission
MssqlCreateUpdatePermission
MssqlDropUpdatePermission
MssqlCreateDeletePermission
MssqlDropDeletePermission
MssqlSetPermissionComment
CreateCronTrigger
DeleteCronTrigger
GetCronTriggers
CreateScheduledEvent
DeleteScheduledEvent
AddRemoteSchema
UpdateRemoteSchema
RemoveRemoteSchema
ReloadRemoteSchema
AddRemoteSchemaPermissions
DropRemoteSchemaPermissions
PgCreateRemoteRelationship
PgUpdateRemoteRelationship
PgDeleteRemoteRelationship
ExportMetadata
ReplaceMetadata
ReloadMetadata
ClearMetadata
GetInconsistentMetadata
DropInconsistentMetadata
CreateQueryCollection
DropQueryCollection
AddQueryToCollection
DropQueryFromCollection
AddCollectionToAllowlist
DropCollectionFromAllowlist
SetCustomTypes
CreateAction
DropAction
UpdateAction
CreateActionPermission
DropActionPermission
CreateRestEndpoint
DropRestEndpoint
AddInheritedRole
DropInheritedRole
SetGraphqlIntrospectionOptions
AddHostToTlsAllowlist
DropHostFromTlsAllowlist

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author