ThaiProps Public Listing Media API

The Public Listing Media API from ThaiProps — 10 operation(s) for public listing media.

GitHub OpenAPI

Operations 10

POST /public/listing-media/upload Public Listing Media Upload #
GET /public/listing-media/owner/media/list Owner List Media #
POST /public/listing-media/owner/media/sort Owner Sort Media #
GET /public/listing-media/owner/media/{row_id}/editor-info Owner Media Editor Info #
PATCH /public/listing-media/owner/media/{row_id}/transform Owner Transform Media #
PATCH /public/listing-media/owner/media/{row_id}/metadata Owner Edit Media Metadata #
POST /public/listing-media/owner/media/{row_id}/seo-auto Owner Use Auto Image Seo #
PATCH /public/listing-media/owner/media/{row_id}/edit Owner Replace Media #
POST /public/listing-media/owner/media/{row_id}/restore-original Owner Restore Media Original #
DELETE /public/listing-media/owner/media/{row_id} Owner Delete Media #

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/thaiprops-com:thaiprops-com-public-listing-media-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

thaiprops-com-public-listing-media-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThaiProps Admin Public Listing Media API
  version: 0.1.0
tags:
- name: Public Listing Media
paths:
  /public/listing-media/upload:
    post:
      tags:
      - Public Listing Media
      summary: Public Listing Media Upload
      operationId: public_listing_media_upload_public_listing_media_upload_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_public_listing_media_upload_public_listing_media_upload_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/listing-media/owner/media/list:
    get:
      tags:
      - Public Listing Media
      summary: Owner List Media
      operationId: owner_list_media_public_listing_media_owner_media_list_get
      parameters:
      - name: property_id
        in: query
        required: true
        schema:
          type: integer
          minimum: 1
          title: Property Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/listing-media/owner/media/sort:
    post:
      tags:
      - Public Listing Media
      summary: Owner Sort Media
      operationId: owner_sort_media_public_listing_media_owner_media_sort_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MediaSortIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/listing-media/owner/media/{row_id}/editor-info:
    get:
      tags:
      - Public Listing Media
      summary: Owner Media Editor Info
      operationId: owner_media_editor_info_public_listing_media_owner_media__row_id__editor_info_get
      parameters:
      - name: row_id
        in: path
        required: true
        schema:
          type: integer
          title: Row Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/listing-media/owner/media/{row_id}/transform:
    patch:
      tags:
      - Public Listing Media
      summary: Owner Transform Media
      operationId: owner_transform_media_public_listing_media_owner_media__row_id__transform_patch
      parameters:
      - name: row_id
        in: path
        required: true
        schema:
          type: integer
          title: Row Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MediaTransformIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/listing-media/owner/media/{row_id}/metadata:
    patch:
      tags:
      - Public Listing Media
      summary: Owner Edit Media Metadata
      operationId: owner_edit_media_metadata_public_listing_media_owner_media__row_id__metadata_patch
      parameters:
      - name: row_id
        in: path
        required: true
        schema:
          type: integer
          title: Row Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MediaMetadataIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/listing-media/owner/media/{row_id}/seo-auto:
    post:
      tags:
      - Public Listing Media
      summary: Owner Use Auto Image Seo
      operationId: owner_use_auto_image_seo_public_listing_media_owner_media__row_id__seo_auto_post
      parameters:
      - name: row_id
        in: path
        required: true
        schema:
          type: integer
          title: Row Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/listing-media/owner/media/{row_id}/edit:
    patch:
      tags:
      - Public Listing Media
      summary: Owner Replace Media
      operationId: owner_replace_media_public_listing_media_owner_media__row_id__edit_patch
      parameters:
      - name: row_id
        in: path
        required: true
        schema:
          type: integer
          title: Row Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_owner_replace_media_public_listing_media_owner_media__row_id__edit_patch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/listing-media/owner/media/{row_id}/restore-original:
    post:
      tags:
      - Public Listing Media
      summary: Owner Restore Media Original
      operationId: owner_restore_media_original_public_listing_media_owner_media__row_id__restore_original_post
      parameters:
      - name: row_id
        in: path
        required: true
        schema:
          type: integer
          title: Row Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /public/listing-media/owner/media/{row_id}:
    delete:
      tags:
      - Public Listing Media
      summary: Owner Delete Media
      operationId: owner_delete_media_public_listing_media_owner_media__row_id__delete
      parameters:
      - name: row_id
        in: path
        required: true
        schema:
          type: integer
          title: Row Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MediaMetadataIn:
      properties:
        alt_text:
          anyOf:
          - type: string
          - type: 'null'
          title: Alt Text
        caption:
          anyOf:
          - type: string
          - type: 'null'
          title: Caption
      type: object
      title: MediaMetadataIn
    Body_owner_replace_media_public_listing_media_owner_media__row_id__edit_patch:
      properties:
        file:
          type: string
          format: binary
          title: File
        alt_text:
          anyOf:
          - type: string
          - type: 'null'
          title: Alt Text
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        caption:
          anyOf:
          - type: string
          - type: 'null'
          title: Caption
      type: object
      required:
      - file
      title: Body_owner_replace_media_public_listing_media_owner_media__row_id__edit_patch
    Body_public_listing_media_upload_public_listing_media_upload_post:
      properties:
        property_id:
          type: integer
          title: Property Id
        media_token:
          anyOf:
          - type: string
          - type: 'null'
          title: Media Token
        files:
          items:
            type: string
            format: binary
          type: array
          title: Files
      type: object
      required:
      - property_id
      - files
      title: Body_public_listing_media_upload_public_listing_media_upload_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MediaSortIn:
      properties:
        property_id:
          type: integer
          title: Property Id
        post_type:
          type: string
          title: Post Type
          default: property
        items:
          items:
            $ref: '#/components/schemas/MediaSortItem'
          type: array
          title: Items
      type: object
      required:
      - property_id
      - items
      title: MediaSortIn
    MediaTransformIn:
      properties:
        crop_x:
          type: number
          title: Crop X
          default: 0.0
        crop_y:
          type: number
          title: Crop Y
          default: 0.0
        crop_width:
          type: number
          title: Crop Width
          default: 1.0
        crop_height:
          type: number
          title: Crop Height
          default: 1.0
        brightness:
          type: number
          title: Brightness
          default: 1.0
        contrast:
          type: number
          title: Contrast
          default: 1.0
        saturation:
          type: number
          title: Saturation
          default: 1.0
        rotation_degrees:
          type: integer
          title: Rotation Degrees
          default: 0
        paint_strokes:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Paint Strokes
          default: []
        shape_overlays:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Shape Overlays
          default: []
        blur_strokes:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Blur Strokes
          default: []
      type: object
      title: MediaTransformIn
    MediaSortItem:
      properties:
        row_id:
          type: integer
          title: Row Id
        sort_order:
          type: integer
          title: Sort Order
      type: object
      required:
      - row_id
      - sort_order
      title: MediaSortItem
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError