Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/image-url.jpg%20%22Optional%20title%22?q=api&page=44&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 11885 results for "api"(371ms)

myApi1 file match

@dotangad•Updated 1 year ago

myApi1 file match

@dgiulian•Updated 1 year ago

myApi1 file match

@thyme•Updated 1 year ago

myApi1 file match

@deverts•Updated 1 year ago

myApi1 file match

@dcalsky•Updated 1 year ago

fetchValTownAPI2 file matches

@pomdtr•Updated 1 year ago

myApi1 file match

@patrickwire•Updated 1 year ago

myApi1 file match

@domru•Updated 1 year ago

myApi1 file match

@marydotdev•Updated 1 year ago

testApi2 file matches

@andreterron•Updated 1 year ago
framer-gradients

framer-gradientsschema.ts11 matches

@triozer•Updated 49 mins ago
1import { z } from "https://esm.sh/@hono/zod-openapi@0.18.4";
2
3// Schema that defines presence of an ID in the path
6 .coerce
7 .number()
8 .openapi({ example: 1 }),
9});
10
12export const NewUserSchema = z
13 .object({
14 email: z.string().uuid().openapi({ example: "7ef97801-2cee-4b4b-b5a1-376dd0ce4a1d" }),
15 }).openapi("NewUser");
16
17// Schema that defines the response of a request to get a user
19 .object({
20 id: z.number().int(),
21 name: z.string().openapi({ example: "Mark Scout" }),
22 email: z.string().email().openapi({ example: "mark@lumen.co" }),
23 age: z.number().int().openapi({ example: 35 }),
24 }).openapi("User");
25
26export const UpdateUserSchema = z
27 .object({
28 name: z.string().optional().openapi({
29 example: "Marcus Scoutius",
30 }),
31 age: z.number().int().optional().openapi({
32 example: 53,
33 }),
34 })
35 .openapi("UpdateUser");
36
37// Error schema
framer-gradients

framer-gradientsupdate-user.ts1 match

@triozer•Updated 57 mins ago
1import { createRoute } from "https://esm.sh/@hono/zod-openapi@0.18.4";
2import { ErrorSchema, UpdateUserSchema, UserIdPathParamSchema, UserSchema } from "../schema.ts";
3
apiv1
papimark21