# dev.knotless.getStep

> A shared step at its latest version, from the dev.knotless.release records of its package, `@step/<name>`: what it does, takes and asks for, each version published, and the public repositories whose default branch pins it in `.knotless/uses.lock`. No authentication; responses are not personalized.

- Kind: query
- Authority: knotless.dev
- Lexicon: 1
- Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.getStep)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.getStep/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.getStep/analytics)

## Query (`dev.knotless.getStep`)

Type: query · GET

### Parameters (query string)

- `name` (string, required): The step's name.
  - Constraints: maxLength: 64
- `repo` (string · at-uri, required): The step's repository, by its dev.knotless.repo record. Its authority may be a handle.

### Output (application/json)

- `schema` (ref)
  - Reference: `dev.knotless.defs#stepViewDetailed`

### Errors

- `NotFound`: No such repository, no step of that name in it, or no index on this appview.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A shared step at its latest version, from the dev.knotless.release records of its package, `@step/<name>`: what it does, takes and asks for, each version published, and the public repositories whose default branch pins it in `.knotless/uses.lock`. No authentication; responses are not personalized.",
      "errors": [
        {
          "description": "No such repository, no step of that name in it, or no index on this appview.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "dev.knotless.defs#stepViewDetailed",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "name": {
            "description": "The step's name.",
            "maxLength": 64,
            "type": "string"
          },
          "repo": {
            "description": "The step's repository, by its dev.knotless.repo record. Its authority may be a handle.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "repo",
          "name"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "One shared step a repository publishes.",
  "id": "dev.knotless.getStep",
  "lexicon": 1
}
```
