ProSide Golf Sa Geometry API

The sa-geometry API from ProSide Golf — 7 operation(s) for sa-geometry.

GitHub OpenAPI

Operations 7

GET /api/v1/platform-admin/geometry/courses List Geometry Courses #
GET /api/v1/platform-admin/geometry/courses/{course_id} Get Geometry Course Detail #
POST /api/v1/platform-admin/geometry/courses/{course_id}/fetch-osm Platform Admin Fetch Osm Geometry #
GET /api/v1/platform-admin/geometry/ghin-search Ghin Search Courses #
POST /api/v1/platform-admin/geometry/search-osm Search Osm Proximity #
POST /api/v1/platform-admin/geometry/import-strategy Import Strategy Result #
PATCH /api/v1/platform-admin/geometry/courses/{course_id}/reports/{report_id} Platform Admin Update Report Status #

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/proside-io:proside-io-sa-geometry-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

proside-io-sa-geometry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProSide Golf Sa Geometry API
  version: 3.0.0
tags:
- name: sa-geometry
paths:
  /api/v1/platform-admin/geometry/courses:
    get:
      tags:
      - sa-geometry
      summary: List Geometry Courses
      description: 'Paginated list of courses with geometry status and coverage stats.


        Filters:

        q — partial name / facility name / city search

        status — geometry_status exact match (osm_mapped, missing, pending, none)'
      operationId: list_geometry_courses_api_v1_sa_geometry_courses_get
      security:
      - HTTPBearer: []
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Q
      - name: status
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Status
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Page
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          default: 30
          title: Per Page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Geometry Courses Api V1 Sa Geometry Courses Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/platform-admin/geometry/courses/{course_id}:
    get:
      tags:
      - sa-geometry
      summary: Get Geometry Course Detail
      description: 'Per-hole coverage breakdown and source stats for a single course.


        Returns:

        - Course metadata + geometry status

        - hole_coverage: per-hole list of which feature types are present

        - source_breakdown: feature counts by source (osm / manual / ai_extracted)

        - unverified_count: features awaiting admin review'
      operationId: get_geometry_course_detail_api_v1_sa_geometry_courses__course_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: course_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Course Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Geometry Course Detail Api V1 Sa Geometry Courses  Course Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/platform-admin/geometry/courses/{course_id}/fetch-osm:
    post:
      tags:
      - sa-geometry
      summary: Platform Admin Fetch Osm Geometry
      description: 'Trigger an OSM re-fetch for a course from the geometry dashboard.


        Delegates to the shared CourseGeometryService which runs the 3-step

        Overpass strategy. Returns status + feature count.'
      operationId: platform_admin_fetch_osm_geometry_api_v1_sa_geometry_courses__course_id__fetch_osm_post
      security:
      - HTTPBearer: []
      parameters:
      - name: course_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Course Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Platform Admin Fetch Osm Geometry Api V1 Sa Geometry Courses  Course Id  Fetch Osm Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/platform-admin/geometry/ghin-search:
    get:
      tags:
      - sa-geometry
      summary: Ghin Search Courses
      description: 'Search GHIN directly for courses matching a name query.


        Returns up to 30 results from GHIN''s SearchCourses endpoint.

        Useful for finding a course''s GHIN ID and coordinates before an OSM fetch,

        especially for courses not yet in the local database.


        Results include the GHIN course ID, name, facility name, city, state, and

        GPS coordinates (when GHIN has them).'
      operationId: ghin_search_courses_api_v1_sa_geometry_ghin_search_get
      security:
      - HTTPBearer: []
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Q
      - name: state
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: State
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Ghin Search Courses Api V1 Sa Geometry Ghin Search Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/platform-admin/geometry/search-osm:
    post:
      tags:
      - sa-geometry
      summary: Search Osm Proximity
      description: 'Run all OSM proximity strategies for a course and return all results.


        Runs four independent strategies in parallel:

        S1 — Proximity boundary (leisure=golf_course near coordinate, name match)

        S2 — Sport=golf boundary near coordinate

        S3 — Direct feature proximity (no boundary required)

        S4 — Name regex (one run per distinct name candidate)


        No minimum hole count is enforced. Every strategy result is returned so

        admins can compare coverage and select the best data source.


        The geojson field is only populated for successful strategies (feature_count > 0).

        Set include_geojson=false to get summary stats without the full feature data.'
      operationId: search_osm_proximity_api_v1_sa_geometry_search_osm_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OsmSearchRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Search Osm Proximity Api V1 Sa Geometry Search Osm Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/platform-admin/geometry/import-strategy:
    post:
      tags:
      - sa-geometry
      summary: Import Strategy Result
      description: 'Import a proximity strategy''s GeoJSON into the database for a course.


        Looks up the course by GHIN course ID. Persists the GeoJSON features,

        updates the OSM metadata fields, and sets geometry_status to osm_mapped.


        Returns 404 if the course is not in the local database.

        The GHIN course must already exist in the courses table (import via the

        existing course search/import flow first if needed).'
      operationId: import_strategy_result_api_v1_sa_geometry_import_strategy_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportStrategyRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Import Strategy Result Api V1 Sa Geometry Import Strategy Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/platform-admin/geometry/courses/{course_id}/reports/{report_id}:
    patch:
      tags:
      - sa-geometry
      summary: Platform Admin Update Report Status
      description: 'Update the status of a geometry issue report.


        status must be one of: open, reviewed, resolved.'
      operationId: platform_admin_update_report_status_api_v1_sa_geometry_courses__course_id__reports__report_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: course_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Course Id
      - name: report_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Report Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_ReportStatusUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Platform Admin Update Report Status Api V1 Sa Geometry Courses  Course Id  Reports  Report Id  Patch
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OsmSearchRequest:
      properties:
        course_name:
          type: string
          title: Course Name
        facility_name:
          type: string
          title: Facility Name
          default: ''
        lat:
          type: number
          title: Lat
          default: 0.0
        lng:
          type: number
          title: Lng
          default: 0.0
        radius_meters:
          type: integer
          title: Radius Meters
          default: 800
        ghin_course_id:
          type: string
          title: Ghin Course Id
          default: ''
        ghin_facility_id:
          type: string
          title: Ghin Facility Id
          default: ''
        force_refresh:
          type: boolean
          title: Force Refresh
          default: false
      type: object
      required:
      - course_name
      title: OsmSearchRequest
    _ReportStatusUpdate:
      properties:
        status:
          type: string
          title: Status
      type: object
      required:
      - status
      title: _ReportStatusUpdate
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ImportStrategyRequest:
      properties:
        ghin_course_id:
          type: string
          title: Ghin Course Id
        geojson:
          additionalProperties: true
          type: object
          title: Geojson
        osm_element_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Osm Element Id
        osm_element_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Osm Element Type
      type: object
      required:
      - ghin_course_id
      - geojson
      title: ImportStrategyRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer