DataGalaxy Object Rules API

Operations for managing object access rules

GitHub OpenAPI

Operations 6

POST /v3/workspaces/{workspaceId}/access-control/determine-object-access Determine user object access rules #
PUT /v3/workspaces/{workspaceId}/access-control/object-rules/{ruleId} Replace an object access rule #
GET /v3/workspaces/{workspaceId}/access-control/object-rules/{ruleId} Get an object access rule #
DELETE /v3/workspaces/{workspaceId}/access-control/object-rules/{ruleId} Delete an object rule #
GET /v3/workspaces/{workspaceId}/access-control/object-rules List filtered object rules #
POST /v3/workspaces/{workspaceId}/access-control/object-rules Create an object access rule #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/datagalaxy:datagalaxy-object-rules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

datagalaxy-object-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Datagalaxy Object Rules API
  version: 2.40.0
  license:
    name: DataGalaxy©
  x-logo:
    url: /v2/public/datagalaxy-developers-vertical.svg
    backgroundColor: '#fafafa'
    altText: DataGalaxy logo
  x-nullable: true
  description: 'Operations tagged Object Rules across 2 of this provider''s published API definitions: datagalaxy-developer-api.json, datagalaxy-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://api.datagalaxy.com
  description: Production. The published spec carries a relative server "/" with /v2-prefixed paths; it is served from https://api.datagalaxy.com/v2/documentation
tags:
- name: Object Rules
  description: Operations for managing object access rules
paths:
  /v3/workspaces/{workspaceId}/access-control/determine-object-access:
    post:
      tags:
      - Object Rules
      summary: Determine user object access rules
      description: Checks if the current user has permission to access specific objects.
      operationId: DetermineUserObjectAccessRules
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/DetermineUserObjectAccessRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                title: AccessControlReadUserObjectAccessRuleResult[]
                type: array
                items:
                  $ref: '#/components/schemas/ReadUserObjectAccessRuleResult'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '413':
          description: Payload Too Large
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '415':
          description: Unsupported Media Type
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '500':
          description: Server Error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '502':
          description: Bad Gateway
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '504':
          description: Gateway Timeout
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
      security:
      - Personal Access Token: []
      - Integration token: []
    servers:
    - url: /
  /v3/workspaces/{workspaceId}/access-control/object-rules/{ruleId}:
    put:
      tags:
      - Object Rules
      summary: Replace an object access rule
      operationId: ReplaceObjectRule
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: ruleId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ObjectRule'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectRule'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '413':
          description: Payload Too Large
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '415':
          description: Unsupported Media Type
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '500':
          description: Server Error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
      security:
      - Personal Access Token: []
      - Integration token: []
    get:
      tags:
      - Object Rules
      summary: Get an object access rule
      operationId: GetObjectRule
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: ruleId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectRule'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '500':
          description: Server Error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
      security:
      - Personal Access Token: []
      - Integration token: []
    delete:
      tags:
      - Object Rules
      summary: Delete an object rule
      operationId: DeleteObjectRule
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: ruleId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '500':
          description: Server Error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
      security:
      - Personal Access Token: []
      - Integration token: []
    servers:
    - url: /
  /v3/workspaces/{workspaceId}/access-control/object-rules:
    get:
      tags:
      - Object Rules
      summary: List filtered object rules
      description: Returns filtered object access rules defined on a workspace.
      operationId: ListObjectRules
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: userId
        in: query
        schema:
          type: string
          format: uuid
      - name: teamId
        in: query
        schema:
          type: string
          format: uuid
      - name: attributePath
        in: query
        schema:
          type: string
      - name: attributeValue
        in: query
        schema:
          type: string
      - name: accessLevel
        in: query
        description: Object access level.
        schema:
          enum:
          - undefined
          - view
          - edit
          - noAccess
          type: string
          description: Object access level.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ObjectRule'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '500':
          description: Server Error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
      security:
      - Personal Access Token: []
      - Integration token: []
    post:
      tags:
      - Object Rules
      summary: Create an object access rule
      description: Creates a new object access rule for a defined workspace.
      operationId: CreateObjectRule
      parameters:
      - name: workspaceId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ObjectRule'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectRule'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '413':
          description: Payload Too Large
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '415':
          description: Unsupported Media Type
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
        '500':
          description: Server Error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ApiProblemDetails'
      security:
      - Personal Access Token: []
      - Integration token: []
    servers:
    - url: /
components:
  schemas:
    ApiProblemDetails:
      required:
      - detail
      - errors
      - status
      - title
      - traceId
      - type
      type: object
      properties:
        type:
          type: string
          description: 'Gets the URI that identifies the kind of problem. It is the one stable identifier of the problem: it ends with

            the code of the error (`ValidationError` for a failed validation, whose causes are all in `errors`;

            the code of the first element of `errors` otherwise).'
        title:
          type: string
          description: 'Gets a short summary of the status, in English. It is not a key: read `type` or `errors`.'
        status:
          type: integer
          description: Gets the HTTP status of the response.
          format: int32
        detail:
          type: string
          description: Gets a sentence that gives the idea of this occurrence of the problem. It never carries a received value.
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ApiProblemError'
          description: Gets the causes of the problem, at least one. The first one gives the `type`.
        traceId:
          type: string
          description: Gets the identifier of the trace of the request, which support follows.
        instance:
          type:
          - string
          - 'null'
          description: Gets the URI that identifies this occurrence of the problem (RFC 9457). The API does not send it.
      additionalProperties: false
      description: 'The problem details (RFC 9457) that the API answers to every error. It only documents the body: the responses

        are written by the host.'
    AccessItemResult:
      title: AccessControlAccessItemResult
      required:
      - accessLevel
      - objectId
      type: object
      properties:
        objectId:
          type: string
          format: uuid
        accessLevel:
          $ref: '#/components/schemas/ObjectAccessLevel'
      additionalProperties: false
    ObjectRule:
      title: AccessControlObjectRule
      required:
      - accessLevel
      - createdByUserId
      - createdOn
      - description
      - displayName
      - filters
      - id
      - isActive
      - ruleScope
      - teamIds
      - userIds
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the object access rule.
          format: uuid
          readOnly: true
        displayName:
          type: string
        description:
          type: string
        accessLevel:
          $ref: '#/components/schemas/ObjectAccessLevel'
        ruleScope:
          $ref: '#/components/schemas/UserRuleScope'
        isActive:
          type: boolean
        userIds:
          type: array
          items:
            type: string
            format: uuid
        teamIds:
          type: array
          items:
            type: string
            format: uuid
        filters:
          type: array
          items:
            $ref: '#/components/schemas/FilterResult'
        createdByUserId:
          type: string
          format: uuid
          readOnly: true
        createdOn:
          type: string
          format: date-time
          readOnly: true
        updatedByUserId:
          type:
          - string
          - 'null'
          format: uuid
          readOnly: true
        updatedOn:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
      additionalProperties: false
    DetermineUserObjectAccessRequest:
      title: AccessControlDetermineUserObjectAccessRequest
      required:
      - objectIds
      - versionId
      type: object
      properties:
        versionId:
          type: string
          format: uuid
        objectIds:
          type: array
          items:
            type: string
            format: uuid
      additionalProperties: false
    ReadUserObjectAccessRuleResult:
      title: AccessControlReadUserObjectAccessRuleResult
      required:
      - access
      - versionId
      - workspaceId
      type: object
      properties:
        workspaceId:
          type: string
          format: uuid
        versionId:
          type: string
          format: uuid
        access:
          type: array
          items:
            $ref: '#/components/schemas/AccessItemResult'
      additionalProperties: false
    ObjectAccessLevel:
      enum:
      - undefined
      - view
      - edit
      - noAccess
      type: string
      description: Object access levels that can be assigned to a user for a specific object.
    ApiProblemError:
      required:
      - code
      - detail
      type: object
      properties:
        code:
          type: string
          description: The stable code of the cause.
        detail:
          type: string
          description: A sentence for the client, which never carries a received value.
        pointer:
          type:
          - string
          - 'null'
          description: The JSON pointer (RFC 6901) of the value in the body.
        parameter:
          type:
          - string
          - 'null'
          description: The name of the query or route parameter.
        header:
          type:
          - string
          - 'null'
          description: The name of the request header.
      additionalProperties: false
      description: 'One cause of an error response, an element of the `errors` member of its problem details (RFC 9457). At

        most one of `pointer`, `parameter` and `header` says where the cause is in the request.'
    FilterResult:
      title: AccessControlFilterResult
      required:
      - attributePath
      - values
      type: object
      properties:
        attributePath:
          type: string
        values:
          type: array
          items:
            type: string
      additionalProperties: false
    UserRuleScope:
      title: AccessControlUserRuleScope
      enum:
      - undefined
      - specificUsers
      - allUsers
      type: string
  securitySchemes:
    Integration_token:
      description: Authenticate with an Integration Access Token (IAT)
      type: http
      scheme: Bearer
      bearerFormat: JWT
    Personal_Access_Token:
      description: Authenticate with a Personal Access Token (PAT)
      type: http
      scheme: Bearer
      bearerFormat: JWT
x-refined-from:
- datagalaxy-developer-api.json
- datagalaxy-openapi.yml
x-tagGroups:
- name: API References
  tags:
  - Authentication
  - Workspaces
  - Links
  - Technologies
  - Search
  - FilteredViews
  - History
  - Image
  - Objects
  - Campaigns
  - Workflows
  - Data Quality
  - URN
- name: Attributes
  tags:
  - Attributes
  - Screens
- name: Glossary
  tags:
  - Glossary
- name: Dictionary
  tags:
  - Sources
  - Containers
  - Structures
  - Fields
- name: Processing
  tags:
  - DataProcessing
  - DataProcessingItem
- name: Usage
  tags:
  - Usage
- name: Social
  tags:
  - Tasks
  - Comments
- name: User Management
  tags:
  - Users
  - Teams
  - Licenses
  - SCIM
- name: Access Control
  tags:
  - Feature Rules
  - Object Rules
  - Rule Attributes
  - User Access
  - Workspace Access
x-generator: NSwag v14.2.0.0 (NJsonSchema v11.1.0.0 (Newtonsoft.Json v13.0.0.0))