Skip to content

Community packs the server can offer

GET
/api/v1/config/packs
curl --request GET \
--url https://example.com/api/v1/config/packs

Each pack with who wrote it and a mark on the one in use.

Successful Response

Media typeapplication/json
PackListResponse

Every pack the server can offer, with the active one marked.

object
items
required
Items
Array<object>
PackSummary

One community pack in the list.

object
author
required
Author
string
config_version
required
Config Version

Content hash of the pack file, as the runs name it

string
description
required
Description
string
id
required
Id
string
is_active
required
Is Active
boolean
title
required
Title
string
version
required
Version

The pack’s own version label, for people

string

Example generated

{
"items": [
{
"author": "example",
"config_version": "example",
"description": "example",
"id": "example",
"is_active": true,
"title": "example",
"version": "example"
}
]
}

Conflict

Problem

Application/problem+json body. Extension members (for example job_id) are allowed.

object
detail
Any of:
string
errors
Any of:
Array<object>
FieldError

One validation failure: where, what, and a stable machine code (never the input value).

object
loc
required
Loc
Array
msg
required
Msg
string
type
required
Type
string
instance
Any of:
string
request_id
required
Request Id
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
key
additional properties
any

Example

{
"type": "about:blank"
}

Map data © OpenStreetMap contributors, under the Open Database Licence. Code under the Apache-2.0 licence. Made by Yogesh.

Changeset Second Opinion is an independent open source tool for OpenStreetMap reviewers. It is not endorsed by, sponsored by or affiliated with the OpenStreetMap Foundation. OpenStreetMap is a trademark of the OpenStreetMap Foundation, used under itstrademark policy.