---
agentTools:
  projectIndex: https://timetime.readme.io/llms.txt
---

# /v1/public-profiles/{id}

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "timetime",
    "description": "timetime API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.timetime.in",
      "description": "The timetime API server."
    }
  ],
  "security": [
    {
      "HttpAuth": []
    }
  ],
  "paths": {
    "/v1/public-profiles/{id}": {
      "put": {
        "tags": [
          "public-profile"
        ],
        "operationId": "putPublicProfile",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicProfileWriteModel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Public profile has been created or updated successfully.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "There is some problem with the received public profile.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PublicProfileLink": {
        "required": [
          "link",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 256,
            "minLength": 0,
            "type": "string"
          },
          "description": {
            "maxLength": 4096,
            "minLength": 0,
            "type": "string"
          },
          "link": {
            "type": "string",
            "format": "uri"
          },
          "imageUrl": {
            "type": "string",
            "format": "uri"
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "PublicProfileWriteModel": {
        "required": [
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "slug": {
            "maxLength": 36,
            "minLength": 1,
            "pattern": "^[a-zà-ú0-9\\uD83C-\\uDBFF\\uDC00-\\uDFFF]+(?:-[a-zà-ú0-9\\uD83C-\\uDBFF\\uDC00-\\uDFFF]+)*$",
            "type": "string"
          },
          "description": {
            "maxLength": 4096,
            "minLength": 0,
            "type": "string"
          },
          "links": {
            "maxItems": 256,
            "minItems": 0,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicProfileLink"
            }
          },
          "imageUrl": {
            "type": "string",
            "format": "uri"
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "ProblemDetail": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer",
            "format": "int32"
          },
          "detail": {
            "type": "string"
          },
          "instance": {
            "type": "string",
            "format": "uri"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "HttpAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT or TimeTime API Key"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 98,
      "1": 84,
      "2": 118,
      "3": 255,
      "4": 193,
      "5": 66,
      "6": 183,
      "7": 0,
      "8": 114,
      "9": 174,
      "10": 33,
      "11": 138
    }
  }
}
```