# dev.gitosphere.repository.adoptIssueBaseline

> Published by [gitosphere-lex.bsky.social](https://lexicon.garden/identity/did:plc:iz47txlteeb2ojtp5ygiqet6)

✓ This is the authoritative definition for this NSID.

## Description

Manages authorization, acceptance, and migration of Issue changes.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.adoptIssueBaseline)
- [Documentation](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.adoptIssueBaseline/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.adoptIssueBaseline/examples)

## Definitions

### `dev.gitosphere.repository.adoptIssueBaseline`

**Type**: `procedure`

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `dryRun` | `boolean` | No |  |
| `realmId` | `string` | Yes |  |
| `repositoryId` | `string` | Yes |  |
| `sourceDigest` | `string` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `adopted` | `boolean` | Yes |  |
| `sourceDigest` | `string` | Yes |  |

#### Errors

- **InvalidRequest**
- **ValidationFailed**
- **AuthenticationRequired**
- **AccessDenied**
- **RepositoryMismatch**
- **RecordNotFound**
- **Conflict**
- **IdempotencyConflict**
- **DependencyUnavailable**
- **InternalServerError**
- **InvitationRequired**: An invitation is required to use this service.
- **AccountSuspended**: Service access for this DID is suspended.
- **ServicePaused**: An administrator has paused new requests for this target.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "ValidationFailed"
        },
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AccessDenied"
        },
        {
          "name": "RepositoryMismatch"
        },
        {
          "name": "RecordNotFound"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "IdempotencyConflict"
        },
        {
          "name": "DependencyUnavailable"
        },
        {
          "name": "InternalServerError"
        },
        {
          "description": "An invitation is required to use this service.",
          "name": "InvitationRequired"
        },
        {
          "description": "Service access for this DID is suspended.",
          "name": "AccountSuspended"
        },
        {
          "description": "An administrator has paused new requests for this target.",
          "name": "ServicePaused"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "dryRun": {
              "type": "boolean"
            },
            "realmId": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            "repositoryId": {
              "maxLength": 36,
              "minLength": 36,
              "type": "string"
            },
            "sourceDigest": {
              "type": "string"
            }
          },
          "required": [
            "realmId",
            "repositoryId"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "adopted": {
              "type": "boolean"
            },
            "sourceDigest": {
              "type": "string"
            }
          },
          "required": [
            "sourceDigest",
            "adopted"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Manages authorization, acceptance, and migration of Issue changes.",
  "id": "dev.gitosphere.repository.adoptIssueBaseline",
  "lexicon": 1
}
```
